On Fri, 2 Jul 2010, Thomas Mueller wrote: > as soon as I try to use the -j option the make fails. tried with -j2 and - > j8 > > is it supposed to work to call make with "-j" to speedup the compilation > time? Yeah. The ceph_ver.h is autogenerated to include the git commit id, and the rules are a bit wonky. I fixed a couple problems and I think it should be working now. (I can't be sure, since for some reason I never see these errors in my environment.) Can you let me know if it's better now? You'll need to rm ceph_ver.h and make clean to be sure. Thanks! sage > > - Thomas > > if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -D__CEPH__ - > D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -O2 -g -pipe - > Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp- > buffer-size=4 -m64 -mtune=generic -MT buffer.o -MD -MP -MF ".deps/ > buffer.Tpo" -c -o buffer.o `test -f 'common/buffer.cc' || echo > './'`common/buffer.cc; \ > then mv -f ".deps/buffer.Tpo" ".deps/buffer.Po"; else rm -f > ".deps/buffer.Tpo"; exit 1; fi > if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -D__CEPH__ - > D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -O2 -g -pipe - > Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp- > buffer-size=4 -m64 -mtune=generic -MT debug.o -MD -MP -MF ".deps/ > debug.Tpo" -c -o debug.o `test -f 'common/debug.cc' || echo './'`common/ > debug.cc; \ > then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/ > debug.Tpo"; exit 1; fi > common/debug.cc:8:22: error: ceph_ver.h: No such file or directory > make[2]: *** [debug.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: Leaving directory `/builddir/build/BUILD/ceph-0.21~rc/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/builddir/build/BUILD/ceph-0.21~rc/src' > Making all in man > make[1]: Entering directory `/builddir/build/BUILD/ceph-0.21~rc/man' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/builddir/build/BUILD/ceph-0.21~rc/man' > make[1]: Entering directory `/builddir/build/BUILD/ceph-0.21~rc' > make[1]: Nothing to be done for `all-am'. > make[1]: Leaving directory `/builddir/build/BUILD/ceph-0.21~rc' > make: *** [all-recursive] Error 1 > error: Bad exit status from /var/tmp/rpm-tmp.52754 (%build) > > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html