| |
请各位大侠,帮助指点一二。我目前遇到如下编译问题(主要遇到error #10008-d和error #10021-d),无法理解。谢谢
**** Build of configuration Debug for project DEC6713_SDRAM ****
"D:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: E:/learn_codes/ti/DEC6713_SDRAM/DEC6713_SDRAM.c'
'Invoking: C6000 Compiler'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6700 --abi=coffabi -g --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" --include_path="D:/ti/bios_5_42_00_07/packages/ti/bios/include" --include_path="D:/ti/bios_6_34_02_18/packages/ti/bios/include" --include_path="D:/ti/C64_dspLIB_examples/DSPLIB/include" --include_path="E:/learn_codes/ti/DEC6713_SDRAM/include" --include_path="D:/ti/cslc6000/include" --include_path="D:/ti/c6700/dsplib/include" --include_path="D:/ti/lib" --include_path="D:/ti/ccsv5/ccs_base/c6000/include" --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.1/lib" --include_path="D:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="/include" --include_path="f:/dec6713/soft design/programme2.0/DEC6713_SDRAM/include" --define="CHIP_6713" --define=c6713 --quiet --display_error_number --obj_directory="f:/dec6713/soft design/programme2.0/DEC6713_SDRAM/Debug" --preproc_with_compile --preproc_dependency="DEC6713_SDRAM.pp" "E:/learn_codes/ti/DEC6713_SDRAM/DEC6713_SDRAM.c"
"D:\ti\bios_5_42_00_07\packages\ti\bios\include\tistdtypes.h", line 47: warning #303-D: typedef name has already been declared (with same type)
"D:\ti\bios_5_42_00_07\packages\ti\bios\include\tistdtypes.h", line 48: warning #303-D: typedef name has already been declared (with same type)
"D:\ti\bios_5_42_00_07\packages\ti\bios\include\tistdtypes.h", line 49: warning #303-D: typedef name has already been declared (with same type)
"D:\ti\bios_5_42_00_07\packages\ti\bios\include\tistdtypes.h", line 52: warning #303-D: typedef name has already been declared (with same type)
"D:\ti\bios_5_42_00_07\packages\ti\bios\include\tistdtypes.h", line 53: warning #303-D: typedef name has already been declared (with same type)
"D:\ti\bios_5_42_00_07\packages\ti\bios\include\tistdtypes.h", line 54: warning #303-D: typedef name has already been declared (with same type)
"E:/learn_codes/ti/DEC6713_SDRAM/DEC6713_SDRAM.c", line 65: warning #225-D: function declared implicitly
'Finished building: E:/learn_codes/ti/DEC6713_SDRAM/DEC6713_SDRAM.c'
' '
'Building target: E:/learn_codes/ti/DEC6713_SDRAM/DEC6713_SDRAM/../Debug/DEC6713_SDRAM.out'
'Invoking: C6000 Linker'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6700 --abi=coffabi -g --define="CHIP_6713" --define=c6713 --quiet --display_error_number --obj_directory="f:/dec6713/soft design/programme2.0/DEC6713_SDRAM/Debug" -z --stack_size=0x800 -m"E:/learn_codes/ti/DEC6713_SDRAM/Debug/DEC6713_SDRAM.map" --heap_size=0x800 -i"D:/ti/ccsv5/tools/compiler/c6000_7.4.1/lib" -i"D:/ti/cslc6000/lib" -i"D:/ti/bios_6_34_02_18/packages/ti/bios/lib/release" -i"D:/ti/bios_6_34_02_18/packages/ti/sysbios/lib/sysbios" -i"D:/ti/ccsv5/tools/compiler/c6000_7.4.1/lib" -i"E:/learn_codes/ti/DEC6713_SDRAM/include" -i"D:/ti/cslc6000/lib" -i"D:/ti/cslc6000/include" -i"D:/ti/ccsv5/tools/compiler/c6000_7.4.1/include" -i"E:/learn_codes/ti/DEC6713_SDRAM/DEC6713_SDRAM" -i"E:/learn_codes/ti/DEC6713_SDRAM" -i"/lib" --reread_libs --warn_sections --display_error_number --rom_model -o "E:/learn_codes/ti/DEC6713_SDRAM/DEC6713_SDRAM/../Debug/DEC6713_SDRAM.out" "f:/dec6713/soft design/programme2.0/DEC6713_SDRAM/Debug/vecs.obj" "f:/dec6713/soft design/programme2.0/DEC6713_SDRAM/Debug/DEC6713_SDRAM.obj" "f:/dec6713/soft design/programme2.0/DEC6713_SDRAM/Debug/DEC6713.obj" -l"rts6700.lib" -l"D:\ti\cslc6000\lib\csl6713.lib" -l"E:\learn_codes\ti\DEC6713_SDRAM\include\DEC6713.h" -l"D:\ti\cslc6000\lib\csl6713.lib" -l"D:\ti\cslc6000\lib\csl6713e.lib" -l"D:\ti\ccsv5\ccs_base\c6000\include\C6713.cmd" -l"csl6713.lib" -l"libc.a" "../C6713.cmd" "E:/learn_codes/ti/DEC6713_SDRAM/SDRAM.cmd"
"D:/ti/cslc6000/include/csl_stdinc.h", line 48: error #10008-D: cannot find
file "typedef"
"D:/ti/cslc6000/include/csl_stdinc.h", line 48: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_stdinc.h", line 48: error #10008-D: cannot find
file "char"
"D:/ti/cslc6000/include/csl_stdinc.h", line 48: error #10008-D: cannot find
file "Uint8"
"D:/ti/cslc6000/include/csl_stdinc.h", line 48: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_stdinc.h", line 49: error #10008-D: cannot find
file "typedef"
"D:/ti/cslc6000/include/csl_stdinc.h", line 49: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_stdinc.h", line 49: error #10008-D: cannot find
file "short"
"D:/ti/cslc6000/include/csl_stdinc.h", line 49: error #10008-D: cannot find
file "Uint16"
"D:/ti/cslc6000/include/csl_stdinc.h", line 49: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_stdinc.h", line 50: error #10008-D: cannot find
file "typedef"
"D:/ti/cslc6000/include/csl_stdinc.h", line 50: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_stdinc.h", line 50: error #10008-D: cannot find
file "int"
"D:/ti/cslc6000/include/csl_stdinc.h", line 50: error #10008-D: cannot find
file "Uint32"
"D:/ti/cslc6000/include/csl_stdinc.h", line 50: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_stdinc.h", line 51: error #10008-D: cannot find
file "typedef"
"D:/ti/cslc6000/include/csl_stdinc.h", line 51: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_stdinc.h", line 51: error #10008-D: cannot find
file "long"
"D:/ti/cslc6000/include/csl_stdinc.h", line 51: error #10008-D: cannot find
file "Uint40"
"D:/ti/cslc6000/include/csl_stdinc.h", line 51: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_stdinc.h", line 52: error #10008-D: cannot find
file "typedef"
"D:/ti/cslc6000/include/csl_stdinc.h", line 52: error #10008-D: cannot find
file "char"
"D:/ti/cslc6000/include/csl_stdinc.h", line 52: error #10008-D: cannot find
file "Int8"
"D:/ti/cslc6000/include/csl_stdinc.h", line 52: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_stdinc.h", line 53: error #10008-D: cannot find
file "typedef"
"D:/ti/cslc6000/include/csl_stdinc.h", line 53: error #10008-D: cannot find
file "short"
"D:/ti/cslc6000/include/csl_stdinc.h", line 53: error #10008-D: cannot find
file "Int16"
"D:/ti/cslc6000/include/csl_stdinc.h", line 53: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_stdinc.h", line 54: error #10008-D: cannot find
file "typedef"
"D:/ti/cslc6000/include/csl_stdinc.h", line 54: error #10008-D: cannot find
file "int"
"D:/ti/cslc6000/include/csl_stdinc.h", line 54: error #10008-D: cannot find
file "Int32"
"D:/ti/cslc6000/include/csl_stdinc.h", line 54: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_stdinc.h", line 55: error #10008-D: cannot find
file "typedef"
"D:/ti/cslc6000/include/csl_stdinc.h", line 55: error #10008-D: cannot find
file "long"
"D:/ti/cslc6000/include/csl_stdinc.h", line 55: error #10008-D: cannot find
file "Int40"
"D:/ti/cslc6000/include/csl_stdinc.h", line 55: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_chiphal.h", line 263: error #19023-D: #error 'NO
CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201)'
"D:/ti/cslc6000/include/csl_chiphal.h", line 411: error #10008-D: cannot find
file "extern"
"D:/ti/cslc6000/include/csl_chiphal.h", line 411: error #10008-D: cannot find
file "far"
"D:/ti/cslc6000/include/csl_chiphal.h", line 411: error #10008-D: cannot find
file "cregister"
"D:/ti/cslc6000/include/csl_chiphal.h", line 411: error #10008-D: cannot find
file "volatile"
"D:/ti/cslc6000/include/csl_chiphal.h", line 411: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_chiphal.h", line 411: error #10008-D: cannot find
file "int"
"D:/ti/cslc6000/include/csl_chiphal.h", line 411: error #10008-D: cannot find
file "CSR"
"D:/ti/cslc6000/include/csl_chiphal.h", line 411: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_chiphal.h", line 539: error #10008-D: cannot find
file "extern"
"D:/ti/cslc6000/include/csl_chiphal.h", line 539: error #10008-D: cannot find
file "far"
"D:/ti/cslc6000/include/csl_chiphal.h", line 539: error #10008-D: cannot find
file "cregister"
"D:/ti/cslc6000/include/csl_chiphal.h", line 539: error #10008-D: cannot find
file "volatile"
"D:/ti/cslc6000/include/csl_chiphal.h", line 539: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_chiphal.h", line 539: error #10008-D: cannot find
file "int"
"D:/ti/cslc6000/include/csl_chiphal.h", line 539: error #10008-D: cannot find
file "IFR"
"D:/ti/cslc6000/include/csl_chiphal.h", line 539: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_chiphal.h", line 578: error #10008-D: cannot find
file "extern"
"D:/ti/cslc6000/include/csl_chiphal.h", line 578: error #10008-D: cannot find
file "far"
"D:/ti/cslc6000/include/csl_chiphal.h", line 578: error #10008-D: cannot find
file "cregister"
"D:/ti/cslc6000/include/csl_chiphal.h", line 578: error #10008-D: cannot find
file "volatile"
"D:/ti/cslc6000/include/csl_chiphal.h", line 578: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_chiphal.h", line 578: error #10008-D: cannot find
file "int"
"D:/ti/cslc6000/include/csl_chiphal.h", line 578: error #10008-D: cannot find
file "ISR"
"D:/ti/cslc6000/include/csl_chiphal.h", line 578: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_chiphal.h", line 617: error #10008-D: cannot find
file "extern"
"D:/ti/cslc6000/include/csl_chiphal.h", line 617: error #10008-D: cannot find
file "far"
"D:/ti/cslc6000/include/csl_chiphal.h", line 617: error #10008-D: cannot find
file "cregister"
"D:/ti/cslc6000/include/csl_chiphal.h", line 617: error #10008-D: cannot find
file "volatile"
"D:/ti/cslc6000/include/csl_chiphal.h", line 617: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_chiphal.h", line 617: error #10008-D: cannot find
file "int"
"D:/ti/cslc6000/include/csl_chiphal.h", line 617: error #10008-D: cannot find
file "ICR"
"D:/ti/cslc6000/include/csl_chiphal.h", line 617: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_chiphal.h", line 656: error #10008-D: cannot find
file "extern"
"D:/ti/cslc6000/include/csl_chiphal.h", line 656: error #10008-D: cannot find
file "far"
"D:/ti/cslc6000/include/csl_chiphal.h", line 656: error #10008-D: cannot find
file "cregister"
"D:/ti/cslc6000/include/csl_chiphal.h", line 656: error #10008-D: cannot find
file "volatile"
"D:/ti/cslc6000/include/csl_chiphal.h", line 656: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_chiphal.h", line 656: error #10008-D: cannot find
file "int"
"D:/ti/cslc6000/include/csl_chiphal.h", line 656: error #10008-D: cannot find
file "IER"
"D:/ti/cslc6000/include/csl_chiphal.h", line 656: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_chiphal.h", line 696: error #10008-D: cannot find
file "extern"
"D:/ti/cslc6000/include/csl_chiphal.h", line 696: error #10008-D: cannot find
file "far"
"D:/ti/cslc6000/include/csl_chiphal.h", line 696: error #10008-D: cannot find
file "cregister"
"D:/ti/cslc6000/include/csl_chiphal.h", line 696: error #10008-D: cannot find
file "volatile"
"D:/ti/cslc6000/include/csl_chiphal.h", line 696: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_chiphal.h", line 696: error #10008-D: cannot find
file "int"
"D:/ti/cslc6000/include/csl_chiphal.h", line 696: error #10008-D: cannot find
file "ISTP"
"D:/ti/cslc6000/include/csl_chiphal.h", line 696: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_chiphal.h", line 741: error #10008-D: cannot find
file "extern"
"D:/ti/cslc6000/include/csl_chiphal.h", line 741: error #10008-D: cannot find
file "far"
"D:/ti/cslc6000/include/csl_chiphal.h", line 741: error #10008-D: cannot find
file "cregister"
"D:/ti/cslc6000/include/csl_chiphal.h", line 741: error #10008-D: cannot find
file "volatile"
"D:/ti/cslc6000/include/csl_chiphal.h", line 741: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_chiphal.h", line 741: error #10008-D: cannot find
file "int"
"D:/ti/cslc6000/include/csl_chiphal.h", line 741: error #10008-D: cannot find
file "IRP"
"D:/ti/cslc6000/include/csl_chiphal.h", line 741: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
"D:/ti/cslc6000/include/csl_chiphal.h", line 780: error #10008-D: cannot find
file "extern"
"D:/ti/cslc6000/include/csl_chiphal.h", line 780: error #10008-D: cannot find
file "far"
"D:/ti/cslc6000/include/csl_chiphal.h", line 780: error #10008-D: cannot find
file "cregister"
"D:/ti/cslc6000/include/csl_chiphal.h", line 780: error #10008-D: cannot find
file "volatile"
"D:/ti/cslc6000/include/csl_chiphal.h", line 780: error #10008-D: cannot find
file "unsigned"
"D:/ti/cslc6000/include/csl_chiphal.h", line 780: error #10008-D: cannot find
file "int"
"D:/ti/cslc6000/include/csl_chiphal.h", line 780: error #10008-D: cannot find
file "NRP"
"D:/ti/cslc6000/include/csl_chiphal.h", line 780: error #10021-D: expecting
filename, option, MEMORY, or SECTIONS instead of ";"
fatal error #99900: error limit reached; 100 errors detected
>> Compilation failure
gmake: *** [E:/learn_codes/ti/DEC6713_SDRAM/DEC6713_SDRAM/../Debug/DEC6713_SDRAM.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****