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.

TMS320F28379D - Unresolved Symbol error

Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Description Resource Path Location Type
#10010 errors encountered during linking; "sysconfig.out" not built sysconfig C/C++ Problem

Description Resource Path Location Type
<a href="file:/C:/ti/ccs1120/ccs/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain sysconfig C/C++ Problem


**** Build of configuration Debug for project sysconfig ****

"C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 4 all -O

Building file: "../main.c"
Invoking: C2000 Compiler
"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/Users/Admin-PC/Desktop/Sysconfig/sysconfig/device" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/device_support/f2837xd/common/source" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/device_support/f2837xd/headers/source" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/device_support/f2837xd/headers/include" --include_path="C:/Users/Admin-PC/Desktop/Sysconfig/sysconfig" --include_path="C:/Users/Admin-PC/Desktop/CCS/sysconfig/sysconfig" --include_path="C:/Users/Admin-PC/Desktop/Sysconfig/sysconfig/sysconfig" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --advice:performance=all --define=_FLASH --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
Finished building: "../main.c"

Building target: "sysconfig.out"
Invoking: C2000 Linker
"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --advice:performance=all --define=_FLASH --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi -z -m"sysconfig.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib" -i"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="sysconfig_linkInfo.xml" --rom_model -o "sysconfig.out" "./main.obj" "./device/F2837xD_CodeStartBranch.obj" "./device/device.obj" "./sysconfig/f2837xd_pinmux.obj" "../2837x_FLASH_lnk_cpu1.cmd" "C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f2837xd/driverlib/ccs/Debug/driverlib.lib" -llibc.a -l"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_ml.lib" -l"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_fpu32.lib"
<Linking>

undefined first referenced
symbol in file
--------- ----------------
_GpioCtrlRegs ./sysconfig/f2837xd_pinmux.obj

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

>> Compilation failure
makefile:151: recipe for target 'sysconfig.out' failed
gmake[1]: *** [sysconfig.out] Error 1
makefile:147: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

  • Hello Sivaraman,

    undefined first referenced
    symbol in file
    --------- ----------------
    _GpioCtrlRegs ./sysconfig/f2837xd_pinmux.obj

    The variable/struct used here is not defined in the context of this project, this is the source of the error. Are you trying to use bitfields with SysConfig/driverlib? It looks like the sysconfig folder is something you created, so I assume the f2837xd_pinmux file is also something as part of your project independent of SysConfig/bitfields? I recommend either just using driverlib/SysConfig or just using bitfields, mixing them both can create a very complex project setup which are a hassle to resolve.

  • Thank you for your suggestion, Omer  .

    I resolved my errors.