编译程序遇到问题 relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;


编译程序遇到问题  relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;

 

发现编译的程序引用的一个库(.a文件)是直接用./configure 编译的, 64位机器不能直接./configure 进行配置,需要采用如下方式

 

CFLAGS="-O3 -fPIC" ./configure

make

make install


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 关于/usr/local/lib/libz.a(zutil.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC解决办法 记录linux编译opencv时报错: relocation R_X86_64_PC32 against symbol `XXXX' can not be used when making a shared object; recompile with -fPIC FFmpeg for XP(x86) 2016-03-23 static 静态编译程序 编译程序、编译程序的结构 PL/0编译程序 004 eclipse-jee-2021-06-R-win32-x86_64的配置、创建java项目教程 buntu12.10 64位 + android-ndk-r9 编译ffmpeg遇到的问题 create-react-app 遇到问题 TypeError: Cannot assign to read only property 'jsx' of object '#' 解释程序和编译程序的区别 将DataTable转换为List对象遇到问题:类型“System.Int64”的对象无法转换为类型“System.Int32”。
 
粤ICP备18138465号  © 2018-2026 CODEPRJ.COM