make fails: common/debug.cc:8:22: error: ceph_ver.h: No such file or directory (ceph.git/master)
hi
by accident a ran a compile against the ceph.git/master. if configure is ran with
./configure --without-hadoop --with-debug
it fails with:
mv -f .deps/tls.Tpo .deps/tls.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o test -f 'common/buffer.cc' || echo './'common/buffer.cc
mv -f .deps/buffer.Tpo .deps/buffer.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o test -f 'common/debug.cc' || echo './'common/debug.cc
mv -f .deps/common_init.Tpo .deps/common_init.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT ceph_fs.o -MD -MP -MF .deps/ceph_fs.Tpo -c -o ceph_fs.o test -f 'include/ceph_fs.cc' || echo './'include/ceph_fs.cc
common/debug.cc:8:22: error: ceph_ver.h: No such file or directory mv -f .deps/ceph_fs.Tpo .deps/ceph_fs.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT ceph_hash.o -MD -MP -MF .deps/ceph_hash.Tpo -c -o ceph_hash.o `test -f 'include/ceph_hash.
- Thomas
Quoted 9 lines · Thomas Mueller
hi
by accident a ran a compile against the ceph.git/master. if configure is ran with
./configure --without-hadoop --with-debug
it fails with:
Quoted 9 lines
mv -f .deps/tls.Tpo .deps/tls.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.otest -f 'common/buffer.cc' || echo './'common/buffer.cc
mv -f .deps/buffer.Tpo .deps/buffer.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.otest -f 'common/debug.cc' || echo './'common/debug.cc
mv -f .deps/common_init.Tpo .deps/common_init.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT ceph_fs.o -MD -MP -MF .deps/ceph_fs.Tpo -c -o ceph_fs.otest -f 'include/ceph_fs.cc' || echo './'include/ceph_fs.cc
common/debug.cc:8:22: error:ceph_ver.h: No such file or directory mv -f .deps/ceph_fs.Tpo .deps/ceph_fs.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT ceph_hash.o -MD -MP -MF .deps/ceph_hash.Tpo -c -o ceph_hash.o `test -f 'include/ceph_hash.
This is due to some races in the Makefile.. if you 'make ceph_ver.h' and then 'make' it'll work fine (or possibly just 'make' again will do the trick). In any case, it's fixed in the unstable branch, and 0.21 is coming this week!
Thanks-
sage