标签:module lin recipe err pil address [1] with res
root# cmake ..
No problem.
root# make
[ 63%] Linking CXX shared module collisionperceptor.so
/usr/bin/ld: /usr/local/lib/libode.a(ode.o): relocation R_X86_64_32 against `.rodata.str1.1‘ can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libode.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
plugin/collisionperceptor/CMakeFiles/collisionperceptor.dir/build.make:355: recipe for target ‘plugin/collisionperceptor/collisionperceptor.so‘ failed
make[2]: *** [plugin/collisionperceptor/collisionperceptor.so] Error 1
CMakeFiles/Makefile2:913: recipe for target ‘plugin/collisionperceptor/CMakeFiles/collisionperceptor.dir/all‘ failed
make[1]: *** [plugin/collisionperceptor/CMakeFiles/collisionperceptor.dir/all] Error 2
Makefile:149: recipe for target ‘all‘ failed
make: *** [all] Error 2
标签:module lin recipe err pil address [1] with res
原文地址:http://www.cnblogs.com/Cheny-Coco/p/6194334.html