Hello,
While trying to use dsplib (from http://software-dl.ti.com/dsps/dsps_public_sw/c6000/web/c674_dsplib/latest/index_FDS.html / c674x-dsplib_1_03_00_01_Linux-x86_Setup.bin), I always get a linker error:
#
# lnke674 platforms_ti816x_dsp/debug/App.xe674 ...
rm -f package/cfg//platforms_ti816x_dsp/debug/App.xe674.map
/opt/ti/C6000CGT7.3.0/bin/lnk6x -w -q -u _c_int00 -fs package/cfg/platforms_ti816x_dsp/debug/ -l /opt/ti/c674x-dsplib/lib/dsplib674x_elf.lib -q -o platforms_ti816x_dsp/debug/App.xe674 package/cfg/platforms_ti816x_dsp/debug/App_pe674.oe674 package/cfg/platforms_ti816x_dsp/debug/App/App.oe674 package/cfg/platforms_ti816x_dsp/debug/App_pe674.xdl --abi=eabi -c -m package/cfg//platforms_ti816x_dsp/debug/App.xe674.map -l /opt/ti/C6000CGT7.3.0/lib/rts6740_elf.lib
undefined first referenced
symbol in file
--------- ----------------
DSPF_sp_fftSPxSP package/cfg/platforms_ti816x_dsp/debug/App/App.oe674
error: unresolved symbols remain
error: errors encountered during linking;
"platforms_ti816x_dsp/debug/App.xe674" not built
gmake: *** [platforms_ti816x_dsp/debug/App.xe674] Error 1
I have no idea what's wrong. The symbol is defined in the lib:
gru@pc-cm-gru-virtlinux1 % nm6x /opt/ti/c674x-dsplib/lib/dsplib674x_elf.lib| grep DSPF_sp_fftSPxSP
00000000 t .text:DSPF_sp_fftSPxSP
00000000 T DSPF_sp_fftSPxSP
00000000 a DSPF_sp_fftSPxSP.asm
00000000 D __TI_DW.debug_info.DSPF_sp_fftSPxSP.asm.ac3e14752c3c078efc7e92029fa659cd
00000000 D __TI_DW.debug_info.DSPF_sp_fftSPxSP.asm.bbbcff6360f32c3bc3e18a7b8f78fb0b
I attached my (hopefully minimal) test project. Compiler output is contained in mini/compile.log. Can you please tell me what I'm making wrong?