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.

rpe error



Hi,

I am trying to integrate an iuniversal alg to the rpe framework of DVRRDK(dm8168-evm). By referring the Getting started with IUNIVERSAL and http://processors.wiki.ti.com/index.php/How_to_integrate_audio/voice_in_RPE_in_EZSDK

I make a iuniversal alg codec package.

However, after I have done the following steps, I get errors.

1)rpe\makerules\env.mk : Create mp3dec_PATH, mp3dec_INCLUDE variables, update XDCPATH

2)server_config_c67x.c : Create TI_MP3DEC_serverConfig structure.

3)rpe\src\config\codecs.mk : Add mp3dec to INCLUDE_CODEC_INTERFACES

4)Update DVRRDK_03.50.00.05\dvr_rdk\Rules.make : Create mp3dec_PATH, RPE_BUILD_VARS with mp3dec_PATH, export mp3dec_PATH.

5)Update DVRRDK_03.50.00.05\dvr_rdk\makerules\env.mk : mp3dec_INCLUDE

6)Update DVRRDK_03.50.00.05\dvr_rdk\makerules\includes_a8: Populate mp3dec_PATH in RPE_INC 

7)Update DVRRDK_03.50.00.05\dvr_rdk\makerules\rules_c674.mk: Add mp3dec library path in LIB_PATHS.

So, I modified it back to its original look, but I get errors too.

When I build the dvrrdk with the make all, there are errors like this:

/home/wangshu/dvrrdk/DVRRDK_04.00.00.03/dvr_rdk/../dvr_rdk/lib/ti816x-evm/dvr_rdk_link_api.a(rpe_audio.o): In function `Audio_createAacEncAlgorithm':
rpe_audio.c:(.text+0x158): undefined reference to `Rpe_create'
rpe_audio.c:(.text+0x194): undefined reference to `Rpe_acquireCallDescriptor'
rpe_audio.c:(.text+0x1fc): undefined reference to `Rpe_control'
rpe_audio.c:(.text+0x23c): undefined reference to `Rpe_acquireCallDescriptor'
rpe_audio.c:(.text+0x298): undefined reference to `Rpe_control'
rpe_audio.c:(.text+0x2c4): undefined reference to `Rpe_control'
rpe_audio.c:(.text+0x334): undefined reference to `Rpe_getErrorString'
rpe_audio.c:(.text+0x370): undefined reference to `Rpe_delete'
rpe_audio.c:(.text+0x394): undefined reference to `Rpe_delete'
rpe_audio.c:(.text+0x3b8): undefined reference to `Rpe_delete'
rpe_audio.c:(.text+0x3dc): undefined reference to `Rpe_delete'
rpe_audio.c:(.text+0x400): undefined reference to `Rpe_delete'
/home/wangshu/dvrrdk/DVRRDK_04.00.00.03/dvr_rdk/../dvr_rdk/lib/ti816x-evm/dvr_rdk_link_api.a(rpe_audio.o): In function `Audio_encodeAsAac':
rpe_audio.c:(.text+0x4b0): undefined reference to `Rpe_process'
rpe_audio.c:(.text+0x4cc): undefined reference to `Rpe_control'
rpe_audio.c:(.text+0x5a4): undefined reference to `Rpe_control'
/home/wangshu/dvrrdk/DVRRDK_04.00.00.03/dvr_rdk/../dvr_rdk/lib/ti816x-evm/dvr_rdk_link_api.a(rpe_audio.o): In function `Audio_createAacDecAlgorithm':
rpe_audio.c:(.text+0x8d0): undefined reference to `Rpe_create'
rpe_audio.c:(.text+0x910): undefined reference to `Rpe_acquireCallDescriptor'
rpe_audio.c:(.text+0x984): undefined reference to `Rpe_control'
rpe_audio.c:(.text+0x9c0): undefined reference to `Rpe_acquireCallDescriptor'
rpe_audio.c:(.text+0xa24): undefined reference to `Rpe_control'
rpe_audio.c:(.text+0xa54): undefined reference to `Rpe_control'
rpe_audio.c:(.text+0xac8): undefined reference to `Rpe_getErrorString'
rpe_audio.c:(.text+0xb04): undefined reference to `Rpe_delete'
rpe_audio.c:(.text+0xb28): undefined reference to `Rpe_delete'
rpe_audio.c:(.text+0xb4c): undefined reference to `Rpe_delete'
rpe_audio.c:(.text+0xb70): undefined reference to `Rpe_delete'
rpe_audio.c:(.text+0xb94): undefined reference to `Rpe_delete'
/home/wangshu/dvrrdk/DVRRDK_04.00.00.03/dvr_rdk/../dvr_rdk/lib/ti816x-evm/dvr_rdk_link_api.a(rpe_audio.o): In function `Audio_decodeAac':
rpe_audio.c:(.text+0xc98): undefined reference to `Rpe_process'
rpe_audio.c:(.text+0xcc4): undefined reference to `Rpe_control'
rpe_audio.c:(.text+0xd5c): undefined reference to `Rpe_control'
/home/wangshu/dvrrdk/DVRRDK_04.00.00.03/dvr_rdk/../dvr_rdk/lib/ti816x-evm/dvr_rdk_link_api.a(rpe_audio.o): In function `Audio_deleteEncAlgorithm':
rpe_audio.c:(.text+0xfdc): undefined reference to `Rpe_delete'
/home/wangshu/dvrrdk/DVRRDK_04.00.00.03/dvr_rdk/../dvr_rdk/lib/ti816x-evm/dvr_rdk_link_api.a(rpe_audio.o): In function `Audio_deleteDecAlgorithm':
rpe_audio.c:(.text+0x1010): undefined reference to `Rpe_delete'
/home/wangshu/dvrrdk/DVRRDK_04.00.00.03/dvr_rdk/../dvr_rdk/lib/ti816x-evm/dvr_rdk_link_api.a(system_ipc_msgq.o): In function `System_ipcMsgQHeapCreate':
system_ipc_msgq.c:(.text+0x5e4): undefined reference to `Rpe_messageqHeapId'
collect2: ld returned 1 exit status
make[5]: *** [exe] Error 1
make[4]: *** [apps] Error 2
make[3]: *** [demo] Error 2
make[2]: *** [libs] Error 2
make[1]: *** [demo] Error 2
make: *** [dvr_rdk_linux] Error 2

and when I build the rpe with the make, there are errors like this:

MAKE src CORE=a8host PLATFORM=ti814x-evm
ARM-CC rpecore/rpe_fxncall.c
make[1]: /cgt_a8/arago/linux-devkit/bin/gcc: Command not found
make[1]: *** [/home/wangshu/dvrrdk/DVRRDK_04.00.00.03/ti_tools/rpe/remote-processor-execute/src/../lib//obj/a8/debug/rpe_fxncall.ov5T] Error 127
make: *** [linuxlib] Error 2

I am sincerely looking forward for your help, thanks.

Hongchuan Wang