[quote user="miller zhang"]'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="DSP2803x_GlobalVariableDefs.pp" "../DSP2803x_GlobalVariableDefs.c"
[/quote]
If you look closely at the compile command line, you will notice that some files are being told to be treated as C files when they are in fact not C files. Notice the option --c_file and see that the .cmd file and .gel files are being passed to it. This tells the compiler that these files are C source files, when in fact they are not.
Please go into the Project Properties and remove these files from the --c_file option (they will be under Compiler->File Type Specifier). There is also no need for the DSP2803x_CodeStartBranch.asm and DSP2803x_usDelay.asm to be passed to --asm_file option. They will automatically be treated as assembly files due to the .asm extension. But in this case it wouldn't do any harm either to leave it there either.
Let us know if you continue to have build errors after making this change.