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.

Migrtion from CCSV3.3 to CCSV4.2

Other Parts Discussed in Thread: SYSBIOS

Hello,

I am trying to move our project from CCSV3.3 to CCSV4.2, and I can't fibd the good library ti include in order to solve this link problem :

undefined                                   first referenced               
  symbol                                         in file                    
 ---------                                   ----------------               
 _BCACHE_wbInv                               ./vidutl.obj                   
 _EMAC_flagLinkOK                            ./TestEcartoDiva_Main.obj      
 _LCK_create                                 ./squeue.obj                   
 _LCK_delete                                 ./slog.obj                     
 _LCK_pend                                   ./squeue.obj                   
 _LCK_post                                   ./squeue.obj                   
 _MEM_alloc                                  ./smem.obj                     
 _MEM_calloc                                 ./smem.obj                     
 _MEM_free                                   ./smem.obj                     
 _Ping                                       ./TestEcartoDiva_Main.obj      
 _SEM_create                                 ./smsgq.obj                    
 _TSK_ATTRS                                  ./vidstr_recv.obj              
 _TSK_create                                 ./vidstr_recv.obj              
 _TSK_delete                                 ./smsgtsk.obj                  
 _TaskSelf                                   ./vidstr_recv.obj              
 __oscfg                                     ./TestEcartoDiva_NetworkInit.obj
 _bind                                       ./vidstr_recv.obj              
 _fdClose                                    ./vidstr_recv.obj              
 _fdCloseSession                             ./vidstr_recv.obj              
 _fdError                                    ./vidstr_send.obj              
 _fdOpenSession                              ./vidstr_recv.obj              
 _fdSelect                                   ./vidstr_recv.obj              
 _fdShare                                    ./vidstr_recv.obj              
 _fdsetTestEntry                             ./vidstr_recv.obj              
 _mmZeroInit                                 ./vidstr_send.obj              
 _recvfrom                                   ./vidstr_recv.obj              
 _sendto                                     ./vidstr_send.obj              
 _setsockopt                                 ./vidstr_recv.obj              
 _socket                                     ./vidstr_send.obj              
 _ti_sysbios_family_c64p_Hwi_disable__E      ./smem.obj                     
 _ti_sysbios_family_c64p_Hwi_restore__E      ./smem.obj                     
 _ti_sysbios_knl_Clock_getTicks__E           ./vidstr_recv.obj              
 _ti_sysbios_knl_Semaphore_Object__delete__S ./smsgq.obj                    
 _ti_sysbios_knl_Semaphore_pend__E           ./smsgq.obj                    
 _ti_sysbios_knl_Semaphore_post__E           ./smsgq.obj                    
 _ti_sysbios_knl_Task_sleep__E               ./vidstr_send.obj              
 _ti_sysbios_misc_Stats_delta__E             ./vidtrk_corr.obj              
 _ti_sysbios_misc_Stats_set__E               ./vidtrk_corr.obj              
 _xdc_runtime_Timestamp_get32__E             ./vidtrk_corr.obj              

 

How to solve this problem ?

The project will use a C6474 DSP, but I have not yet the evm board.

 

Thank You for answers,

 

Jean-Christophe Peltier

 

  • Jean-Christophe,

    These symbols refer to NDK and BIOS libraries and therefore I will move your post to that forum so you may get additional help with the migration procedure.

    In the meantime, I suggest you check carefully if the library search path points to valid or the correct directories in the linker options. Right-click on the project -->  Build Properties --> select C/C++ Build in the left tree --> C6000 Linker --> File Search Path.

    Hope this helps,

    Rafael

  • Rafael,

    The current directories in the linker options are the following :

     

    Include library file or command file as input (--library, -l)

    "C:\Program Files\Texas Instruments\C6000 Code Generation Tools 7.0.4\lib\rts64plus.lib"

    "C:\Program Files\Texas Instruments\pdk_c64x_1_00_00_06\packages\ti\csl\c6474\csl_c6474\lib\csl_c6474.lib"

    "C:\Program Files\Texas Instruments\C6000 Code Generation Tools 7.0.4\lib\libc.a"

    "C:\Program Files\Texas Instruments\c64plus-imglib_2_02_00_00\lib\target\imglib2.l64P"

     

    Add to library search path (--search_path, -i)

    "${CG_TOOL_ROOT}/lib"

    "C:\Program Files\Texas Instruments\ndk_2_20_02_22\packages\ti\ndk\lib\C64plus"

    "C:\Program Files\Texas Instruments\ndk_2_20_02_22\packages\ti\ndk\lib\C64plus\all_stk"

    "C:\Program Files\Texas Instruments\ndk_2_20_02_22\packages\ti\ndk\lib\C64plus\hal"

    "C:\Program Files\Texas Instruments\bios_6_31_01_19\packages\ti\sysbios\lib\debug"

    "C:\Program Files\Texas Instruments\bios_6_31_01_19\packages\ti\sysbios\lib\whole_program_debug"

    "C:\Program Files\Texas Instruments\bios_6_31_01_19\packages\ti\rtdx\lib\debug" "${CG_TOOL_ROOT}/include"

     

    Which ones are missing ?

     

    Jean-Christophe

     

  • I'm confused about what you are trying to do.  You are evidently using DSP/BIOS 5 right now?  Which version exactly?

    Your post's title says that you are trying to migrate from CCS 3.3 to CCS 4.2.  Are you also trying to migrate from DSP/BIOS v5 to SYS/BIOS v6?  If not, then you should not be trying to link in BIOS 6 libraries.

    How did you get to this point?  Did you simply import an existing CCS 3 project in to CCS 4?

    Dave