This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM4379:调用:GNU 链接器错误、makefile:166:目标的配方'xxx...'失败

Guru**** 657930 points
Other Parts Discussed in Thread: AM4379, SYSBIOS
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1166697/am4379-invoking-gnu-linker-error-makefile-166-recipe-for-target-xxx-failed

器件型号:AM4379
Thread 中讨论的其他器件: SYSBIOS

大家好

正在为 AM4379 Cortex A 处理 QSPI 引导加载程序项目

由于我正在使用 CCS、因此我从此处下载"sysbios_ind_sdk 02_01_03_02"以方便导入。
https://software-dl.ti.com/sitara_indus/esd/SYSBIOSSDK-IND-SITARA/latest/index_FDS.html

直接在 .\ti\SysBIOS_ind_sdk_02.01.03.02\sdk\starterware 中设置工作区、并导入引导加载程序和所有相关项目。

编译每个依赖项工程没有问题、但在 makefile 中加载依赖项链接器时引导加载程序会出现编译错误。

未修改任何代码、只为 SDK 导入原始 CCS 工程。 想知道是什么导致 gmake 错误和分配失败。

# Tool invocations
../../../binary/bootloader/bin/am43xx-evm/ccs/bootloader_boot_qspi_a9host_debug.out: $(OBJS) $(LDS_SRCS) $(GEN_CMDS) C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/board/ccs/am43xx_boot_debug/../../../binary/board/lib/am43xx-evm/a9/ccs/am43xx_boot_debug/libboard_boot.a C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/dal/ccs/am43xx_debug/../../../binary/dal/lib/am43xx-evm/a9/ccs/am43xx_debug/libdal.a C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/soc/ccs/am43xx_boot_qspi_debug/../../../binary/soc/lib/am43xx-evm/a9/ccs/am43xx_boot_qspi_debug/libsoc_boot_qspi.a C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/utils/ccs/am43xx_debug/../../../binary/utils/lib/am43xx-evm/a9/ccs/am43xx_debug/libutils.a C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/library/qspilib/ccs/am43xx_debug/../../../../binary/qspi_lib/lib/am43xx-evm/a9/ccs/am43xx_debug/libqspi_lib.a C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/device/ccs/am43xx_debug/../../../binary/device/lib/am43xx-evm/a9/ccs/am43xx_debug/libdevice.a
	@echo 'Building target: "$@"'
	@echo 'Invoking: GNU Linker'
	"C:/ti/gcc-arm-none-eabi-4_7-2013q3-20130916-win32/gcc-arm-none-eabi-4_7-2013q3-20130916-win32/bin/arm-none-eabi-gcc-4.7.4.exe" -mtune=cortex-a9 -marm -mlong-calls -DBOOT_QSPI -DAM43XX_FAMILY_BUILD -Dam4379 -funsigned-char -ffunction-sections -fdata-sections -g -gstrict-dwarf -Wall -mfloat-abi=hard -Wl,-Map,"../../../binary/bootloader/bin/am43xx-evm/ccs/bootloader_boot_qspi_a9host_debug.map" --entry Entry -Wl,--gc-sections -L"../../../binary/dal/lib/am43xx-evm/a9/ccs/am43xx_debug/" -L"../../../binary/qspi_lib/lib/am43xx-evm/a9/ccs/am43xx_debug/" -L"../../../binary/device/lib/am43xx-evm/a9/ccs/am43xx_debug/" -L"../../../binary/board/lib/am43xx-evm/a9/ccs/am43xx_boot_debug/" -L"../../../binary/utils/lib/am43xx-evm/a9/ccs/am43xx_debug/" -L"../../../binary/soc/lib/am43xx-evm/a9/ccs/am43xx_boot_qspi_debug/" -Wl,--defsym,HEAPSIZE=0x400 -Wl,--defsym,STACKSIZE=0x18000 -o"../../../binary/bootloader/bin/am43xx-evm/ccs/bootloader_boot_qspi_a9host_debug.out" $(ORDERED_OBJS)
	@echo 'Finished building target: "$@"'
	@echo ' '
	@$(MAKE) --no-print-directory post-build





CCS:v11.2

常规中的属性配置:am43xx_boot_QSPI_debug [活动]

编译器常规:GNU v4.7.4 Linaro (默认)

常规中的链接器命令文件:AM437X.lds

GNU 链接器中的内衬命令文件: ./../../examples/gcc/am43xx_boot_xip_ccs.lds (默认)

此致、

Ernie

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Ernie、

    我将关闭此线程、因为同时创建了一个重复查询。 我已指派一名专家回答您的问题、您应该很快会收到回复。

    此致、

    苏伦