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.

compilation failure vision_sdk

Hi,

I am trying to compile de example "bsp_examples_uart" in the vision_sdk of texas instruments and I get always a linking error.

Firstly I compile the vision_sdk through make and the on the folder "bsp_01_04_00_08" I run "make PLATFORM=tda3xx-evm bsp_examples_uart" and I get the following error.

That happens to me only with the uart example cause I ran the i2cUtility and it gave me no problems...could anyone please help me? Does anybody know how to solve this so I can run the uart example?

Thank you very much!

Javier

../../ti_components/drivers/bsp_01_04_00_08/binary/ti/sdo/edma3/rm/sample/lib/tda3xx-evm/m4/release/edma3_lld_rm_sample.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/binary/src/uart/lib/tda3xx-evm/m4/release/bsp_uart.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/binary/src/common/lib/tda3xx-evm/m4/release/bsp_common.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/binary/src/osal/lib/tda3xx-evm/m4/release/bsp_osal.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/binary/src/platforms/lib/tda3xx-evm/m4/release/bsp_platforms.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/binary/src/boards/lib/tda3xx-evm/m4/release/bsp_boards.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/binary/src/devices/lib/tda3xx-evm/m4/release/bsp_devices.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/binary/src/fvid2/lib/tda3xx-evm/m4/release/bsp_fvid2.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/binary/src/i2c/lib/tda3xx-evm/m4/release/bsp_i2c.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/binary/examples/utility/lib/tda3xx-evm/m4/release/bsp_examples_utility.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/cg_tools/linux/ti-cgt-arm_5.2.5/lib/libc.a -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/src/devices/ov10640/lib/ov10640_lib_ipu1_0_release.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/../../../vision_bios_examples/tda2xx/src/common/prof_log/lib/prof_log_ipu1_0_release.aem4 -l/home/javier/Escritorio/tda_integration_1108/tda3/ti_components/drivers/bsp_01_04_00_08/../../../ti_components/drivers/bsp_01_04_00_08/../../../vision_sdk/binaries/lib/tda3xx-evm/ipu1_0/release/vision_sdk_lib.aem4


error: symbol "edma3init" has already been defined
error: symbol "determineProcId" has already been defined
error: symbol "edma3deinit" has already been defined
error: symbol "edma3OsSemTake" has already been defined
error: symbol "edma3OsSemGive" has already been defined
error: symbol "edma3OsProtectEntry" has already been defined
error: symbol "edma3OsProtectExit" has already been defined

>> Compilation failure

>> Compilation failure
fatal error: Failed linktime optimization

  • hello,
    The error is telling you that the mentioned symbols have already been defined. Sounds like the project is linking in an extra object file or library for symbols that have already been pulled in by a different obj/lib. You just need to identify that obj/lib and (probably) remove it. I'm not too familiar with the that SDK. I would also suggest posting in the TDAx forums. The experts there will be more familiar with the SDK and can identify the issue more quickly.

    Thanks
    ki
  • I will :)

    Thanks for your help