原文:如何解決make時報錯crti. o: unrecognized relocation (0x2a) in section `.init

這個問題困擾了我好長時間,網上查了好長時間,這個問題的解決方法,就是將binultils升級到 . 。 造成這個問題的原因是gcc和binultils版本不匹配,gcc對應的版本較高,gcc編譯后,ld 由binultils決定 進行鏈接,結果由於binultils版本較低, 無法識別。 解決方法: .從https: pkgs.org download binutils . 下載對應的版本, wg ...

2019-03-11 19:49 0 2938 推薦指數:

查看詳情

unrecognized relocation (0x2a) in section `.text`

解決unrecognized relocation (0x2a) in section .text 問題: /usr/bin/ld: …/deps/zw/lib/libdmsdk.a(http.o): unrecognized relocation (0x2a) in section ...

Sun Jan 17 22:38:00 CST 2021 0 1232
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM