Hi,
I'm trying to add a speech decoder to codec engine.
When I build the DSP side server I receive error messages as the attached file (msg.txt).
Brief error message:
undefined first referenced
symbol in file
--------- ----------------
_Speech_Decode_Frame_init
/opt/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/wit/base/codecs/speech01dec/lib/spdec_wit.l64P
_Speech_Decode_Frame_exit
/opt/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/wit/base/codecs/speech01dec/lib/spdec_wit.l64P
_tx_to_rx
/opt/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/wit/base/codecs/speech01dec/lib/spdec_wit.l64P
_Speech_Decode_Frame_reset
/opt/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/wit/base/codecs/speech01dec/lib/spdec_wit.l64P
_decoder_homing_frame_test_first
/opt/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/wit/base/codecs/speech01dec/lib/spdec_wit.l64P
_Speech_Decode_Frame
/opt/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/wit/base/codecs/speech01dec/lib/spdec_wit.l64P
_decoder_homing_frame_test
/opt/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/wit/base/codecs/speech01dec/lib/spdec_wit.l64P
>> error: relocation overflow occurred at address 0x00000034 in section
'.text' of input file 'sphdec_wit.o64
(/opt/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/wit/base/codecs/speech01dec/lib/spdec_wit.l64P)'.
The 29-bit PC-relative displacement 503836296 at this location is too large to fit into the 21-bit
PC-Relative field; the destination address is too far away from the instruction. You may need to
add a mask to the assembly instruction or use other target specific assembly features if you really
only need the lowest 21 bits of this symbol. Please see the section on Relocation in the Assembly
User's Guide.
These undefined symbol are all in an archive named "spdec_64x.lib", which is built with IALG interface to be
"spdec_wit.l64P" later. QualiTI test passed.
Some of the undefined symbols have following assignment:
#pragma CODE_SECTION(tx_to_rx, ".text:SPHCODEC_cSect");
#pragma CODE_SECTION(Speech_Decode_Frame_init, ".text:SPHCODEC_cSect");
#pragma CODE_SECTION(Speech_Decode_Frame_reset, ".text:SPCODEC_cSect");
#pragma CODE_SECTION(Speech_Decode_Frame_exit, ".text:SPHCODEC_cSect");
#pragma CODE_SECTION(Speech_Decode_Frame, ".text:SPHCODEC_cSect");
Could you please help me?
- Juliann