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.

error: rebuilding Codec engine for DM365 on Android

Hi,

I am getting following error, while rebuilding the codec_engine_2_25_05_16 for DM365 on Android platform.

SemMP_posix.c:43:21: error: sys/sem.h: No such file or directory
SemMP_posix.c: In function 'SemMP_create':

I am using below config.bld for rebuilding codec engine for DM365 :

codec_engine_2_25_05_16/config.bld

var remarks = " -pden -pds=195 ";

/* ======== gnu.targets.arm.GCArmv5T ======== */
var GCArmv5T = xdc.useModule('gnu.targets.arm.GCArmv5T');
GCArmv5T.rootDir = "" +  java.lang.System.getenv("ANDROID_TOOLCHAIN");
GCArmv5T.LONGNAME = java.lang.System.getenv("ANDROID_TOOLCHAIN_LONGNAME");

GCArmv5T.ccOpts.prefix += " -Wall -fno-strict-aliasing " + java.lang.System.getenv("ANDROID_CFLAGS");

GCArmv5T.lnkOpts.suffix = GCArmv5T.lnkOpts.suffix.replace("-lstdc++","");

GCArmv5T.lnkOpts.suffix += java.lang.System.getenv("ANDROID_LDFLAGS");

GCArmv5T.platforms = [
    "ti.platforms.evmDM365"
];

delete GCArmv5T.profiles["coverage"];
delete GCArmv5T.profiles["profile"];

Build.targets.$add(GCArmv5T);

/*
 * Add this libvers.xdt template to each package being built to auto-generate
 * symbols used internally to determine compatibility between SW running on
 * different devices.
 */
Pkg.libTemplate = "ti/sdo/ce/utils/libvers.xdt";