码迷,mamicode.com
首页 > 其他好文 > 详细

How to address this problem?

时间:2016-12-18 14:53:44      阅读:208      评论:0      收藏:0      [点我收藏+]

标签: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

How to address this problem?

标签:module   lin   recipe   err   pil   address   [1]   with   res   

原文地址:http://www.cnblogs.com/Cheny-Coco/p/6194334.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!