Bug #11582
closedceph-0.80.9 compile error
0%
Description
when compile the ceph-0.80.9 source package, I got the following error:
./autogen.sh
./configure (generate Makefile)
make
...
./.libs/librados.so: undefined reference to `boost::thread_detail::rollback_once_region(boost::once_flag&)'
./.libs/librados.so: undefined reference to `boost::system::system_category()'
./.libs/librados.so: undefined reference to `boost::thread_detail::commit_once_region(boost::once_flag&)'
./.libs/librados.so: undefined reference to `boost::system::generic_category()'
./.libs/librados.so: undefined reference to `boost::thread_detail::enter_once_region(boost::once_flag&)'
gcc version:
$ gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
boost version:
1.41.0-25
anyone knows what is going wrong?
Files
Updated by Kefu Chai almost 9 years ago
firefly is still supported and tested. just tested using a centos 6 installation:
$ gcc --version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11) Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ rpm -q boost-devel boost-devel-1.41.0-25.el6.centos.x86_64
cory, could you "make distclean" and "configure" again, then upload the config.log here or paste it somewhere we have access ? thanks.
Updated by cory gu almost 9 years ago
- File config.log config.log added
Thanks for the reply.
here is config.log
Updated by Kefu Chai almost 9 years ago
cory, my best guess is that you are linking against a wrong boost version. if you are able to rebuild 0.80.9 or 0.94 (a.k.a. hammer) in a clean environment, probably that will help you nail down the root cause.
Updated by Kefu Chai almost 9 years ago
- Status changed from New to Can't reproduce
cory, i am closing it, please feel free to reopen it once we have more info to move this issue forward. thanks.