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.

Error: unresolved symbols remain

Other Parts Discussed in Thread: SYSBIOS

Hi,

I downloaded the chip library file and when I compile   CSL_I2C_DmaWordSwapExapmle_Outfollowing instructions in the "C55XCSL-LOWPOWER-2.10.00.00" Release Notes , the Code composer returns the error below. I think that the code composer not found some files. How do I must do to fix this problem? I´m using Code Composer V 4.1.3.

 

Best Regards.

 

**** Build of configuration Debug for project CSL_I2C_DmaWordSwapExapmle_Out ****


C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all 

'Building file: ../csl_i2c_dmaWordSwap_example.c'

'Invoking: Compiler'

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/bin/cl55" -v5505 -g --define="_DEBUG" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/include" --include_path="C:/Program Files/TMS320C55XXCSL-LOWPWR/c55xx_csl/ccs_v4.0_examples/i2c/CSL_I2C_DmaWordSwapExapmle/Debug" --include_path="C:/Program Files/Texas Instruments/bios_5_41_02_14/packages/ti/bios/include" --include_path="C:/Program Files/Texas Instruments/bios_5_41_02_14/packages/ti/rtdx/include/c5500" --include_path="/packages/ti/xdais" --include_path="C:/Program Files/TMS320C55XXCSL-LOWPWR/c55xx_csl/src" --include_path="C:/Program Files/TMS320C55XXCSL-LOWPWR/c55xx_csl/inc" --diag_warning=225 --large_memory_model --algebraic --asm_source=algebraic --preproc_with_compile --preproc_dependency="csl_i2c_dmaWordSwap_example.pp"  "../csl_i2c_dmaWordSwap_example.c"

'Finished building: ../csl_i2c_dmaWordSwap_example.c'

' '

'Building target: CSL_I2C_DmaWordSwapExapmle_Out.out'

'Invoking: Linker'

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/bin/cl55" -v5505 -g --define="_DEBUG" --diag_warning=225 --large_memory_model --algebraic --asm_source=algebraic -z -m"CSL_I2C_DmaWordSwapExapmle_Out.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/include" -i"C:/Program Files/Texas Instruments/bios_5_41_02_14/packages/ti/rtdx/lib/c5500" -i"C:/Program Files/Texas Instruments/bios_5_41_02_14/packages/ti/bios/lib" -i"" -i"C:/Program Files/TMS320C55XXCSL-LOWPWR/c55xx_csl/ccs_v4.0_examples/i2c/CSL_I2C_DmaWordSwapExapmle" -i"/lib" --reread_libs --rom_model -o "CSL_I2C_DmaWordSwapExapmle_Out.out"  "./csl_i2c_dmaWordSwap_example.obj" -l"Debug/cslVC5505.lib" -l"rts55x.lib" -l"rts55h.lib" "../VC5505_I2C.cmd" 

<Linking>

error: cannot find file "Debug/cslVC5505.lib"


 undefined   first referenced                 

  symbol         in file                      

 ---------   ----------------                 

 _DMA_config ./csl_i2c_dmaWordSwap_example.obj

 _DMA_init   ./csl_i2c_dmaWordSwap_example.obj

 _DMA_open   ./csl_i2c_dmaWordSwap_example.obj

 _DMA_start  ./csl_i2c_dmaWordSwap_example.obj

 _I2C_config ./csl_i2c_dmaWordSwap_example.obj

 _I2C_init   ./csl_i2c_dmaWordSwap_example.obj

 _I2C_read   ./csl_i2c_dmaWordSwap_example.obj

 _I2C_setup  ./csl_i2c_dmaWordSwap_example.obj

 _I2C_write  ./csl_i2c_dmaWordSwap_example.obj

 _i2cHandle  ./csl_i2c_dmaWordSwap_example.obj


error: unresolved symbols remain

error: errors encountered during linking; "CSL_I2C_DmaWordSwapExapmle_Out.out"

   not built


>> Compilation failure

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [CSL_I2C_DmaWordSwapExapmle_Out.out] Error 1

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.

Build complete for project CSL_I2C_DmaWordSwapExapmle_Out

  • Frederico,

    Did you build the CSL first? The error is because it could not find the CSL. The CSL is not build by default. The project to build the CSL is here:

    <CSL INSTALL DIR>\TMS320C55XXCSL-LOWPWR\c55xx_csl\ccs_v4.0_examples\cslVC5505

    Thanks

    ki

  • I didn´t build the CSL first. Now, it works!

    Thanks!

  • hi!

    When I 'm compiling my "hello world", i have the following error:

    **** Build of configuration Debug for project test DSP BIOS ****

    /home/linux_pdci/TI/CCSv5/ccsv5/utils/gmake/gmake -k all
    Building target: test DSP BIOS.out
    Invoking: TMS470 Linker
    "/home/linux_pdci/TI/CCSv5/ccsv5/tools/compiler/tms470/bin/cl470" -mv7A8 -g --diag_warning=225 -me --abi=eabi --code_state=32 -z -m"test DSP BIOS.map" --warn_sections -i"/home/linux_pdci/TI/CCSv5/ccsv5/tools/compiler/tms470/lib" -i"/home/linux_pdci/TI/CCSv5/ccsv5/tools/compiler/tms470/include" --reread_libs --rom_model -o "test DSP BIOS.out" -l"./configPkg/linker.cmd"  "./hello.obj" -l"libc.a"
    <Linking>
    warning: creating output section ".data" without a SECTIONS specification

     undefined                    first referenced
      symbol                          in file    
     ---------                    ----------------
     ti_sysbios_BIOS_exit__E      ./hello.obj    
     xdc_runtime_System_printf__E ./hello.obj    

    error: unresolved symbols remain
    error: errors encountered during linking; "test DSP BIOS.out" not built

    >> Compilation failure
    gmake: *** [test DSP BIOS.out] Erreur 1
    gmake: La cible « all » n'a pas été refabriquée à cause d'erreurs.

    **** Build Finished ****

    Thanks for your replies