Hi Roald, I'm using git version 1.8.1.2, and run a plain "./configure" with no extra args. Thank you. On Fri, Sep 13, 2013 at 11:23 AM, Roald van Loon <roaldvanloon@xxxxxxxxx> wrote: > Hi, > > I haven't seen this error before. What's your git version? And could > you give us your configure command, config.status file and the output > of a make V=1? > > Roald > > On Fri, Sep 13, 2013 at 6:06 PM, Lluís Pàmies i Juárez > <llpamies@xxxxxxxxxx> wrote: >> Hello, >> >> I'm having problems to compile the main git branch. I tried compiling >> from a new clone, and I get the same error. I attach a dump of the >> error. Does anyone else have this problem? >> >> -- >> Lluís Pàmies i Juárez >> http://lluis.pamies.cat -- Lluís Pàmies i Juárez http://lluis.pamies.cat
username@machine:~/Projects/ceph$ make V=1 Making all in . make[1]: Entering directory `/home/username/Projects/ceph' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/username/Projects/ceph' Making all in src make[1]: Entering directory `/home/username/Projects/ceph/src' make all-recursive make[2]: Entering directory `/home/username/Projects/ceph/src' Making all in ocf make[3]: Entering directory `/home/username/Projects/ceph/src/ocf' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/username/Projects/ceph/src/ocf' Making all in java make[3]: Entering directory `/home/username/Projects/ceph/src/java' make all-am make[4]: Entering directory `/home/username/Projects/ceph/src/java' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/username/Projects/ceph/src/java' make[3]: Leaving directory `/home/username/Projects/ceph/src/java' make[3]: Entering directory `/home/username/Projects/ceph/src' ./check_version ./.git_version ./.git_version is up to date. /bin/bash ../libtool --tag=CXX --mode=link g++ -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -rdynamic -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -DCEPH_LIBDIR=\"/usr/local/lib\" -Wnon-virtual-dtor -Wno-invalid-offsetof -Wstrict-null-sentinel -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fno-var-tracking-assignments -g -O2 -Wl,--as-needed -latomic_ops -o ceph-dencoder test/encoding/ceph_dencoder-ceph_dencoder.o libosd.la libosdc.la libos.la -laio -lleveldb -lsnappy libperfglue.la -ltcmalloc libmds.la libperfglue.la -ltcmalloc libmon.la libperfglue.la -ltcmalloc libglobal.la -lpthread -lm -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_thread-mt -lleveldb -lsnappy libtool: link: g++ -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -rdynamic -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -DCEPH_LIBDIR=\"/usr/local/lib\" -Wnon-virtual-dtor -Wno-invalid-offsetof -Wstrict-null-sentinel -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fno-var-tracking-assignments -g -O2 -Wl,--as-needed -o ceph-dencoder test/encoding/ceph_dencoder-ceph_dencoder.o /usr/lib/libatomic_ops.a ./.libs/libosd.a ./.libs/libosdc.a ./.libs/libos.a ./.libs/libmds.a ./.libs/libmon.a -laio ./.libs/libperfglue.a -ltcmalloc ./.libs/libglobal.a -lpthread -lcrypto++ -luuid -lm -lkeyutils -lrt -lboost_thread-mt -lleveldb -lsnappy test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<rados::cls::lock::locker_id_t>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `rados::cls::lock::locker_id_t::generate_test_instances(std::list<rados::cls::lock::locker_id_t*, std::allocator<rados::cls::lock::locker_id_t*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<rados::cls::lock::locker_id_t>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `rados::cls::lock::locker_id_t::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<rados::cls::lock::locker_info_t>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `rados::cls::lock::locker_info_t::generate_test_instances(std::list<rados::cls::lock::locker_info_t*, std::allocator<rados::cls::lock::locker_info_t*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<rados::cls::lock::locker_info_t>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `rados::cls::lock::locker_info_t::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_lock_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_lock_lock_op::generate_test_instances(std::list<cls_lock_lock_op*, std::allocator<cls_lock_lock_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_lock_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_lock_lock_op::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_unlock_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_lock_unlock_op::generate_test_instances(std::list<cls_lock_unlock_op*, std::allocator<cls_lock_unlock_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_unlock_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_lock_unlock_op::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_break_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_lock_break_op::generate_test_instances(std::list<cls_lock_break_op*, std::allocator<cls_lock_break_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_break_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_lock_break_op::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_get_info_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_lock_get_info_op::generate_test_instances(std::list<cls_lock_get_info_op*, std::allocator<cls_lock_get_info_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_get_info_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_lock_get_info_op::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_get_info_reply>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_lock_get_info_reply::generate_test_instances(std::list<cls_lock_get_info_reply*, std::allocator<cls_lock_get_info_reply*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_get_info_reply>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_lock_get_info_reply::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_list_locks_reply>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_lock_list_locks_reply::generate_test_instances(std::list<cls_lock_list_locks_reply*, std::allocator<cls_lock_list_locks_reply*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_lock_list_locks_reply>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_lock_list_locks_reply::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_item_marker>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_replica_log_item_marker::generate_test_instances(std::list<cls_replica_log_item_marker*, std::allocator<cls_replica_log_item_marker*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_item_marker>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_replica_log_item_marker::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_progress_marker>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_replica_log_progress_marker::generate_test_instances(std::list<cls_replica_log_progress_marker*, std::allocator<cls_replica_log_progress_marker*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_progress_marker>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_replica_log_progress_marker::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_bound>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_replica_log_bound::generate_test_instances(std::list<cls_replica_log_bound*, std::allocator<cls_replica_log_bound*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_bound>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_replica_log_bound::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_delete_marker_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_replica_log_delete_marker_op::generate_test_instances(std::list<cls_replica_log_delete_marker_op*, std::allocator<cls_replica_log_delete_marker_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_delete_marker_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_replica_log_delete_marker_op::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_set_marker_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_replica_log_set_marker_op::generate_test_instances(std::list<cls_replica_log_set_marker_op*, std::allocator<cls_replica_log_set_marker_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_set_marker_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_replica_log_set_marker_op::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_get_bounds_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_replica_log_get_bounds_op::generate_test_instances(std::list<cls_replica_log_get_bounds_op*, std::allocator<cls_replica_log_get_bounds_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_get_bounds_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_replica_log_get_bounds_op::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_get_bounds_ret>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_replica_log_get_bounds_ret::generate_test_instances(std::list<cls_replica_log_get_bounds_ret*, std::allocator<cls_replica_log_get_bounds_ret*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_replica_log_get_bounds_ret>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_replica_log_get_bounds_ret::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_refcount_get_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_refcount_get_op::generate_test_instances(std::list<cls_refcount_get_op*, std::allocator<cls_refcount_get_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_refcount_get_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_refcount_get_op::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_refcount_put_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_refcount_put_op::generate_test_instances(std::list<cls_refcount_put_op*, std::allocator<cls_refcount_put_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_refcount_put_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_refcount_put_op::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_refcount_read_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_refcount_read_op::generate_test_instances(std::list<cls_refcount_read_op*, std::allocator<cls_refcount_read_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_refcount_read_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_refcount_read_op::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_refcount_read_ret>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_refcount_read_ret::generate_test_instances(std::list<cls_refcount_read_ret*, std::allocator<cls_refcount_read_ret*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_refcount_read_ret>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_refcount_read_ret::dump(ceph::Formatter*) const' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_refcount_set_op>::generate()': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:87: undefined reference to `cls_refcount_set_op::generate_test_instances(std::list<cls_refcount_set_op*, std::allocator<cls_refcount_set_op*> >&)' test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<cls_refcount_set_op>::dump(ceph::Formatter*)': /home/username/Projects/ceph/src/test/encoding/ceph_dencoder.cc:83: undefined reference to `cls_refcount_set_op::dump(ceph::Formatter*) const' collect2: error: ld returned 1 exit status make[3]: *** [ceph-dencoder] Error 1 make[3]: Leaving directory `/home/username/Projects/ceph/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/username/Projects/ceph/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/username/Projects/ceph/src' make: *** [all-recursive] Error 1