Bug #17950
unittest_librbd does not build
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
librbd
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
CMakeFiles/unittest_librbd.dir/test_mock_Journal.cc.o: In function `promote': /slow/kchai/ceph/src/librbd/Journal.cc:546: undefined reference to `librbd::journal::PromoteRequest<librbd::(anonymous namespace)::MockJournalImageCtx>::send()' /usr/bin/ld: CMakeFiles/unittest_librbd.dir/test_mock_Journal.cc.o: relocation R_X86_64_PC32 against undefined symbol `_ZN6librbd7journal14PromoteRequestINS_12_GLOBAL__N_119MockJournalImageCtxEE4sendEv' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status make[3]: *** [bin/unittest_librbd] Error 1 make[2]: *** [src/test/librbd/CMakeFiles/unittest_librbd.dir/all] Error 2
History
#1 Updated by Jason Dillaman about 7 years ago
- Status changed from New to Resolved
I am assuming this has been properly resolved.