Project

General

Profile

Bug #14823

cmake: targets fail to link against librbd.so with missing librbd::image_watcher symbols

Added by Casey Bodley about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librbd
Target version:
-
Start date:
02/19/2016
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
cmake
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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()'

Associated revisions

Revision b61f4676 (diff)
Added by Casey Bodley about 3 years ago

cmake: add missing librbd image_watcher sources

Fixes: #14823

Signed-off-by: Casey Bodley <>

History

#1 Updated by Casey Bodley almost 3 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF