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.

6678 mpeg2dec

Other Parts Discussed in Thread: SYSBIOS

Hi

I am trying the mpeg2 decoder case for TI 6678 evm board but there is a problem during the linking.

Below is the error message:


**** Build of configuration Debug for project mpeg2dec ****

C:\Program Files\Texas Instruments\ccsv5\utils\gmake\gmake -k all
'Building target: mpeg2dec.out'
'Invoking: C6000 Linker'
"C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --diag_warning=225 --abi=eabi -z -m"mpeg2dec.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/lib" -i"C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib" -i"C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "mpeg2dec.out" -l"./configPkg/linker.cmd"  "./tsc_h.obj" "./testappconfigparser.obj" "./edmaConfig.obj" "./buffermanager.obj" "./bios_rts.obj" "./alg_malloc.obj" "./alg_create.obj" "./alg_control.obj" "./TestAppDecoder.obj" -l"libc.a" -l"C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib\mpeg2vdec_ti.le66" "../Mpeg2vdecApp6678.cmd"
<Linking>
error: cannot find file "./configPkg/linker.cmd"
"../Mpeg2vdecApp6678.cmd", line 37: warning: memory range not found: L2SRAM on
   page 0
"../Mpeg2vdecApp6678.cmd", line 37: error: no valid memory range(NULL)
   available for placement of ".cio"
"../Mpeg2vdecApp6678.cmd", line 37: error: run placement fails for object
   ".cio", size 0x120 (page 0)
"../Mpeg2vdecApp6678.cmd", line 38: warning: memory range not found: L2SRAM on
   page 0
"../Mpeg2vdecApp6678.cmd", line 38: error: no valid memory range(NULL)
   available for placement of ".switch"
"../Mpeg2vdecApp6678.cmd", line 38: error: placement fails for object
   ".switch", size 0xd0 (page 0)
"../Mpeg2vdecApp6678.cmd", line 39: warning: memory range not found: L2SRAM on
   page 0
"../Mpeg2vdecApp6678.cmd", line 39: error: run placement fails for object
   ".INTMEM_HEAP", size 0x0 (page 0)
"../Mpeg2vdecApp6678.cmd", line 44: warning: memory range not found: L2SRAM on
   page 0
"../Mpeg2vdecApp6678.cmd", line 44: error: run placement fails for object
   ".intmem_dma", size 0x0 (page 0)
"../Mpeg2vdecApp6678.cmd", line 45: warning: memory range not found: L2SRAM on
   page 0
"../Mpeg2vdecApp6678.cmd", line 45: error: run placement fails for object
   ".intmem", size 0x0 (page 0)
"../Mpeg2vdecApp6678.cmd", line 46: warning: memory range not found: L2SRAM on
   page 0
"../Mpeg2vdecApp6678.cmd", line 46: error: run placement fails for object
   "ISRAM", size 0x0 (page 0)

 undefined                                 first referenced                                                                                                               
  symbol                                       in file                                                                                                                    
 ---------                                 ----------------                                                                                                               
 ECPY_activate                             C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib\mpeg2vdec_ti.le66
 ECPY_createHandle                         C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib\mpeg2vdec_ti.le66
 ECPY_deleteHandle                         C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib\mpeg2vdec_ti.le66
 ECPY_directConfigure                      C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib\mpeg2vdec_ti.le66
 ECPY_directSetFinal                       C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib\mpeg2vdec_ti.le66
 ECPY_directStartEdma                      C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib\mpeg2vdec_ti.le66
 ECPY_directWait                           C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib\mpeg2vdec_ti.le66
 ECPY_setEarlyCompletionMode               C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib\mpeg2vdec_ti.le66
 EDMA3_PARAMS                              ./TestAppDecoder.obj                                                                                                           
 Ipc_start                                 ./TestAppDecoder.obj                                                                                                           
 MultiProc_getId                           ./TestAppDecoder.obj                                                                                                           
 MultiProc_setLocalId                      ./TestAppDecoder.obj                                                                                                           
 RMAN_activateAllResources                 ./TestAppDecoder.obj                                                                                                           
 RMAN_assignResources                      ./TestAppDecoder.obj                                                                                                           
 RMAN_deactivateAllResources               ./TestAppDecoder.obj                                                                                                           
 RMAN_exit                                 ./TestAppDecoder.obj                                                                                                           
 RMAN_freeResources                        ./TestAppDecoder.obj                                                                                                           
 RMAN_init                                 ./TestAppDecoder.obj                                                                                                           
 TSC_enable                                ./TestAppDecoder.obj                                                                                                           
 TSC_read                                  ./TestAppDecoder.obj                                                                                                           
 ti_sysbios_BIOS_start__E                  ./TestAppDecoder.obj                                                                                                           
 ti_sysbios_family_c66_Cache_getMar__E     ./TestAppDecoder.obj                                                                                                           
 ti_sysbios_family_c66_Cache_inv__E        ./TestAppDecoder.obj                                                                                                           
 ti_sysbios_family_c66_Cache_setMar__E     ./TestAppDecoder.obj                                                                                                           
 ti_sysbios_family_c66_Cache_setSize__E    ./TestAppDecoder.obj                                                                                                           
 ti_sysbios_family_c66_Cache_wbInvAll__E   ./TestAppDecoder.obj                                                                                                           
 ti_sysbios_family_c66_Cache_wbInv__E      ./TestAppDecoder.obj                                                                                                           
 ti_sysbios_knl_Task_Object__create__S     ./TestAppDecoder.obj                                                                                                           
 ti_sysbios_knl_Task_Params__init__S       ./TestAppDecoder.obj                                                                                                           
 xdc_runtime_Main_Module__diagsEnabled__C  ./TestAppDecoder.obj                                                                                                           
 xdc_runtime_Main_Module__diagsIncluded__C ./TestAppDecoder.obj                                                                                                           
 xdc_runtime_Main_Module__diagsMask__C     ./TestAppDecoder.obj                                                                                                           
 xdc_runtime_Main_Module__id__C            ./TestAppDecoder.obj                                                                                                           
 xdc_runtime_Main_Module__loggerDefined__C ./TestAppDecoder.obj                                                                                                           
 xdc_runtime_Main_Module__loggerFxn1__C    ./TestAppDecoder.obj                                                                                                           
 xdc_runtime_Main_Module__loggerObj__C     ./TestAppDecoder.obj                                                                                                           
 xdc_runtime_System_abort__E               ./TestAppDecoder.obj                                                                                                           
 xdc_runtime_System_printf__E              ./TestAppDecoder.obj                                                                                                           
 xdc_runtime_System_sprintf__E             ./TestAppDecoder.obj                                                                                                           

error: unresolved symbols remain

error: errors encountered during linking; "mpeg2dec.out" not built
>> Compilation failure
gmake: *** [mpeg2dec.out] Error 1
gmake: Target `all' not remade because of errors.

I linked the library mpeg2vdec_ti.le66 using "C6000 Linker" -> "File Search Path" -> "Include library file".

Can someone help me to figure out what's going on?

Is it a linking problem or something else?

Thanks.

  • You logs states:

    error: cannot find file "./configPkg/linker.cmd"

    I assume you have a *.cfg that is part of your project?  This *.cfg file is what creates the "./configPkg/linker.cmd".
    Looks to me like there must have been some problem with your *.cfg file because the linker.cmd file is missing.

    You log does not show the part where is tries to build the *.cfg file.  Can you try a clean and rebuild of the project?

    Judah

  • Hi

    Thanks for your suggestions. There is some progress for me but some errors are still not cleaned.

    Below is the error message:


    **** Build of configuration Debug for project mpeg2dec ****

    C:\Program Files\Texas Instruments\ccsv5\utils\gmake\gmake -k all
    'Building file: ../Mpeg2vdecApp6678.cfg'
    'Invoking: XDCtools'
    "C:/Program Files/Texas Instruments/xdctools_3_22_00_09/xs" --xdcpath="C:/Program Files/Texas Instruments/bios_6_31_04_27/packages;C:/Program Files/Texas Instruments/ipc_1_22_03_23/packages;C:/Program Files/Texas Instruments/framework_components_3_20_02_29/packages;C:/Program Files/Texas Instruments/framework_components_3_20_02_29/examples;C:/Program Files/Texas Instruments/xdais_7_20_00_07/packages;C:/Program Files/Texas Instruments/xdais_7_20_00_07/examples;C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r debug -c "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000" "../Mpeg2vdecApp6678.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring Mpeg2vdecApp6678.pe66 from package/cfg/Mpeg2vdecApp6678_pe66.cfg ...
    Auto-registering resource manager for EDMA3CHAN


    remark: the selected profile (debug) does not generate optimized code.  'debug' and 'release' profiles should only be used for source-level debugging of BIOS code.  While these profiles build faster, the code runs slower and requires extra stack space.  'whole_program' profile is recommended for optimized code.


    Inside EDMA3 RM getLibs
        will link with ti.sdo.edma3.rm:lib/generic/Debug/ti.sdo.edma3.rm.ae66
    cle66 package/cfg/Mpeg2vdecApp6678_pe66.c ...
    'Finished building: ../Mpeg2vdecApp6678.cfg'
    ' '
    'Building file: ../TestAppDecoder.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\xdais_7_20_00_07\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\xdctools_3_22_00_09\packages" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Inc" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Client\Test\Inc" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="TestAppDecoder.pp" --cmd_file="./configPkg/compiler.opt"  "../TestAppDecoder.c"
    'Finished building: ../TestAppDecoder.c'
    ' '
    'Building file: ../alg_control.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\xdais_7_20_00_07\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\xdctools_3_22_00_09\packages" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Inc" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Client\Test\Inc" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="alg_control.pp" --cmd_file="./configPkg/compiler.opt"  "../alg_control.c"
    'Finished building: ../alg_control.c'
    ' '
    'Building file: ../alg_create.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\xdais_7_20_00_07\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\xdctools_3_22_00_09\packages" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Inc" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Client\Test\Inc" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="alg_create.pp" --cmd_file="./configPkg/compiler.opt"  "../alg_create.c"
    'Finished building: ../alg_create.c'
    ' '
    'Building file: ../alg_malloc.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\xdais_7_20_00_07\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\xdctools_3_22_00_09\packages" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Inc" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Client\Test\Inc" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="alg_malloc.pp" --cmd_file="./configPkg/compiler.opt"  "../alg_malloc.c"
    'Finished building: ../alg_malloc.c'
    ' '
    'Building file: ../bios_rts.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\xdais_7_20_00_07\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\xdctools_3_22_00_09\packages" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Inc" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Client\Test\Inc" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="bios_rts.pp" --cmd_file="./configPkg/compiler.opt"  "../bios_rts.c"
    At end of source: warning: a translation unit must contain at least one declaration
    'Finished building: ../bios_rts.c'
    ' '
    'Building file: ../buffermanager.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\xdais_7_20_00_07\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\xdctools_3_22_00_09\packages" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Inc" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Client\Test\Inc" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="buffermanager.pp" --cmd_file="./configPkg/compiler.opt"  "../buffermanager.c"
    'Finished building: ../buffermanager.c'
    ' '
    'Building file: ../edmaConfig.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\xdais_7_20_00_07\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\xdctools_3_22_00_09\packages" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Inc" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Client\Test\Inc" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="edmaConfig.pp" --cmd_file="./configPkg/compiler.opt"  "../edmaConfig.c"
    'Finished building: ../edmaConfig.c'
    ' '
    'Building file: ../testappconfigparser.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\xdais_7_20_00_07\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\xdctools_3_22_00_09\packages" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Inc" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Client\Test\Inc" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="testappconfigparser.pp" --cmd_file="./configPkg/compiler.opt"  "../testappconfigparser.c"
    'Finished building: ../testappconfigparser.c'
    ' '
    'Building file: ../tsc_h.asm'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\xdais_7_20_00_07\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_04_27\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\xdctools_3_22_00_09\packages" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Inc" --include_path="C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\App\Client\Test\Inc" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="tsc_h.pp" --cmd_file="./configPkg/compiler.opt"  "../tsc_h.asm"
    'Finished building: ../tsc_h.asm'
    ' '
    'Building target: mpeg2dec.out'
    'Invoking: C6000 Linker'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --diag_warning=225 --abi=eabi -z -m"mpeg2dec.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/lib" -i"C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "mpeg2dec.out" -l"./configPkg/linker.cmd"  "./tsc_h.obj" "./testappconfigparser.obj" "./edmaConfig.obj" "./buffermanager.obj" "./bios_rts.obj" "./alg_malloc.obj" "./alg_create.obj" "./alg_control.obj" "./TestAppDecoder.obj" -l"libc.a" -l"C:\Program Files\Texas Instruments\Codecs\C66x_mpeg2vdec_02_02_00_02_ELF\packages\ti\sdo\codecs\mpeg2vdec\lib\mpeg2vdec_ti.le66"
    <Linking>
    warning: creating output section ".INTMEM_HEAP" without a SECTIONS
       specification
    warning: creating output section ".cio" without a SECTIONS specification
    warning: creating output section ".const" without a SECTIONS specification
    warning: creating output section ".far" without a SECTIONS specification
    warning: creating output section ".input_buffer" without a SECTIONS
       specification
    warning: creating output section ".ref_buffer" without a SECTIONS
       specification
    warning: creating output section ".switch" without a SECTIONS specification
    warning: creating output section ".cinit" without a SECTIONS specification

     undefined  first referenced    
      symbol        in file         
     ---------  ----------------    
     TSC_enable ./TestAppDecoder.obj
     TSC_read   ./TestAppDecoder.obj

    error: unresolved symbols remain
    error: errors encountered during linking; "mpeg2dec.out" not built

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

    Do you know where I can find TSC_enable() and TSC_read() ?

    Are they in the library called mpeg2vdec_ti.le66?

    Thanks a lot.

  • Sorry, I don't know where those TSC_xxx functions are coming from.  I know they are not coming from BIOS or IPC or XDC.

    Those warnings are saying you have output sections called ".cio", ".const", etc... but you are not placing them anywhere in your *.cmd file.
    The weird thing is by default these are being placed by XDC generated linker command file so do you know if your *.cmd has these removed?

    Judah