我的系统是Gentoo amd64,最新的。
[I] dev-libs/boost
Available versions: 1.49.0-r2 (~)1.52.0-r6(0/1.52) (~)1.53.0(0/1.53) [M](~)1.54.0(0/1.54) {debug doc icu mpi +nls python static-libs +threads tools PYTHON_TARGETS="python2_5 python2_6 python2_7 python3_1 python3_2 python3_3"}
Installed versions: 1.53.0(10:17:32 PM 08/19/2013)(icu nls python threads -debug -doc -mpi -static-libs -tools PYTHON_TARGETS="python2_7 python3_2 -python2_5 -python2_6 -python3_1 -python3_3")
Homepage: http://www.boost.org/
Description: Boost Libraries for C++我的boost已经用threads USE标志编译了。
但是我在编译Hugin时仍然有这个错误。
../hugin_base/libhuginbase.so.0.0: undefined reference to `boost::thread::join()'
../hugin_base/libhuginbase.so.0.0: undefined reference to boost::thread::start_thread()'
collect2: error: ld returned 1 exit status有些人建议将boost降级为1.47...but,这不再是在迁移中出现的问题了。
发布于 2013-09-21 04:36:27
它是由boost-1.5中的一个问题引起的,include目录没有被删除,并且导致Hugin编译脚本使用了错误的头文件。
手动删除孤立目录解决了问题。
https://unix.stackexchange.com/questions/89023
复制相似问题