Hello!
I tried to modify a codec implementation i.e. sphdec1_copy to have FFT
implementation in it (I want to get the spectrum of the speech data).
I have included the "gen_twiddle_fft16x16.h" inside the
"phdec1_copy.c" and call the gen_twiddle_fft16x16(w_16x16, N); inside
the "SPHDEC1COPY_TI_process" function. It compiles OK to produce the
lib i.e. "sphdec1_copy.a64P".
The next step is to build the server. I tried to rebuild the
all_codecs codec engine server. I found inside the package/cfg/bin/
ti_platforms_evm3530/all_x64P.xdl -- the server will link to the
sphdec1_copy.a64 that I've just built, it is confirmed by following
lines inside the all_x64P: "-l"/home/dio/sandbox/dsp/ti/
codec_engine_2_24/examples/ti/xdais/dm/examples/sphdec1_copy/lib/
sphdec1_copy.a64P"
Then I type make -- and at the linking process, i.e.
# lnk64P bin/ti_platforms_evm3530/all.x64P ...
rm -f package/cfg//bin/ti_platforms_evm3530/all.x64P.map
/home/dio/sandbox/dsp/ti/cg6x_6_1_10/bin/lnk6x -w -q -u _c_int00 -l
link.cmd -q -o bin/ti_platforms_evm3530/all.x64P package/cfg/bin/
ti_platforms_evm3530/all_x64Pcfg_c.o64P package/cfg/bin/
ti_platforms_evm3530/all/main.o64P package/cfg/bin/
ti_platforms_evm3530/all_x64Pcfg.o64P package/cfg/bin/
ti_platforms_evm3530/all_x64P.o64P package/cfg/bin/
ti_platforms_evm3530/all_x64P.xdl -c -m package/cfg//bin/
ti_platforms_evm3530/all.x64P.map -l /home/dio/sandbox/dsp/ti/
cg6x_6_1_10/lib/rts64plus.lib -l /home/dio/sandbox/dsp/C64x+DSPLIB/
dsplib_v210/dsplib64plus.lib
I've got this error:
undefined first
referenced
symbol in
file