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.

[参考译文] PROCESSOR-SDK-J784S4:链接器错误:未定义的符号- vApplicationLoadHook

Guru**** 2482225 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1422560/processor-sdk-j784s4-linker-error-undefined-symbol---vapplicationloadhook

器件型号:PROCESSOR-SDK-J784S4

工具与软件:

我有一个基于 PDK 的应用、该应用基于 PSDK RTOS (ti-processor-sdk-rtos-j784s4-evm-09_02_00_05)构建于 C7 DSP 内核、包含 C 和 C++文件。 在我的 build 命令中、我设置了CPLUSPLUS_BUILD=yesBUILD_PROFILE=debug

我的 build 命令如下:

make -s BOARD=board CORE=c7x_2 BUILD_PROFILE=debug CPLUSPLUS_BUILD=yes app_test_clean app_test

但是、对于vApplicationLoadHook中未定义的符号、我会遇到链接器错误ti.kernel.freertos.ae71<port.oe71>

如果我选择 BUILD_PROFILE=RELEASE、就完全可以。

您能否 指导如何 解决此错误?

此致、

Attiya

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

    尊敬的 Attiya:

    当您在没有"-s"选项的情况下运行以下命令时、是否可以提供编译输出、以便我可以看到编译器拾取了哪些标志?  

    [报价 userid="370569" url="~/support/processors-group/processors/f/processors-forum/1422560/processor-sdk-j784s4-linker-error-undefined-symbol---vapplicationloadhook test"]make -s BOARD=board core=c7x_2 build_profile=debug cplusplusplus_build=yes app_test_clean app_test

    此致!

    Asha

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

    尊敬的 Attiya:

    在这种情况下、您能否提供完整的日志?  

    [报价 userid="370569" url="~/support/processors-group/processors/f/processors-forum/1422560/processor-sdk-j784s4-linker-error-undefined-symbol---vapplicationloadhook test"]make -s BOARD=board core=c7x_2 build_profile=debug cplusplusplus_build=yes app_test_clean app_test

    此致!

    Asha

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

    正在解锁该线程。

    此致

    Suman