Hello,
I would like to integrate the MP3DEC codec into DVSDK for OMAPL138 and followed the procedure in http://processors.wiki.ti.com/index.php/How_do_I_Integrate_new_codecs_into_DVSDK
, but I encountered the following errors:
undefined first referenced
symbol in file
--------- ----------------
_MP3DEC_INBUFCACHEFLUSH package/cfg/bin/cs_x674.o674
_MP3DEC_TII_IMP3DEC package/cfg/bin/cs_x674.o674
error: unresolved symbols remain
error: errors encountered during linking; "bin/cs.x674" not built
gmake[1]: *** [bin/cs.x674] Error 1
gmake: *** [packages/ti/sdo/server/cs,.executables] Error 2
make: *** [.all-packages] Error 2
The DVSDK version is 04_03_00_06.
MP3DEC codec is c64xplus_mp3dec_01_31_01_001_production.
I have built the server before added in this mp3dec codec to make sure all the tools paths settings are correct.
The modification for the server files are as follow:
For the file: packages/ti/sdo/server/cs/codec.cfg
var MP3DEC = xdc.useModule('ti.sdo.codecs.mp3dec.ce.MP3DEC');
MP3DEC.alg.watermark = false;
MP3DEC.alg.codeSection = codeSection;
MP3DEC.alg.udataSection = udataSection;
MP3DEC.alg.dataSection = dataSection;
Server.algs = [
.
.
.
{name: "mp3dec", mod: MP3DEC , threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 2},
groupId : 1,
},
]
For the file: packages/ti/sdo/server/cs/package.xs
function validate() {
.
.
.
validate_one_codec( "ti.sdo.codecs.mp3dec", "MP3DEC" );
}
Is there anything wrong or missing in the above? Thanks in advance.