This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ccs build error

I have used control card tmsf2808 and working on digital power kit.

I would like to know what these error means.


**** Build of configuration Debug for project 2808 ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building target: 2808.out'
'Invoking: C2000 Linker'
"C:/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=0x300 -m"2808.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c2000_6.1.0/lib" -i"C:/ti/ccsv5/tools/compiler/c2000_6.1.0/include" --reread_libs --display_error_number --diag_wrap=off --rom_model -o "2808.out"  "./main.obj" "./TwoChannel-ISR.obj" "./TwoChannel-DevInit.obj" -l"libc.a" "../2808_RAM_lnk.cmd"
<Linking>
warning #10247-D: creating output section "Controller" without a SECTIONS specification
warning #10247-D: creating output section "DataLogTST" without a SECTIONS specification
warning #10247-D: creating output section "GraphData" without a SECTIONS specification
warning #10247-D: creating output section "Net_terminals" without a SECTIONS specification

 undefined       first referenced        
  symbol             in file             
 ---------       ----------------        
 _ADC_DualSeqCNF ./main.obj              
 _AdcMirror      ./main.obj              
 _BuckSingle_CNF ./main.obj              
 _CpuTimer0Regs  ./main.obj              
 _CpuTimer1Regs  ./main.obj              
 _CpuTimer2Regs  ./main.obj              
 _ECap1Regs      ./main.obj              
 _EPwm1Regs      ./main.obj              
 _EPwm2Regs      ./main.obj              
 _EPwm3Regs      ./main.obj              
 _EPwm4Regs      ./main.obj              
 _EPwm5Regs      ./main.obj              
 _EPwm6Regs      ./main.obj              
 _FlashRegs      ./TwoChannel-DevInit.obj
 _GpioCtrlRegs   ./main.obj              
 _GpioDataRegs   ./main.obj              
 _PieCtrlRegs    ./main.obj              
 _PieVectTable   ./main.obj              
 _SpiaRegs       ./main.obj              
 _SysCtrlRegs    ./TwoChannel-DevInit.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "2808.out" not built

>> Compilation failure
gmake: *** [2808.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Hi

    I have posted the code folder in this file.Do help if you can build the file successfully.

    Thank you

    Arun

    TwoChannelBuck.rar
  • Arun,

    Your attachment does not have the complete project/all of the files required for us to try building it. In any case, it looks like you are importing a CCS 3.3 project (as I see a .pjt file in your attachment) into CCSv5 and building. If so, please make sure there were no issues during import and also that all required sources are added or linked to the project. If you look at the .pjt file you can see which source files are used in the project.

    The linker errors you are seeing is because main.c is referencing these symbols but the linker is not able to find definitions for them in any of the object files or libraries. A majority of those symbols are typically defined in the GlobalVariableDefs.c for your device. Make sure that C file is included in your project and getting built. There may still be a symbol or two coming from another source file so make sure you double-check that all required source files and libraries are properly set up.