Project

General

Profile

Bug #14058

Can't build Ceph with --without-rbd and --with-debug

Added by Piotr Dalek over 5 years ago. Updated over 5 years ago.

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

0%

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

Description

When using

CXXFLAGS="-g -ggdb" ./configure \
--without-fuse --prefix=/usr --localstatedir=/var --sysconfdir=/etc \
--with-nss --without-cryptopp --with-rest-bench --without-lttng \
--disable-gitversion --without-man-page --disable-cephfs-java \
--without-libzs --without-babeltrace --without-rbd --with-debug

build fails:


test/test_get_blkdev_size.o: In function `main':
/home/dalekp/ceph-bp-smallpglog/ceph/src/test/test_get_blkdev_size.cc:27: undefined reference to `get_block_device_size(int, long*)'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_test_get_blkdev_size] Error 1
make[3]: *** Waiting for unfinished jobs....

Associated revisions

Revision 15c840c1 (diff)
Added by Piotr Dałek over 5 years ago

rbd: fix build with "--without-rbd"

It's not possible to build Ceph configured with "--without-rbd", as
tests and FileStore depends on components provided by RBD. This changeset
fixes this.

Fixes: #14058
Signed-off-by: Piotr Dałek <>

History

#1 Updated by Piotr Dalek over 5 years ago

  • Assignee set to Piotr Dalek

#2 Updated by Piotr Dalek over 5 years ago

  • Category set to common
  • Status changed from New to Fix Under Review
  • Assignee deleted (Piotr Dalek)

#3 Updated by Loïc Dachary over 5 years ago

  • Project changed from Ceph to rbd
  • Category deleted (common)
  • Status changed from Fix Under Review to Resolved
  • Assignee set to Piotr Dalek

#4 Updated by Kefu Chai over 5 years ago

please note this also applies to hammer. but guess "rgw" is enabled most of the time, so we don't backport the fix..

Also available in: Atom PDF