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.

Building problem with "call_dsplib" example from dsplib_v12

Other Parts Discussed in Thread: OMAP-L138, OMAP-L137

Hello.

We have an Zoom OMAP-L138 Development Kit from LOGICPD. We have downloaded "dsplib_v12" from TI website. We successfully performed:

make -f arm_makefile

After that I tryed to perform:

make -f dsp_makefile

and I was encountered with following error:

 

omap@linux-poab:~/OMAP-L138_arm_1_00_00_11/c674x/dsplib_v11/example/call_dsplib> make -f dsp_makefile

Building DSP/BIOS file...

/home/omap/OMAP-L138_arm_1_00_00_11/xdctools_3_16_01_27/tconf -Dconfig.importPath="/home/omap/OMAP-L138_arm_1_00_00_11/bios_5_41_02_14/packages; /home/omap/OMAP-L138_arm_1_00_00_11/bios_5_41_02_14/packages/ti/bios; /home/omap/OMAP-L138_arm_1_00_00_11/dsplink_linux_1_65_00_02/dsplink/dsp/inc/DspBios; /home/omap/OMAP-L138_arm_1_00_00_11/dsplink_linux_1_65_00_02/dsplink/dsp/inc/DspBios/5.XX/OMAPL1XXGEM; /home/omap/OMAP-L138_arm_1_00_00_11/dsplink_linux_1_65_00_02/dsplink/dsp/inc/DspBios/5.XX;./" dsplib_server.tcf 0

Compiling Debug...

<Linking>

 

 undefined first referenced

  symbol       in file

 --------- ----------------

 _DDR      /home/omap/OMAP-L138_arm_1_00_00_11/dsplink_linux_1_65_00_02/dsplink/dsp/BUILD/OMAPL138GEM_0/EXPORT/DEBUG/dsplink.lib<ips.obj>

 

error: unresolved symbols remain

error: errors encountered during linking; "Debug/dsplib_server.out" not built

 

>> Compilation failure

make: *** [Debug/dsplib_server.out] Error 1

How can I fix this problem?
In addition I want to say that we have succesfully rebuilt "dsplink_linux_1_65_00_02" under our omap-l138 environment and successfully run samples (SCALE for example) on our board. So, we have rebuilt all the libraries (dsplink.lib dsplinkpool.lib dsplinkmpcs.lib dsplinkmplist.lib dsplinkmsg.lib dsplinknotify.lib dsplinkringio.lib) used in "call_dsplib" example except dsplib674x.lib. Do we need to rebuild dsplib674x.lib under CCS_v3.3 to fix our "make -f dsp_makefile" error?
We have installed software environment  from following bin's:
Thank you.

  • Artem,

    You do not need to rebuild the DSP library (dsplib674x.lib) for OMAP-L138.  It looks like your build error is actually being caused by the DSPLINK library; it can't find a symbol called DDR in your C code or libraries.

    The issue here may be the DSPLINK TCI file you're bringing in.  In the file dsplib_server.tcf, you should see the following line:

    utils.importFile("dsplink-omapl1xxgem-base.tci");

    This brings in a DSPLINK TCI file that was written for OMAP-L137; that file may not be the best choice for OMAP-L138.  Replace it with the TCI file that was specifically written for OMAP-L138:

    utils.importFile("dsplink-omapl138gem-base.tci");

    Also, go through the rest of the TCF file and replace all instances of "SDRAM" with "DDR".  Let me know whether or not this fixes the problem.

  • Thank you very much!!!:)

    Your recommendation were really helpful. Now everything is working excellent!

    In addition, to successfully linked, i replaced all instances of  "SDRAM" with "DDR" in file dsplib_server.cmd