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.

LAUNCHXL-F28377S: error #10234-D: unresolved symbols remain

Part Number: LAUNCHXL-F28377S

Hi All,

I meet following errors;

undefined first referenced
symbol in file
--------- ----------------
_ClkCfgRegs ./init.obj
_ConfigCpuTimer ./init.obj
_CpuTimer0 ./init.obj
_CpuTimer0Regs ./init.obj
_EPwm1Regs ./ctrl_tdc.obj
_EPwm2Regs ./ctrl_tdc.obj
_F28x_usDelay ./ctrl_tdc.obj
_GPIO_SetupPinMux ./init.obj
_GPIO_SetupPinOptions ./init.obj
_GPIO_WritePin ./ctrl_init_err.obj
_GpioCtrlRegs ./init.obj
_GpioDataRegs ./ctrl_init_err.obj
_InitCpuTimers ./init.obj
_InitGpio ./init.obj
_InitPieCtrl ./init.obj
_InitPieVectTable ./init.obj
_InitSysCtrl ./init.obj
_IntDisable ./ctrl_spi.obj
_IntEnable ./ctrl_apd.obj
_PieCtrlRegs ./init.obj
_PieVectTable ./init.obj
_SFO ./init.obj
_SpiaRegs ./util.obj
_SpibRegs ./util.obj
_g_TDC_EN_MEASURE ./ctrl_dsp.obj
_init_err ./init.obj
_init_msr ./init.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking;

I seeks solution and find thread;

https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/195768

I do not know which file must be set on linker. Can anyone address which file or dir should I set on linker option?

Best,

Takano

  • for example, where is the entity of the ClkCfgRegs ?
    There is no information about entity for all of above...

    Best,
    Takano
  • Hi Takano-san,

    First of all, which example project is this? From where did you import and which CCS version do you use currently?

    Regards,
    Gautam
  • Hi Iyer-san,

    At first I would like to write appreciate to you, because of this theme is difficult to explain, I think.

    I started from no example code, from a scratch. Other engineer started to code spi communication with a special configuration (multiple spis for single protocol). I used his code and embeded into my code using, spi, pwm, timer with interrupt, and etc. After that now I meet such the error, and now I can not remake (reproduce) same error because of I changed "--preinclude", and did not take memo for it so I can not make previous setting in now.
    After removed "--preinclude", I meet following errors in now;

    "C:\ti\controlSUITE\device_support\F2837xS\v210\F2837xS_headers\include\F2837xS_can.h", line 530: error #2638: The alignment of an array element is greater than the element size

    I have a little bit confusion, why the removing --preinclude made such the errrors...

    In order to solve current error, if you need other information, I will present here as possible.

    Thanks and Regards,
    Takano
  • Now I reproduced same error of ;

    <Linking>

    undefined first referenced
    symbol in file
    --------- ----------------
    _ClkCfgRegs ./init.obj
    _ConfigCpuTimer ./init.obj
    _CpuTimer0 ./init.obj
    _CpuTimer0Regs ./init.obj
    _EPwm1Regs ./ctrl_tdc.obj
    _EPwm2Regs ./ctrl_tdc.obj
    _F28x_usDelay ./ctrl_tdc.obj
    _GPIO_SetupPinMux ./init.obj
    _GPIO_SetupPinOptions ./init.obj
    _GPIO_WritePin ./ctrl_init_err.obj
    _GpioCtrlRegs ./init.obj
    _GpioDataRegs ./ctrl_init_err.obj
    _InitCpuTimers ./init.obj
    _InitGpio ./init.obj
    _InitPieCtrl ./init.obj
    _InitPieVectTable ./init.obj
    _InitSysCtrl ./init.obj
    _IntDisable ./ctrl_spi.obj
    _IntEnable ./ctrl_apd.obj
    _PieCtrlRegs ./init.obj
    _PieVectTable ./init.obj
    _SFO ./init.obj
    _SpiaRegs ./util.obj
    _SpibRegs ./util.obj
    _g_TDC_EN_MEASURE ./ctrl_dsp.obj
    _init_err ./init.obj
    _init_msr ./init.obj

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking;

    Regards,
    Takano
  • CCS version is Version: 7.1.0.00016
  • Regarding bellow entities, F2837xS_Gpio.c describes the entities, not a central file but it is distributed in the directory.
    _GPIO_SetupPinMux ./init.obj
    _GPIO_SetupPinOptions ./init.obj
    _GPIO_WritePin ./ctrl_init_err.obj

    I think that checking sample code's files in the project have or not have such the entity portion is required.
    So, I need information about which file and where is the directory above items have each entity.
    Does anyone have such the information, I believe TI member have such information because of management of source code.

    However, I can not image how link between the fie and source code in sample code, for example, blinky example have F2837xS_Gpio.c but I do not understand how to link between source code and the file . Is it based on a linking option in property?

    Best,
    Takano
  • Hi,

    If showing a map between the function made the linking error and its location or file name, then how to find out such the map?
    If difficult to find, how to solve my situation?

    Anyway how to link if I found a file?

    Best,
    Takano
  • Hi Takano-san,

    To link a file, right click on your project in the Project Explorer pane and select Add Files... Navigate to the
    directory and select the file you want to link. Copy the file if you're planning to modify it or link the file if you will not modify it.

    This step is described in Chapter 2 of the F2837xS  Firmware Development Package User's Guide found in controlSUITE and C2000Ware. The user guide lists files that need to be linked when using the example projects.
    User's guide found in: C:\ti\controlSUITE\device_support\F2837xS\v210\doc

    Regards,
    Elizabeth