Hi all,
I'm integrating AEC/AER into codec engine. The platform is DM3730, and DVSDK version is 4.01.00.09.
AER algorithm is NOT XDAIS-compliant. I want to archive all objects and the existing libs into a aerlib.l64P file using ar6x. And then link aerlib.l64P into universal_copy example as an add-on library by modifying C64P.lnkOpts in config.bld. So I think I can call aer interface in universal_copy.c now.
Now I have two questions here:
1. Is it feasible to integrate AER as an add-on library into codec engine to use IUNIVERSAL interface
2. How to add SECTIONS to fix the following link error? The attached file is the AER link cmd, how can I integrate it into dvsdk compilation environment?
=======================================================
# lnk64P bin/ti_platforms_evm3530/all.x64P ...
rm -f package/cfg//bin/ti_platforms_evm3530/all.x64P.map
/home/zijing/jeff/ti_dvsdk_dm3730/cgt6x_6_1_14/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/zijing/jeff/ti_dvsdk_dm3730/cgt6x_6_1_14/lib/rts64plus.lib -l /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P
warning: creating output section ".drc_scratch_buf" without a SECTIONS
specification
undefined first referenced
symbol in file
--------- ----------------
_aepAddEcho /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<aepsim.o64P>
_aepControl /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<aepsim.o64P>
_aepFilterTemp_16K /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<aepsim.o64P>
_aepFilterTemp_16K_new /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<aepsim.o64P>
_aepFilterTemp_8K /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<aepsim.o64P>
_aepFilterTemp_8K_new /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<aepsim.o64P>
_aepOpen /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<aepsim.o64P>
_aepbuffer /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<aepsim.o64P>
_aerActivate /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<siu_multi_mic.o64P>
_aerClose /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<siuaer.o64P>
_aerControl /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<aersim_setup.o64P>
_aerCreate /home/zijing/jeff/ti_dvsdk_dm3730/aer_16_0_0_1/lib/aerlib.l64P<siuaer.o64P>
error: unresolved symbols remain
error: errors encountered during linking; "bin/ti_platforms_evm3530/all.x64P"
not built
gmake[1]: *** [bin/ti_platforms_evm3530/all.x64P] Error 1
gmake: *** [/home/zijing/jeff/ti_dvsdk_dm3730/codec-engine_2_26_01_09/examples/ti/sdo/ce/examples/servers/all_codecs,.executables] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/zijing/jeff/ti_dvsdk_dm3730/codec-engine_2_26_01_09/examples/ti/sdo/ce/examples/servers/all_codecs'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/zijing/jeff/ti_dvsdk_dm3730/codec-engine_2_26_01_09/examples/ti/sdo/ce/examples/servers'
make: *** [ceexamples_servers] Error 2
Thanks,
Jeff