Hello,eveyone,
I want to add a static lib to DSP,now ,I have compiled a static libary by CCS,and I modifyed the config file to link this libary:
In the file DVRRDK_03.00.00.00\dvr_rdk\makerules\rules_c674.mk,added my lib to LIB_PATHS,
I add the header file to helloworldlink directory,then quote the function packaged in my static lib,
but when compiling the project,I encounter the erro:
my static lib is named testlib.lib.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
# Archiving ti816x-evm:c6xdsp:debug:dvr_rdk_bios6
#
# Invoking configuro...
# Configuro done!
# Making ti816x-evm:c6xdsp:debug:dvr_rdk_bios6...
# Linking into /root/DVRRDK_03.00.00.00/dvr_rdk/../dvr_rdk/build/dvr_rdk/bin/ti816x-evm/dvr_rdk_c6xdsp_debug.xe674...
#
"/root/DVRRDK_03.00.00.00/dvr_rdk/../dvr_rdk/mcfw/src_bios6/cfg/ti816x/link_algs.cmd", line 12: warning:
no matching section
undefined first referenced
symbol in file
--------- ----------------
lrint /root/DVRRDK_03.00.00.00/dvr_rdk/../ti_tools/codecs/testlib.lib<samplerate.obj>
error: unresolved symbols remain
warning: entry-point symbol other than "_c_int00" specified:
"ti_sysbios_family_c64p_Hwi0"
error: errors encountered during linking;
"/root/DVRRDK_03.00.00.00/dvr_rdk/../dvr_rdk/build/dvr_rdk/bin/ti816x-evm/dv
r_rdk_c6xdsp_debug.xe674" not built
make[2]: *** [/root/DVRRDK_03.00.00.00/dvr_rdk/../dvr_rdk/build/dvr_rdk/bin/ti816x-evm/dvr_rdk_c6xdsp_debug.xe674] erro 1
make[1]: *** [apps] erro 2
make: *** [dvr_rdk_bios6] erro 2
####
#### [DM816X_ETV] platform build [dvr_rdk] ERROR !!!
####
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Looking forward to your reply,Thanks