recompile with -fPIC

ubuntu 16.04上封装boost库(须要编译的库)为动态库的时候,碰到相似错误:ubuntu relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC it 开始觉得是给动态库添加-fPIC,后来发现是给boost添加,i
相关文章
相关标签/搜索