您的位置:首页 > 移动开发 > Objective-C

relocation R_X86_64_32S against `a local symbol’ can not be used when making a shared object; recomp

2013-11-07 15:36 806 查看
参见
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3
AMD64必须打开-fPIC(position-independent code)的选项:

需要在makefile中加入如下语句:

vim Makefile

在Makefile中加入以下语句:

CFLAGS+=-fPIC

重新编译:

#make clean; make

通过。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐