can not be used when making a shared object; recompile with -fPIC
2009年8月13日
阅读评论 1,011 views
编译的时候出现can not be used when making a shared object; recompile with -fPIC错误
解决办法./configure –with-pic –enable-shared=no
包子猜您可能还喜欢下列文章:
分类: 技术点滴
64位机器吧,我也遇到过
是的,64位的。
这样编译是可以通过但是-enable-shared=no no掉了libevent就生成不了动态库了