//编辑为上一个错误消失
我已将ppclinux库替换为特定库。新错误显示为 -
libboost_thread-gcc44-mt-1_49.a(thread.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
../../ThirdPartyLibs/boost/stage/lib/libboost_thread-gcc44-mt-1_49.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libAFE.so] Error 1
有关于此的任何解决方案吗?
答案 0 :(得分:3)
解决了它。
问题是这些库是用64位构建的。配置bjam命令解决了它。命令如下 -
bjam toolset=gcc address-model=64 architecture=x86 variant=release link=static,shared --layout=versioned --build-type=complete