Bug #14058
closedCan't build Ceph with --without-rbd and --with-debug
0%
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....
Updated by Piotr Dalek over 8 years ago
- Category set to common
- Status changed from New to Fix Under Review
- Assignee deleted (
Piotr Dalek)
Patch which fixes this: https://github.com/ceph/ceph/pull/6899
Updated by Loïc Dachary over 8 years ago
- Project changed from Ceph to rbd
- Category deleted (
common) - Status changed from Fix Under Review to Resolved
- Assignee set to Piotr Dalek
Updated by Kefu Chai about 8 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..