• Not Answered

ti-codec-engine fails to build on openembedded

I'm trying to compile the codec engine package for use in an openembedded environment on the omap-L138.

So far I've successfully built the required packages (ti-dspbios ti-dsplink ti-cgt6x ti-biosutils ti-edma3lld ti-framework-components ti-xdais ti-xdctools ti-linuxutils) using the recipes in the yocto project (git://git.yoctoproject.org/meta-ti). The dsplink samples compile fine and run okay on the target.

However, the codec engine fails to build with a bunch of mysterious errors, that just lead from one "do not edit this" javascript (?) file to another, and I can't really find what the "root" configuration file or whatever is that i need to adjust.

For example, the "ld" program is "/home/mike/my-oe/tmp/sysroots/x86_64-linux/usr/armv5te/bin/arm-oe-linux-gnueabi-ld" the bold printed part is missing in whatever I can make up. I have been trying to track down where I need to correct or patch this, but without luck.

Please help...

Here's the error output log:

NOTE: package ti-codec-engine-2_26_02_11-51ab: task do_compile: Started
ERROR: Logfile of failure stored in: /home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/temp/log.do_compile.6009
Log data follows:
| + do_compile
| + for i in codecs extensions servers apps
| + cd /home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/examples/ti/sdo/ce/examples/codecs
| + make DEVICES=OMAPL138 GPPOS=LINUX_GCC 'PROGRAMS=APP_CLIENT DSP_SERVER' CE_INSTALL_DIR=/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11 XDC_INSTALL_DIR=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdctools-tree BIOS_INSTALL_DIR=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-dspbios-tree BIOSUTILS_INSTALL_DIR=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-biosutils-tree DSPLINK_INSTALL_DIR=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-dsplink-tree XDAIS_INSTALL_DIR=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdais-tree FC_INSTALL_DIR=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-framework-components-tree CMEM_INSTALL_DIR=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-linuxutils-tree LPM_INSTALL_DIR=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-local-power-manager-tree EDMA3_LLD_INSTALL_DIR=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-edma3lld-tree CGTOOLS_V5T=/home/mike/my-oe/tmp/sysroots/x86_64-linux/usr/armv5te CGTOOLS_C64P=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-cgt6x-tree CGTOOLS_C674=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-cgt6x-tree all
| make -C viddec1_copy all
| make[1]: Entering directory `/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/examples/ti/sdo/ce/examples/codecs/viddec1_copy'
| /home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdctools-tree/xdc XDCPATH="/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../..;/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdais-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-linuxutils-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-biosutils-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-edma3lld-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-dspbios-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-dsplink-tree" \
|         XDCOPTIONS=v XDCARGS="DEVICES=\"OMAPL138\" PROGRAMS=\"APP_CLIENT DSP_SERVER\" GPPOS=\"LINUX_GCC\" CGTOOLS_V5T=/home/mike/my-oe/tmp/sysroots/x86_64-linux/usr/armv5te CC_V5T=bin/arm-oe-linux-gnueabi-gcc CGTOOLS_C64P=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-cgt6x-tree CGTOOLS_C674=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-cgt6x-tree CGTOOLS_UCARM9=/db/toolsrc/library/tools/vendors/opensource/buildroot/10122007/build_arm/staging_dir/usr WINCE_ROOTDIR=C:/WINCE600 WINCE_PROJECTROOT=C:/WINCE600/_your_ProjectRoot_/Wince600/TI_EVM_3530_ARMV4I CGTOOLS_LINUX86=_your_Linux86_installation_directory" all -PD .
| making all: Tue Apr 17 12:52:42 CEST 2012 ...
| ======== .interfaces [/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/examples/ti/xdais/dm/examples/viddec1_copy] ========
| #
| # making package.mak (because of package.bld) ...
| /home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdctools-tree/xs  -Dxdc.path="/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../..;/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdais-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-linuxutils-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-biosutils-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-edma3lld-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-dspbios-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-dsplink-tree;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages;../../../../.." -Dxdc.root=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdctools-tree -Dxdc.hostOS=Linux -Dconfig.importPath=".;/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../..;/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdais-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-linuxutils-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-biosutils-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-edma3lld-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-dspbios-tree/packages;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-dsplink-tree;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages;../../../../..;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdctools-tree;/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdctools-tree/etc" -Dxdc.bld.targets="" -DTOOLS=   -f /home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/xdc/bld/bld.js /home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../../config.bld package.bld package.mak DEVICES="OMAPL138" PROGRAMS="APP_CLIENT DSP_SERVER" GPPOS="LINUX_GCC" CGTOOLS_V5T=/home/mike/my-oe/tmp/sysroots/x86_64-linux/usr/armv5te CC_V5T=bin/arm-oe-linux-gnueabi-gcc CGTOOLS_C64P=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-cgt6x-tree CGTOOLS_C674=/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-cgt6x-tree CGTOOLS_UCARM9=/db/toolsrc/library/tools/vendors/opensource/buildroot/10122007/build_arm/staging_dir/usr WINCE_ROOTDIR=C:/WINCE600 WINCE_PROJECTROOT=C:/WINCE600/_your_ProjectRoot_/Wince600/TI_EVM_3530_ARMV4I CGTOOLS_LINUX86=_your_Linux86_installation_directory
| config.bld: Running the version from Codec Engine Examples.
| js: "/home/mike/my-oe/tmp/sysroots/da850-omapl138-evm-oe-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages/gnu/targets/ITarget.xs", line 301: Error: '/home/mike/my-oe/tmp/sysroots/x86_64-linux/usr/armv5te/arm-oe-linux-gnueabi-ld' or '/home/mike/my-oe/tmp/sysroots/x86_64-linux/usr/armv5te/bin/ld' cannot be found. Ensure that rootDir for the GCArmv5T target is set correctly in /home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../../config.bld
| make[1]: *** Deleting file `package.mak'
| make[1]: *** No rule to make target `package.mak', needed by `.interfaces'.  Stop.
| gmake: *** [/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/examples/ti/xdais/dm/examples/viddec1_copy,.interfaces] Error 2
| make[1]: *** [all] Error 2
| make[1]: Leaving directory `/home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/codec_engine_2_26_02_11/examples/ti/sdo/ce/examples/codecs/viddec1_copy'
| make: *** [all] Error 2
NOTE: package ti-codec-engine-2_26_02_11-51ab: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/mike/my-oe/tmp/work/da850-omapl138-evm-oe-linux-gnueabi/ti-codec-engine-2_26_02_11-51ab/temp/log.do_compile.6009 for further information)
ERROR: Task 12 (/home/mike/my-oe/org.openembedded.dev/recipes/ti/ti-codec-engine_2.26.02.11.bb, do_compile) failed with exit code '1'
ERROR: '/home/mike/my-oe/org.openembedded.dev/recipes/ti/ti-codec-engine_2.26.02.11.bb' failed