Project

General

Profile

Actions

Bug #11582

closed

ceph-0.80.9 compile error

Added by cory gu almost 9 years ago. Updated almost 9 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-deploy
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

config.log (163 KB) config.log cory gu, 05/13/2015 01:48 AM
Actions #1

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.

Actions #2

Updated by cory gu almost 9 years ago

Thanks for the reply.
here is config.log

Actions #3

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.

Actions #4

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.

Actions

Also available in: Atom PDF