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.

[参考译文] CCS/TIDC-EVSE-WIFI:链接器错误

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/808567/ccs-tidc-evse-wifi-linker-error

器件型号:TIDC-EVSE-WIFI
主题中讨论的其他器件:MSP430F6736

工具/软件:Code Composer Studio

我在链接时的最后一步遇到此错误:


找不到文件 null:找不到文件
链接过程中遇到错误;"emeter-app-6736.out"不为空:链接过程中遇到错误;"emeter-app-6736.out"不是  

我已经尝试过 V15和 V18编译器、但结果相同。

请帮助。 非常感谢。

JD

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

    Jim、

    您能否从控制台捕获构建输出并将其连接到线程。  看起来链接器希望文件名具有特定选项(可能为-l)、但文件名缺失。

    您还可以在此处检查链接器选项、并查看是否存在正在传递的任何库的问题。  也许是无效的编译变量${name}?

    此致、

    John

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

    John、  

    感谢您的回复。 我已附上下面的脚本和路径对话框供您查看。

    此致、

    JD

    -vmspx --data_model=large --code_model=large --near_data=globals -off --opt_for_speed=5 --use_hw_eter=f5 -g -gcc --define=__MSP430F6736__--display_error_warning=225 --iph_mem_link=d=d-silicon_ine-d=-us-link_rom-d=-intrad_ram_info-model_ine-d=-us-link-ines=-us-inese-ds-unus-ment-link_infot_rom-inatine-d=-ment-ds-unus-ment-link_rom-inatine-ment-ds-unus-ment-drom-link_infotrack_ine-ment-d_infotrack-ate-ment-d_ine-ment-d_infotrack-ment-track-ine-ment-d_infot_ine-ment-d_infot_ine-ment-track-ment-track-ate-/ti/ccs901/ccs/ccs_base/msp430/lib/5xx_6xx_FRxx /ti/ccs901/ccs/ccs_base/msp430/lib /ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.1.LTS/include /ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.1.LTS/lib /ti/ccs901/ccs/ccs_base/msp430/include

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

    JD、

    有趣的是、即使您的构建选项中有一些特定的命令、该列表中也没有-l 命令。  

    在链接器选项中、您指定了两次 libmath.a。  在旧的 CCSv6安装中具有到某个位置的绝对路径、然后第二次没有路径。  没有路径的将使用对话框底部的搜索路径来查找库。  我会删除引用 CCSv6安装的那个、原因有几个:1)库被指定了两次2)你真的不想使用绝对路径、因为这样项目就不可移植了。

    我还会删除"libmath.a"周围的引号、使其仅为 libmath.a

    此致、

    John