工程文件经过编译后如下问题:
undefined first referenced
symbol in file
——— —————-
U$$MOD ./Example_2806xAdcSoc.obj
_c_int00 ./F2806x_CodeStartBranch.obj
error: unresolved symbols remain
warning: entry-point symbol other than "_c_int00" specified: "code_start"
error: errors encountered during linking; "Example_2806xAdcSoc.out" not built
>> Compilation failure
gmake: *** [Example_2806xAdcSoc.out] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project ORIGINAL_PROJECT_ROOT
Errors提示如下:
Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "Example_2806xAdcSoc.out" not built ORIGINAL_PROJECT_ROOT line 0 1334020979640 207
unresolved symbol _c_int00, first referenced in ./F2806x_CodeStartBranch.obj ORIGINAL_PROJECT_ROOT line 0 1334020979640 205
unresolved symbol U$$MOD, first referenced in ./Example_2806xAdcSoc.obj ORIGINAL_PROJECT_ROOT line 0 1334020979640 204
请问是什么原因? 是否是因为编译环境设置有问题? 有没有相关编译环境配置的相关资料?
Forrest:
这个报错,我估计是没有正确引用库文件的报错,除了上次谈到的环境变量设置,也请确认一下有正确包含TI的库文件。就我所知没有专门讨论环境变量的资料,你可以在CCS–>help中查询一下,会有一些零散的地方偶尔提及这方面的内容。