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
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