Bug #14823
closedcmake: targets fail to link against librbd.so with missing librbd::image_watcher symbols
0%
Description
The targets smalliobenchrbd, test_librbd_fsx and test_cls_rbd fail to link in cmake with the following errors:
../librbd.so.1.0.0: error: undefined reference to 'librbd::image_watcher::NotifyLockOwner::NotifyLockOwner(librbd::ImageCtx&, librbd::image_watcher::Notifier&, ce
ph::buffer::list&&, Context*)'
../librbd.so.1.0.0: error: undefined reference to 'librbd::image_watcher::Notifier::Notifier(librbd::ImageCtx&)'
../librbd.so.1.0.0: error: undefined reference to 'librbd::image_watcher::Notifier::~Notifier()'
../librbd.so.1.0.0: error: undefined reference to 'librbd::image_watcher::Notifier::flush(Context*)'
../librbd.so.1.0.0: error: undefined reference to 'librbd::image_watcher::Notifier::notify(ceph::buffer::list&, ceph::buffer::list*, Context*)'
../librbd.so.1.0.0: error: undefined reference to 'librbd::image_watcher::NotifyLockOwner::send()'