TI中文支持网
TI专业的中文技术问题搜集分享网站

undefined first referenced symbol in file出现问题

undefined first referenced
symbol in file
——— —————-
_TIBootSetup E:\\to1017\\to1017\\DSP_Pro_LV\\Debug\\Boot.obj
_TIBOOT_SEC_SIZE E:\\to1017\\to1017\\DSP_Pro_LV\\Debug\\Boot.obj
>> error: symbol referencing errors – './Debug/example.out' not built

>> Compilation failure

Build Complete,
2 Errors, 2 Warnings, 0 Remarks.

Shine:

从报错信息看,_TIBootSetup 和_TIBOOT_SEC_SIZE没有定义,你看一下代码中有没有定义?

s y:

回复 Shine:

"TISecondaryBoot.c", line 66: fatal error: could not open source file "TISecondaryBoot.h"1 fatal error detected in the compilation of "TISecondaryBoot.c".Compilation terminated.

>> Compilation failure

搜索路径:Project—>Build Options——>Compiler——>Processer——>Include search path添加过路径了,错误反而变多了

s y:

回复 Shine:

我是需要二级引导启动FLASH,用到了TISecondaryBoot这个文件,这也是你们之前提供给我的文件

Shine:

回复 s y:

s y

"TISecondaryBoot.c", line 66: fatal error: could not open source file "TISecondaryBoot.h"1 fatal error detected in the compilation of "TISecondaryBoot.c".Compilation terminated.

>> Compilation failure

搜索路径:Project—>Build Options——>Compiler——>Processer——>Include search path添加过路径了,错误反而变多了

s y:

回复 Shine:

"TISecondaryBoot.c", line 66: fatal error: could not open source file "TISecondaryBoot.h"1 fatal error detected in the compilation of "TISecondaryBoot.c".Compilation terminated.

>> Compilation failure

[vect.asm] "D:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"E:/to1017/to1017/DSP_Pro_LV/Debug" -i"E:/to1017/to1017" -d"_DEBUG" -mv6700 -@"Debug.lkf" "vect.asm"

Build Complete, 1 Errors, 0 Warnings, 0 Remarks.

还是出现这个问题,是哪里造成的?我用的是CCS3.3版本

赞(0)
未经允许不得转载:TI中文支持网 » undefined first referenced symbol in file出现问题
分享到: 更多 (0)