git clone --recursive https://github.com/ceph/ceph.git
cd ceph
./autogen.sh
./configure --with-debug --with-librocksdb-static
make -j10
Then later
ln: failed to create hard link `.libs/librbd_replay.lax/lt110-libcommon_crc_la-crc32c_intel_fast_asm.o' => `.libs/librbd_replay.lax/libcommon.a/libcommon_crc_la-crc32c_intel_fast_asm.o': Function not implemented
ln: failed to create hard link `.libs/librbd_replay.lax/lt111-libcommon_crc_la-crc32c_intel_fast_zero_asm.o' => `.libs/librbd_replay.lax/libcommon.a/libcommon_crc_la-crc32c_intel_fast_zero_asm.o': Function not implemented
ln: failed to create hard link `.libs/librbd_replay.lax/lt112-libcommon_crc_la-sctp_crc32.o' => `.libs/librbd_replay.lax/libcommon.a/libcommon_crc_la-sctp_crc32.o': Function not implemented
ln: failed to create hard link `.libs/librbd_replay.lax/lt113-linux_version.o' => `.libs/librbd_replay.lax/libcommon.a/linux_version.o': Function not implemented
Then later