This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365 G.711 audio codec-Compilation error when encoder and decoder are used together

Hello

When using DM365 audio codec from below site.

(I think it's from Ittiam)

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_2_10/latest/index_FDS.html

 Previous version(prior ot GA), there's no compilation issue when both G.711 encoder and decoder are used together but Ittiam version(from TI DM365 official SW download site) generates compilation error like as below.

 -------------------------------------------------------------------------------------

Followed procedure(audio codec setting) per

http://wiki.davincidsp.com/index.php/DM365_Audio_Codecs_Integration_with_DVSDK_2.10.01.18_Demos

To use G.711 encoder and decoder, They copied all files in directory of g711_enc and G711_dec into  " dvsdk_2_10_01_18\dm365_codecs_01_00_06\packages\ittiam\codecs\  "

Then  added below in .cfg files.

var G711ENC = xdc.useModule('ittiam.codecs.g711_enc.ce.G711_ENC');

var G711DEC  = xdc.useModule('ittiam.codecs.g711_dec.ce.G711_DEC');

 

In case, There's compilation error generated.

 

=============================================================================================================================

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_enc/lib_production/g711_enc_prod.a: In function `__aeabi_memset':

/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/encoder/../../testbench/common/src/aeabi_funcs.c:86: multiple definition of `__aeabi_memset'

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_dec/lib_production/g711_dec_prod.a:/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/decoder/../../testbench/common/src/aeabi_funcs.c:86: first defined here

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_enc/lib_production/g711_enc_prod.a: In function `__aeabi_memcpy':

/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/encoder/../../testbench/common/src/aeabi_funcs.c:77: multiple definition of `__aeabi_memcpy'

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_dec/lib_production/g711_dec_prod.a:/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/decoder/../../testbench/common/src/aeabi_funcs.c:77: first defined here

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_enc/lib_production/g711_enc_prod.a: In function `__aeabi_memmove':

/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/encoder/../../testbench/common/src/aeabi_funcs.c:82: multiple definition of `__aeabi_memmove'

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_dec/lib_production/g711_dec_prod.a:/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/decoder/../../testbench/common/src/aeabi_funcs.c:82: first defined here

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_enc/lib_production/g711_enc_prod.a: In function `__aeabi_memcpy4':

/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/encoder/../../testbench/common/src/aeabi_funcs.c:92: multiple definition of `__aeabi_memcpy4'

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_dec/lib_production/g711_dec_prod.a:/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/decoder/../../testbench/common/src/aeabi_funcs.c:92: first defined here

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_enc/lib_production/g711_enc_prod.a: In function `__aeabi_memclr':

/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/encoder/../../testbench/common/src/aeabi_funcs.c:71: multiple definition of `__aeabi_memclr'

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_dec/lib_production/g711_dec_prod.a:/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/decoder/../../testbench/common/src/aeabi_funcs.c:71: first defined here

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_enc/lib_production/g711_enc_prod.a: In function `__aeabi_memclr4':

/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/encoder/../../testbench/common/src/aeabi_funcs.c:97: multiple definition of `__aeabi_memclr4'

/home/jinook/Dev/camera/dsp/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ittiam/codecs/g711_dec/lib_production/g711_dec_prod.a:/home/ITTIAM/100200/audio_speech/speech/G.711/platform/arm9e_linux_montavista_2.6/build/decoder/../../testbench/common/src/aeabi_funcs.c:97: first defined here

collect2: ld returned 1 exit status

===========================================================================================================================