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

dsp编译出错

**** Build of configuration Debug for project flash_led ****

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all'Building file: D:/led_flash/CVECTORS.ASM'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/bin/cl500" –quiet –define="_DEBUG" –include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/include" –include_path="C:/Program Files/Texas Instruments/xdais_7_10_00_06/packages/ti/xdais" –include_path="/include" –symdebug:dwarf –diag_warning=225 –list_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –obj_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –temp_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –preproc_with_compile –preproc_dependency="CVECTORS.pp"  "D:/led_flash/CVECTORS.ASM"
'Finished building: D:/led_flash/CVECTORS.ASM'
' '
'Building file: D:/led_flash/main.c'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/bin/cl500" –quiet –define="_DEBUG" –include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/include" –include_path="C:/Program Files/Texas Instruments/xdais_7_10_00_06/packages/ti/xdais" –include_path="/include" –symdebug:dwarf –diag_warning=225 –list_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –obj_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –temp_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –preproc_with_compile –preproc_dependency="main.pp"  "D:/led_flash/main.c"
'Finished building: D:/led_flash/main.c'
' '
'Building target: D:/led_flash/Debug/led_flash.out'
'Invoking: Linker'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/bin/cl500" –quiet –define="_DEBUG" –symdebug:dwarf –diag_warning=225 –list_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –obj_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –temp_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" -z –absolute_exe –reread_libs –warn_sections –search_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/lib" –search_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/include" –search_path="D:/led_flash/flash_led" –search_path="D:/led_flash" –search_path="/lib" –map_file="D:/led_flash/Debug/led_flash.map" –entry_point=main –rom_model –stack_size=200h -o "D:/led_flash/Debug/led_flash.out"  "D:/led_flash/rts.lib" "E:/MYDSP/DEC5402V31/c/led_flash/Debug/main.obj" "E:/MYDSP/DEC5402V31/c/led_flash/Debug/CVECTORS.obj" "D:/led_flash/INRAM.cmd"
 undefined first referenced
  symbol       in file     ——— —————-
 main                     
error: unresolved symbols remain
warning: entry-point symbol "main" undefined
error: errors encountered during linking; "D:/led_flash/Debug/led_flash.out"
   not built

>> Compilation failure
gmake: *** [D:/led_flash/Debug/led_flash.out] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project flash_led
不知道哪里出的问题,求指教

noaming:

你好,用的是哪里的工程,看看能否帮你编译一下

jing pan:

回复 noaming:

**** Build of configuration Debug for project flash_led ****C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all 'Building file: D:/led_flash/CVECTORS.ASM''Invoking: Compiler'"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/bin/cl500" –quiet –define="_DEBUG" –include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/include" –include_path="C:/Program Files/Texas Instruments/xdais_7_10_00_06/packages/ti/xdais" –include_path="/include" –symdebug:dwarf –diag_warning=225 –list_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –obj_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –temp_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –preproc_with_compile –preproc_dependency="CVECTORS.pp"  "D:/led_flash/CVECTORS.ASM"'Finished building: D:/led_flash/CVECTORS.ASM'' ''Building file: D:/led_flash/main.c''Invoking: Compiler'"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/bin/cl500" –quiet –define="_DEBUG" –include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/include" –include_path="C:/Program Files/Texas Instruments/xdais_7_10_00_06/packages/ti/xdais" –include_path="/include" –symdebug:dwarf –diag_warning=225 –list_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –obj_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –temp_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –preproc_with_compile –preproc_dependency="main.pp"  "D:/led_flash/main.c"'Finished building: D:/led_flash/main.c'' ''Building target: D:/led_flash/Debug/led_flash.out''Invoking: Linker'"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/bin/cl500" –quiet –define="_DEBUG" –symdebug:dwarf –diag_warning=225 –list_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –obj_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" –temp_directory="E:/MYDSP/DEC5402V31/c/led_flash/Debug" -z –absolute_exe –reread_libs –warn_sections –search_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/lib" –search_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5400/include" –search_path="D:/led_flash/flash_led" –search_path="D:/led_flash" –search_path="/lib" –map_file="D:/led_flash/Debug/led_flash.map" –entry_point=main –rom_model –stack_size=200h -o "D:/led_flash/Debug/led_flash.out"  "D:/led_flash/rts.lib" "E:/MYDSP/DEC5402V31/c/led_flash/Debug/main.obj" "E:/MYDSP/DEC5402V31/c/led_flash/Debug/CVECTORS.obj" "D:/led_flash/INRAM.cmd"  undefined first referenced  symbol       in file      ——— —————- main                      error: unresolved symbols remainwarning: entry-point symbol "main" undefinederror: errors encountered during linking; "D:/led_flash/Debug/led_flash.out"   not built>> Compilation failuregmake: *** [D:/led_flash/Debug/led_flash.out] Error 1gmake: Target `all' not remade because of errors.Build complete for project flash_led

noaming:

回复 jing pan:

是自己的工程啊,怎么没头文件呢。。。

jing pan:

回复 noaming:

 Error connecting to the target: Error 0x80002240/-151 Fatal Error during: Initialization, OCS, Control,    编译时提示的错误是这个,头文件是这个已附上

赞(0)
未经允许不得转载:TI中文支持网 » dsp编译出错
分享到: 更多 (0)