Hi, The program using librados.hpp cannot compile in case -DNO_ATOMIC_OPS(without libatomic_ops), like this: g++ -Wall -Werror -D_FILE_OFFSET_BITS=64 -g -DNO_ATOMIC_OPS -c -o put_obj.o put_obj.cc In file included from /usr/local/include/rados/Spinlock.h:19, from /usr/local/include/rados/atomic.h:57, from /usr/local/include/rados/buffer.h:55, from /usr/local/include/rados/librados.hpp:9, from put_obj.cc:6: /usr/local/include/rados/assert.h:6:22: error: acconfig.h: No such file or directory To avoid the error, we need to comment out #include "acconfig.h" in assert.h. If libatomic_ops exist, it won't happen. yum -y install libatomic_ops-devel g++ -Wall -Werror -D_FILE_OFFSET_BITS=64 -g -c -o put_obj.o put_obj.cc Note: put_obj.cc is on github.com. http://github.com/syuu1228/radoscmds/blob/master/put_obj.cc syuu -- 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