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/TMS320F28335:警告:#10211-D null:无法将/Applications/ti/ccs910/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/lib/libc.a 存档至兼容库、因为未遇到输入文件

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/830209/ccs-tms320f28335-warning-10211-d-null-cannot-resolve-archive-applications-ti-ccs910-ccs-tools-compiler-ti-cgt-c2000_18-12-3-lts-lib-libc-a-to-a-compatible-library-as-no-input-files-have-been-encountered

器件型号:TMS320F28335
Thread 中讨论的其他器件:controlSUITE

工具/软件:Code Composer Studio

我升级到了最新的编译器。   在几年前对这个问题的 George Mock 上一个回答(https://e2e.ti.com/support/tools/ccs/f/81/t/472734)中、解决方案是将 libc.a 文件移动到列表的末尾。  此解决方案似乎不再使用 Mac 上的最新编译器。  是否有新的解决方法、或者我是否遗漏了什么?

此致、

Neil

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

    能否如 CCS 编译控制台中所示显示的那样显示完整编译输出(尤其是完整链接器命令)?  

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

    完整的链接器命令和错误(我删除了目标文件的长列表并放置一个占位符。 (-llibc.a "./code/src/myobjfiles 是文件的长列表)

    调用:C2000链接器

    "/Applications/ti/ccs910/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/bin/cl2000 /Users/nsing/TI/ControlSUITE/libs/math/FPUfastRTS/V100/lib /Applications/ti/ccs910/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/lib   /link/DSP2833x_Headers_nonBIOS.cmd -v28 -ml -mt --float_support=fpu32 -O2 -opt_for_speed=2 -advice:performance=f28335 -g -relaxed_ansi -diag_warning=225 -diag_ram_off--display_error_number -abi=coff-excabi=-f28335 -g -relax_ab_at_ex-pf-nat_ex-ategot_ex-"-at_ex-at_info-link_ram_ram_infot_infot_infot_ine-ment-r32"-link_lib_infot_express-rm.at_express-pf-nategot_infot_ex-"-link_ex-"-pf-nat_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_in /link/ozMtrLnk.cmd /code/src/myobjfiles /Applications/ti/ccs910/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include /Users/nsing/TI/ControlSUITE/libs/math/IQmath/v160/lib  

    警告#10211-D:无法将/Applications/ti/ccs910/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/lib/libc.a 存档解析为兼容库、因为未遇到输入文件

    完成构建目标:"ACK_Software.out"

     

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

    此命令行在目标文件之前显示-llibc.a。 您是否尝试按照 先前的建议将其移动到列表的末尾、但仍然看到错误?  

    您可以使用“项目属性->构建”下的“链接顺序”选项卡来控制顺序。

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

    谢谢你。  这是我的问题。  出于某种原因、我移动了链接顺序中的 libc.a 文件、但在最近的 CCS 升级中将其重置。  我以为我检查过、但我肯定错过了它、或者看到了错误的选项卡。

    此致、

    Neil