c:/nxp/mcuxpressoide_11.6.1_8255/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.1.202207200623/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/。 ./../../../arm-none-eabi/bin/ld.exe: c:/nxp/mcuxpressoide_11.6.1_8255/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.1.202207200623 /tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-noneeabi/lib/thumb/v7em+fp这可以通过上面的最少步骤重现
/hardlibcr_nohost_nf. a(_cr__main.o):在函数“__main”中:
_cr__main.c:(.text.__main+0xa):对“main”的未定义引用
内存区域已用大小区域大小已用
PROGRAM_FLASH:10120 B 512 KB 1.93%
BOARD_FLASH:0 GB 16 MB 0.00%
SRAM_UPPER:27308 B 160 KB 16.67%
SRAMX:0 GB 32 KB 0.00%
USB_RAM:0 GB 8 KB 0.00%
BOARD_SDRAM : 0 GB 16 MB 0.00%
collect2.exe: error: ld returned 1 exit status
make[1]: *** [makefile:69: lpcxpresso54628_lwip_mqtt_freertos.axf] 错误 1
make: *** [makefile:60: all] 错误 2
"make -r -j12 all”以退出代码 2 终止。构建可能不完整。
09:45:54 构建失败。4 个错误,0 个警告。(耗时 5s.536ms)
更多回帖