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.

linking problem--- some undefined symbols

Other Parts Discussed in Thread: CCSTUDIO, OMAPL138

hi,

for my evmDM648, i don't use xdc to utilize the reusable pspdrivers, but add their libs into my project. but the problem is some functions' implementation don't exist in these libs.

i want to try Video Port, for instance. i added vport_bios_drv.lib, pal_bios.lib, edma3_drv_bios.lib and edma_rm_bios.lib.

but after linking i got such errors:

_ECM_dispatchTab                 C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/lib/bios.a64P
_edma3OsProtectExit              C:\\CCStudio_v3.3\\MyProjects\\test\\driver_lib\\edma3\\edma3_drv_bios.lib
_edma3OsProtectEntry             C:\\CCStudio_v3.3\\MyProjects\\test\\driver_lib\\edma3\\edma3_drv_bios.lib
_edma3OsSemGive                  C:\\CCStudio_v3.3\\MyProjects\\test\\driver_lib\\edma3\\edma3_drv_bios.lib
_edma3OsSemTake                  C:\\CCStudio_v3.3\\MyProjects\\test\\driver_lib\\edma3\\edma3_drv_bios.lib

could anybody tell me how to eliminate these errors? should i program these functions using BIOS SEM APIs?

thanks!

and i want to know what the difference between xxxxx.lib and xxxxx_i.lib, such as vport_bios_drv.lib and vport_bios_drv_i.lib?

thanks again.

  • i've coped with edma3OsXXXX functions, and now there is only _ECM_dispatchTab left.

    who can drop a few hints that what i should head for next?

    thanks.

  • ECM_dispatchTab is an option of the tcf file, the problem is that I don't remember now where is it exactly, look in the DSP/BIOS file configuration to find it. If you can't find it just add this as text to your tcf file:

     

    bios.ECM.ENABLE = 1;

     

    EDIT: ok, I have found it, is in HWI module-> ECM: Event combiner manager. Right click and click on checkbox to enable ECM.Would this worth a pint of beer??? :)

    Cheers

  • You can do this in the graphical config by right clicking on ECM in HWI tree and selecting to enable it in the properties.

  • [B*]For sure! it is worth a gallon! cheers!

  • Hi,

    I have the same problem. I've followed your instructions to enable the ECM in the bios but didn´t result ....

     

    [Linking...] "C:\Program Files\Texas Instruments\C6000 Code Generation Tools 6.1.9\bin\cl6x" -@"Debug.lkf"
    <Linking>
     undefined            first referenced                                                                                                   
      symbol                  in file                                                                                                        
     ---------            ----------------                                                                                                   
     _DVTEvent_Log        D:\\DRAGO\\X220_OMAPL138\\Platforms\\MAPxxxx\\edma3\\rm\\lib\\omapl138\\Debug\\edma3_rm_bios_i.lib<edma3resmgr.obj>
     _LOG_printf4         D:\\DRAGO\\X220_OMAPL138\\Platforms\\MAPxxxx\\edma3\\rm\\lib\\omapl138\\Debug\\edma3_rm_bios_i.lib<edma3resmgr.obj>
     _edma3OsProtectEntry D:\\DRAGO\\X220_OMAPL138\\Platforms\\MAPxxxx\\edma3\\drv\\lib\\Debug\\edma3_drv_bios_c674.lib<edma3_drv_adv.obj>   
     _edma3OsProtectExit  D:\\DRAGO\\X220_OMAPL138\\Platforms\\MAPxxxx\\edma3\\drv\\lib\\Debug\\edma3_drv_bios_c674.lib<edma3_drv_adv.obj>   
     _edma3OsSemGive      D:\\DRAGO\\X220_OMAPL138\\Platforms\\MAPxxxx\\edma3\\drv\\lib\\Debug\\edma3_drv_bios_c674.lib<edma3_drv_adv.obj>   
     _edma3OsSemTake      D:\\DRAGO\\X220_OMAPL138\\Platforms\\MAPxxxx\\edma3\\drv\\lib\\Debug\\edma3_drv_bios_c674.lib<edma3_drv_adv.obj>   
    error: unresolved symbols remain
    error: errors encountered during linking; "./Debug/X220.out" not built
    >> Compilation failure

    Best regards,

    Luís Mendes

  • Great Job

    Who knows problem is thicking a box.

    Thank you Maria

    goksel