centos7 提示 relocation R_X86_64_32 can not be used,recompile with -fPIC

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sz76211822/article/details/84030728

如果存在configure文件,那么编译的时候:

./configure CFLAGS="-fPIC"  CXXFLAGS="-fPIC"

猜你喜欢

转载自blog.csdn.net/sz76211822/article/details/84030728