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.

CCS5 & MCSDK: Unresolved symbols at link time

Other Parts Discussed in Thread: SYSBIOS

Hi

We are developing software for the 6670 dsp using CCS5 and the MCSDK (multi-core software development kit).  We are using the pdk component of MCSDK, in particular.

I have merged code from example: 'PA_emacExample_exampleProject' to my own project but am getting lots of unresolved symbol errors at link time, associated with the TI libraries.  What would be the correct way to fix these errors please?

David

===========================================================================

<Linking>

 undefined                                            first referenced     
  symbol                                                  in file          
 ---------                                            ----------------     
 CSL_chipReadReg                                      ./singlecore_osal.obj
 Cppi_channelEnable                                   ./cppi_qmss_mgmt.obj
 Cppi_configureRxFlow                                 ./cppi_qmss_mgmt.obj
 Cppi_getFlowId                                       ./pa_mgmt.obj        
 Cppi_init                                            ./cppi_qmss_mgmt.obj
 Cppi_initDescriptor                                  ./cppi_qmss_mgmt.obj
 Cppi_open                                            ./cppi_qmss_mgmt.obj
 Cppi_rxChannelOpen                                   ./cppi_qmss_mgmt.obj
 Cppi_setCpdmaLoopback                                ./cppi_qmss_mgmt.obj
 Cppi_txChannelOpen                                   ./cppi_qmss_mgmt.obj
 Pa_addIp                                             ./pa_mgmt.obj        
 Pa_addMac                                            ./pa_mgmt.obj        
 Pa_addPort                                           ./pa_mgmt.obj        
 Pa_create                                            ./pa_mgmt.obj        
 Pa_downloadImage                                     ./pa_mgmt.obj        
 Pa_forwardResult                                     ./pa_mgmt.obj        
 Pa_getBufferReq                                      ./pa_mgmt.obj        
 Pa_resetControl                                      ./pa_mgmt.obj        
 Qmss_ackInterrupt                                    ./cppi_qmss_mgmt.obj
 Qmss_disableAccumulator                              ./cppi_qmss_mgmt.obj
 Qmss_getQueueNumber                                  ./pa_mgmt.obj        
 Qmss_init                                            ./cppi_qmss_mgmt.obj
 Qmss_insertMemoryRegion                              ./cppi_qmss_mgmt.obj
 Qmss_programAccumulator                              ./cppi_qmss_mgmt.obj
 Qmss_queueOpen                                       ./pa_mgmt.obj        
 Qmss_setEoiVector                                    ./cppi_qmss_mgmt.obj
 Qmss_start                                           ./cppi_qmss_mgmt.obj
 qmssLObj                                             ./pa_mgmt.obj        
 ti_sysbios_family_c64p_EventCombiner_dispatchPlug__E ./cppi_qmss_mgmt.obj

  • Hi,

    Just as with any undefined symbols linker error, the symbols shown are either defined in a library or in a source file that is missing from the project.

    In this particular case, the PA_emacExample_exampleProject has several library dependencies that are configured by the .cfg file, therefore you need to add the corresponding libraries to your existing project if the .cfg file does not include them for you. 

    If you build the original example project above, you can see all the libraries included in the file <linker.cmd> under the <Project directory>/Debug/configpkg/

    Hope this helps,

    Rafael