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.

undefined symbol ECPY_activate

Other Parts Discussed in Thread: SYSBIOS

Hi,

   When I compiling the transcode demo shipped with mcsdk-video package.

I get the error message below:

undefined                                    first referenced                                                                                                           
  symbol                                          in file                                                                                                                
 ---------                                    ----------------                                                                                                           
 ECPY_activate                                C:/Program Files/Texas Instruments/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/lib/h264venc_ti.le66
 ECPY_createHandle                            C:/Program Files/Texas Instruments/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/lib/h264venc_ti.le66
 ECPY_deleteHandle                            C:/Program Files/Texas Instruments/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/lib/h264venc_ti.le66
 ECPY_directConfigure                         C:/Program Files/Texas Instruments/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/lib/h264venc_ti.le66
 ECPY_directSetFinal                          C:/Program Files/Texas Instruments/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/lib/h264venc_ti.le66
 ECPY_directStartEdma                         C:/Program Files/Texas Instruments/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/lib/h264venc_ti.le66
 ECPY_directWait                              C:/Program Files/Texas Instruments/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/lib/h264venc_ti.le66
 ECPY_setEarlyCompletionMode                  C:/Program Files/Texas Instruments/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/lib/h264venc_ti.le66
 EDMA3_PARAMS                                 ./siuFcBios6.obj                                                                                                           
 RMAN_activateAllResources                    ./siuFcBios6.obj                                                                                                           
 RMAN_assignResources                         ./siuFcBios6.obj                                                                                                           
 RMAN_freeResources                           ./siuFcBios6.obj                                                                                                           
 RMAN_init                                    ./siuFcBios6.obj                                                                                                           
 platform_init                                ./main.obj                                                                                                                 
 ti_sdo_fc_edma3_EDMA3_physicalId             ./siuFcBios6.obj                                                                                                           
 ti_sdo_fc_edma3_Settings_defaultQ            ./siuFcBios6.obj                                                                                                           
 ti_sysbios_BIOS_start__E                     ./siuOsalBios6.obj                                                                                                         
 ti_sysbios_family_c64p_Hwi_Object__create__S ./halisr.obj                                                                                                               
 ti_sysbios_family_c64p_Hwi_Params__init__S   ./halisr.obj                                                                                                               
 ti_sysbios_family_c64p_Hwi_getHandle__E      ./halisr.obj                                                                                                               
 ti_sysbios_family_c64p_Hwi_reconfig__E       ./halisr.obj                                                                                                               
 ti_sysbios_family_c66_Cache_inv__E           ./siuOsalBios6.obj                                                                                                         
 ti_sysbios_family_c66_Cache_wbInvAll__E      ./siuOsalBios6.obj                                                                                                         
 ti_sysbios_family_c66_Cache_wbInv__E         ./siuOsalBios6.obj                                                                                                         
 ti_sysbios_family_c66_Cache_wb__E            ./siuOsalBios6.obj                                                                                                         
 ti_sysbios_heaps_HeapMem_restore__E          ./siuFcBios6.obj                                                                                                           
 xdc_runtime_Memory_calloc__E                 ./siuFcBios6.obj                                                                                                           
 xdc_runtime_Memory_free__E                   ./siuFcBios6.obj                                                                                                           

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

 

I have specify Framework Components3.22.00.05 as one of RTSC

Repositories. And the .cfg file has defination as below:

var DSKT2 = xdc.useModule('ti.sdo.fc.dskt2.DSKT2');
var RMAN = xdc.useModule('ti.sdo.fc.rman.RMAN');
var ECPY = xdc.useModule('ti.sdo.fc.ecpy.ECPY');

....

But it seems that the linker still can not find ECPY_activate. So please help me

check it. Thank you very much!

 

Sunzhao

  • Hi Sunzhao,

    what version of CCS are you using?  What version MCSDK?  How did you import the project?  It seems that a link to a library/some needed files is not there.  Possibly from the import.

    Could you please provide more specifics.  Did you import without selecting "copy project into workspace"?

    Have a look at this wiki as it will show you how to find the include paths and variables etc.

    http://processors.wiki.ti.com/index.php/Include_paths_and_options

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Sunzhao,

    I just thought I would check whether there is an update to your enquiry and whether the tips were helpful.

    Best Regards,
    Lisa

  • Hi Lisa, Sorry for replying you so late. The mcsdk-video version used her is mcsdk_video_2_0_0_10. The transcode demo can be compiled successfully in ccs 5.0.3. But when I trying to compile it in ccs v4, The error occurs. I have already select "copy project into workspace" options. B.R. Sunzhao
  • Hi Sunzhao,

    have you tried without selecting "copy project into workspace"?  Did you look at the wiki I sent you a link for and check all your include paths?  I can also double check whether the MCSDK was meant only for v5 or not as well ... but please double check the above and let me know.

    Best Regards,
    Lisa

  • Hi Sunzhao,

    just thought I would check whether the tips and link were helpful fixing the include paths.

    Best Regards,
    Lisa