Project

General

Profile

Actions

Bug #14823

closed

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

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librbd
Target version:
-
% Done:

0%

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

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

Actions #1

Updated by Casey Bodley almost 8 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF