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.

Linking Issue in TMS320c6416 execution on CCSv4

Hi

I migrated ccsv3 c6416 project to ccsv4 c6416 project.

I converted .cdb file to .tcf file using cdb2tcf utility.

I am getting two errors, when I tried to compile project on CCSv4.

1). errors encountered during linking; "D:/project/DSP.out" not built 
2). unresolved symbol c_int00

below are the project setting

1). Original .cdb file I excluded from project
2). linker command file I excluded from project
3). generated .tcf file included to the project
4). csl6416.lib and rts64plus.lib file added to the project

Plz anyone help me to resolve this compilation error.

-Pankaj

  • Hi Pankaj,

    Pankaj Choudhary said:
    1). errors encountered during linking; "D:/project/DSP.out" not built 
    2). unresolved symbol c_int00

    c_int00 is defined in the RTS lib. BIOS usually generates a cmd file that will pull in the correct library. Note that rts64plus.lib is not the correct library for c6416. You should be using rts6400.lib instead. But the generated cmd file should pull that in.

    In any case, it is unable to reference the RTS library. Not sure why. Providing a test case would help (or at least all your build options). Also provide what version of CCSv4, BIOS and CGT is being used.

    Thanks

    ki

  • Hi Ki

    Thanks for reply.

    I added rts6400.lib instead of rts64plus.lib but still getting same error.

    DSP : C6416
    CCS : 4.2.5
    BIOS : previously it was .cdb file(4.9.270), I converted to .tcf file(5.41.10.36) using cdb2tcf utility.
    CGT : 7.2.8
    Run time support library : rts6400.lib

    -Pankaj

  • Below Error, I am getting

    undefined first referenced
      symbol       in file     
     --------- ----------------
     c_int00                   

    error: unresolved symbols remain
    warning: entry-point symbol "c_int00" undefined
    error: errors encountered during linking;

    I don't know, this error is coming from which file.
    -> because of newly generated .tcf file
    -> because of library mismatch
    or something else.

    Please guide me.

    -Pankaj

  • Ki-Soo Lee said:
    Providing a test case would help (or at least all your build options). Also provide what version of CCSv4

    Can you provide this also?

    Thanks

    ki

  • Hi Ki

    Thanks for the reply and below are the build option.

    C6000 Compiler Build Option:

    -mv6400 -g --define="L1_CODE_BASE" --define=_DSPC6XXX --define="AX_3_0" --define="NEW_TRANSPORT_LAYER" --define="REMOVE_KERNEL_STATS" --define="_DEBUG" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 7.2.8/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 7.2.8/include" --include_path="D:/Pankaj_Work/Project/MY_TI_PROJECT/1/Debug" --include_path="C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/bios/include" --include_path="C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/rtdx/include/c6000" --include_path="D:/Pankaj_Work/Project/csl_6416/include" --include_path="D:/Pankaj_Work/Project/DSP/INC" --diag_warning=225 --abi=coffabi

    C6000 Linker Build Option:

    -z -m"Test_Project.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 7.2.8/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 7.2.8/include" -i"C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/rtdx/lib/c6000" -i"C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/bios/lib" --reread_libs --entry_point=c_int00 --rom_model

    Code Composer Studio

     Version: 4.2.5.00005

    Regards

    Pankaj Choudhary