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.

[参考译文] RTOS/TMDXICE110:目标"all"构建失败

Guru**** 2603705 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/650990/rtos-tmdxice110-build-fails-for-target-all

器件型号:TMDXICE110

工具/软件:TI-RTOS

我使用 ti-processor-sdk-rtos-am335x-evm-04.00.00.04创建了一个新的 RTOS 项目。 但我遇到了构建问题。

我只在 main.c 中添加两行

#include 
Board_init (Board_init_module_clock); 

但我从 Makefile 文件中得到了一些错误:

说明资源路径位置类型
gmake:***[All]错误2 xxx C/C++问题
gmake[1]:***[xxx.out]错误1 xxx C/C++问题
目标"全部"的配方失败的 makefile /xxx/Debug 行142 C/C++问题
目标'xxx.out'的配方失败 makefile /xxx/Debug 第146行 C/C++问题

我是否错过了任何设置?

e2e.ti.com/.../2843.app.cfg

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    RTOS 团队已收到通知。 他们将在这里作出回应。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    按如下所示更新构建消息。 我认为这只是一个设置问题、但我在我的 cfg 文件中找不到该问题。

    Makefile:147:目标'xxx.out'的配方失败

    D:\ti\pdk_am335x_1_0_7\packages/ti\board\lib\iceAMIC110\a8\release.ti.board.aa8fg (iceAMIC110_LLD_init.oa8fg):在函数`Board_uartStdioInit'中:

    iceAMIC110_LLD_init.c:(.text.Board_uartStdioInit+0x10):未定义对`UART_stdioInit'的引用

    D:\ti\pdk_am335x_1_0_7\packages/ti\board\lib\iceAMIC110\a8\release.ti.board.aa8fg (iceAMIC110_Ethernet_config.oa8fg):在函数`Board_icssEthConfig'中:

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0xdc):未`对 GPIOModuleEnable'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0xec):未定义对`GPIODirModeSet'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0xFC):未定义对`GPIOPinWrite'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0x11c):未定义对`GPIOPinWrite'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0x154):未定义对`GPIOModuleEnable'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0x164):未定义对`GPIODirModeSet'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0x174):未定义对`GPIOPinWrite'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0x608):未定义对`GPIODirModeSet'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0x618):未定义对`GPIODirModeSet'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0x624):未定义对`GPIOModuleEnable'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0x638):未定义对`GPIODirModeSet'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0x648):未定义对`GPIOPinWrite'的引用

    iceAMIC110_Ethernet_config.c:(.text.Board_icssEthConfig+0x668):未定义对`GPIOPinWrite'的引用

    collect2.exe:错误:LD 返回1退出状态

    gmaking[1]:***[xxx.out]错误1

    Makefile:143:目标'all'的配方失败

    gmake:***[全部]错误2.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    添加"-wl,--start-group"标志,解决了这个问题。