STM32F103

解決"section .plt LMA overlaps section .dynamic LMA"問題


參考資訊:
1. freertos_Linking_problems_with_gcc_3.4.5_1414228

問題如下:

/opt/gcc-4.8/lib/gcc/armv7l-unknown-linux-gnueabihf/4.8.2/../../../../armv7l-unknown-linux-gnueabihf/bin/ld: section .plt LMA [08001c94,08001cb3] overlaps section .dynamic LMA [08001c94,08001d4b]
collect2: error: ld returned 1 exit status
make: *** [Makefile:39: main] Error 1

解法:-static


返回上一頁