編譯程序遇到問題 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