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.

[参考译文] TMS320F28379D -未解决的符号错误

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1332596/tms320f28379d---unresolved-symbol-error

主题中讨论的其他器件:SysConfigC2000WARE

描述资源路径位置类型
#10010链接过程中遇到错误;"SysConfig.out"未编译 SysConfig C/C++问题

描述资源路径位置类型
#10234-D unresolved symbols remain SysConfig C/C++ problem


****项目 SysConfig 的配置调试构建****

"C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake"-k -j 4 all -O

生成文件:"../main.c"
调用:C2000编译器
"c:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000 /ti/c2000/C2000Ware_4_01_00_00/driverlib/f2837xd/driverlib /ti/c2000/C2000Ware_4_01_00_00/device_support/f2837xd/common/include /ti/c2000/C2000Ware_4_01_00_00/device_support/f2837xd/headers/source /ti/c2000/C2000Ware_4_01_00_00/device_support/f2837xd/headers/include /Users/Admin-PC/Desktop/CCS/sysconfig/sysconfig /Users/Admin-PC/Desktop/Sysconfig/sysconfig/sysconfig -v28 -ml -mt --cla_support=cla1 - float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/Users/Admin-PC/Desktop/Sysconfig/sysconfig/device /ti/c2000/C2000Ware_4_01_00_00/device_support/f2837xd/common/source /Users/Admin-PC/Desktop/Sysconfig/sysconfig /ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include
已完成建设:"../main.c"

构建目标:"SysConfig.out"
调用:C2000链接器
"c:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000 /ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib /device/F2837xD_CodeStartBranch.obj /ti/c2000/C2000Ware_4_01_00_00/driverlib/f2837xd/driverlib/ccs/Debug/driverlib.lib -v28 -ml -mt --cla_support=cla1 - float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --tadvice /ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include:performance=all --define=_flash --define=cpere-g --cmd_warning=225 /device/device.obj /sysconfig/f2837xd_pinmux.obj /ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_ml.lib /ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_fpu32.lib


第一个引用的未定义
文件中的符号
---------------- ----------------
_GpioCtrlRegs ./sysconfig/f2837xd_pinmux.obj

错误#10234-D:未解析的符号仍存在
错误#10010:链接过程中遇到错误;未生成"SysConfig.out"

>>编译失败
Makefile:151:目标"sysconfig.out"的配方失败
gmake[1]:***[sysconfig.out]错误1
Makefile:147:目标"全部"的食谱失败
gmake:***[全部]错误2

****构建完成****

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

    尊敬的 Sivaraman:

    未定义的第一个引用
    文件中的符号
    ---------------- ----------------
    _GpioCtrlRegs ./sysconfig/f2837xd_pinmux.obj [/报价]

    这里使用的变量/结构未在此项目上下文中定义、这是错误的来源。 您是否尝试将位域与 SysConfig/driverlib 一起使用? 似乎 sysconfig 文件夹是您创建的、因此我假设 f2837xd_pinmux 文件也是您项目的一部分、而与 SysConfig/位域无关。 我建议只使用 driverlib/SysConfig、或仅使用 bitfield、将它们混合在一起可以创建非常复杂的项目设置、这是一个很难解决的问题。

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

    感谢您的建议, Omer .

    我解决了我的错误。