I am trying to build the TI codec engine for the gumstix using the recipes in openembedded.

I am getting the following error and I was wondering if anyone recognized it and might have a path forward?

Note:  I am using the codec_engine version 2_23_01 since I already had that downloaded.  I doubt that this is the issue, but I figured I should mention it.

When I look in the config.bld mentioned to determine the path used, I don't see a 'rootDir' . The only thing I see is the userPath.  Is that what they are referring to?   I've attached that file  below


Charlie


| making all: Thu Dec 17 04:42:57 PST 2009 ...
| ======== .interfaces [/home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/examples/ti/xdais/dm/examples/viddec1_copy] ========
| #
| # making package.mak (because of package.bld) ...
| /home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdctools-native/tconf  -Dxdc.path="/home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../..;/home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/cetools/packages;/home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/packages;/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-dspbios-native/packages;/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdctools-native/packages;../../../../.." -Dxdc.root=/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdctools-native -Dxdc.hostOS=Linux -Dconfig.importPath=".;/home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../..;/home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/cetools/packages;/home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/packages;/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-dspbios-native/packages;/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdctools-native/packages;../../../../..;/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdctools-native;/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdctools-native/etc" -Dxdc.bld.targets="" -DTOOLS=   /home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdctools-native/packages/xdc/bld/bld.js /home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../../config.bld package.bld package.mak
| config.bld: Running the version from Codec Engine Examples.
| config.bld: loading user build configuration file /home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/examples/user.bld
| building for target C64P ...
| building for target C674 ...
| building for target Linux86 ...
| building for target GCArmv5T ...
| building for target UCArm9 ...
| js: "/home/charlie/pixhawk-oe-tmp/staging/i686-linux/ti-xdctools-native/packages/ti/targets/ITarget.xs", line 172: Error: /db/toolsrc/library/tools/vendors/ti/c6x/6.0.16/Linux cannot be found. Ensure that rootDir for the C64P target is set correctly in /home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../../config.bld
| make[1]: *** Deleting file `package.mak'
| ======== .interfaces [/home/charlie/pixhawk-oe-tmp/work/overo-angstrom-linux-gnueabi/ti-codec-engine-2_23_01-r7/codec_engine_2_23_01/examples/ti/sdo/ce/examples/codecs/viddec1_copy] ========



* Copyright (c) 2009, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* *  Redistributions of source code must retain the above copyright
*    notice, this list of conditions and the following disclaimer.
*
* *  Redistributions in binary form must reproduce the above copyright
*    notice, this list of conditions and the following disclaimer in the
*    documentation and/or other materials provided with the distribution.
*
* *  Neither the name of Texas Instruments Incorporated nor the names of
*    its contributors may be used to endorse or promote products derived
*    from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* NOTE FOR THE USER:
*
* 1) Generally there is no need to edit this file
* 2) It is best to keep it in the same directory where the file "user.bld" is
*
* In more details:
*
* This file controls compiler options for the Arm and the DSP when
* building programs with XDC. It affects only the binaries that are built
* through "package.bld" XDC files. The XDC tools pick up this file along
* the package path; this file then finds "user.bld" file with further options
* that are specific for the user's build environment.
*
* The contents of this file usually doesn't change, but having it in your
* ownership allows you to tweak your compler options. If you do change
* this file, however, on the next upgrade to Codec Engine we recommend
* that you take "config.bld" file as supplied by the upgrade and then merge
* your changes with it.
*
* Also note that the XDC tools pick up the first config.bld file they find
* along the package path; to make sure it is this file that gets picked,
* make the directory where this file is the first in the package path.
* You can verify that this file is being included by checking that
* the build process for each package prints the "Running the version
* from Codec Engine Examples" message.
*/

/*
*  ======== config.bld ========
*  This script is run prior to all build scripts. It sets host-system-
*  independent values for targets and platforms, then it attempts to
*  find the host-system-specific user.bld script that sets rootDirs.
*
*  These settings may be a function of the following global variables:
*
* environment a hash table of environment strings
*
* arguments   an array of string arguments to the config.bld script
*     initialized as follows:
*         arguments[0] - the file name of the config.bld script
*         arguments[1] - the first argument specified in XDCARGS
*             :
*         arguments[n] - the n'th argument in XDCARGS
*
* Build     an alias for xdc.om.xdc.bld.BuildEnvironment
*/

print( "config.bld: Running the version from Codec Engine Examples." );

/*
*  ======== DSP target ========
*/
var remarks =  " " +
//   "-pdr "     + // enable remarks
  "-pden "    + // enumerate remarks
//   "-pds=880 " + // variable never referenced
//   "-pds=552 " + // variable set but not used
//   "-pds=238 " + // controlling expression is constant
//   "-pds=681 " + // call cannot be inlined
//   "-pds=452 " + // long long type is not standard
  "-pds=195 " + // zero used for undefined preprocessing id (setjmp.h)
  "";

var C64P = xdc.useModule('ti.targets.C64P');
C64P.ccOpts.prefix += remarks;

var C674 = xdc.useModule('ti.targets.C674');

/*
*  ======== Linux host target ========
*/
var Linux86 = xdc.useModule('gnu.targets.Linux86');
Linux86.lnkOpts.suffix = "-lpthread " + Linux86.lnkOpts.suffix;

/*
*  ======== Arm target ========
*/
if (false) {  /* currently, MV tools are not used - Codesourcery is */
var MVArm9 = xdc.useModule('gnu.targets.MVArm9');
MVArm9.platform = null;  // must use userbldBuildPlatforms object
MVArm9.ccOpts.prefix += " "
   // options that check quality/strictness of code
   + "-Wall "
   // supress some warnings caused by .xdc.h files
   + "-fno-strict-aliasing "
   ;

/* remove reference to C++ from opts */
MVArm9.lnkOpts.suffix = MVArm9.lnkOpts.suffix.replace("-lstdc++", "");

/* add pthreads */
MVArm9.lnkOpts.suffix = "-lpthread " + MVArm9.lnkOpts.suffix;
}

/*
*  ======== Arm9 uClibc ========
*
*  GCC toolchain using uClibc runtime library
*/
var UCArm9 = xdc.useModule('gnu.targets.UCArm9');
UCArm9.platform = null;  // must use userbldBuildPlatforms object
UCArm9.ccOpts.prefix += " -D_REENTRANT ";

/* add pthreads */
UCArm9.lnkOpts.suffix = "-lpthread " + UCArm9.lnkOpts.suffix;

/*
*  ======== Arm Target ========
*/
var GCArmv5T = xdc.useModule('gnu.targets.arm.GCArmv5T');
GCArmv5T.platform = null;  // must use userbldBuildPlatforms object
GCArmv5T.ccOpts.prefix += " -Wall -fno-strict-aliasing ";
GCArmv5T.lnkOpts.suffix = GCArmv5T.lnkOpts.suffix.replace("-lstdc++", "");
GCArmv5T.lnkOpts.suffix += " -lpthread ";

/*
*  ======== Pkg.attrs.profile ========
*/
Pkg.attrs.profile = "release";

/*
*  ======== load user.bld ========
*  Search for user.bld in this order:
*  1) current directory
*  2) repository for the current package
*  3) package path
*/
var userPath = ".;"
   + ('.' + Pkg.name).replace(/[^\.]+/g, "./") + ";"
   + xdc.curPath();

var userFile = utils.findFile("user.bld", userPath, ";");
if (userFile != null) {
   userFile = java.io.File(userFile).getCanonicalPath();
   print("config.bld: loading user build configuration file " + userFile);
   utils.importFile(userFile);
}
else {
   throw new Error("config.bld: ERRROR: could not find the user-specific "
       +  "build configuration file, user.bld, along the path '"
       + userPath + "'");
}