**** Build of configuration Debug for project ASDFA ****
D:TIccsv5utilsingmake -k all
'Building target: ASDFA.out'
'Invoking: C2000 Linker'
"D:/TI/ccsv5/tools/compiler/c2000_6.1.0/bin/cl2000" -v28 -ml -mt -g --diag_warning=225 --display_error_number --diag_wrap=off -z --stack_size=0x400 -m"ASDFA.map" --heap_size=0x400 --warn_sections -i"D:/TI/ccsv5/tools/compiler/c2000_6.1.0/lib" -i"D:/TI/ccsv5/tools/compiler/c2000_6.1.0/include" --reread_libs --display_error_number --diag_wrap=off --rom_model -o "ASDFA.out" "./main.obj" -l"libc.a" "E:/Project/VRPD/CODE/DSP281x_headers/cmd/DSP281x_Headers_nonBIOS.cmd" "E:/Project/VRPD/CODE/DSP281x_common/cmd/F2812.cmd"
<Linking>
>> Compilation failure
undefined first referenced
symbol in file
--------- ----------------
_InitSysCtrl ./main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "ASDFA.out" not built
gmake: *** [ASDFA.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
确保头文件添加到工程中来 你可以在头文件上右击open 如果能打开 说明头文件包含没问题
你觉得是引用变量引起的 你看看变量有没有extern
能OPEN,而且include也没报错,也用extern了,extern volatile struct Sys_REGS Sys;
因为这个是在以前一个2812的项目上拷过来的data.h,应该没什么问题啊,现在用的是28335
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "TWO_GPIO_Led.out" not built
一周热门 更多>