I'm trying to build the Codec Engine examples in the latest EZSDK by running "make" in <codec engine>/examples.
Here is the error I get:
<more build output then...>
# all files complete.
all files complete: Fri Oct 19 12:12:07 BST 2012.
make[2]: Leaving directory `/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/servers/server_api_example'
make[1]: Leaving directory `/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/servers'
make -C ti/sdo/ce/examples/apps
make[1]: Entering directory `/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps'
make -C speech all
make[2]: Entering directory `/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps/speech'
"/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdctools_3_23_03_53/xdc" --jobs=1 \
XDCBUILDCFG=/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/codec_engine.bld \
XDCPATH="/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps/speech/../../../../../..;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdais_7_22_00_03/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/bios_6_33_05_46/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/linuxutils_3_22_00_02/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_00_14/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/osal_1_22_01_09/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/framework_components_3_22_01_07/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/edma3_lld_02_11_05_02/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/ipc_1_24_03_32/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/packages" \
XDCOPTIONS=v XDCARGS="DEVICE=\"TI816X\" PROGRAMS=\"APP_CLIENT\" GPPOS=\"LINUX_GCC\" ti.targets.C64P=\"\" ti.targets.C674=\"\" ti.targets.arm.elf.M3=\"\" ti.targets.elf.C64P=\"\" ti.targets.elf.C64T=\"\" ti.targets.elf.C66=\"\" ti.targets.elf.C674=\"\" gnu.targets.arm.GCArmv5T=\"/home/ralph/arm-2009q1;LONGNAME=bin/arm-none-linux-gnueabi-gcc;profiles.release.compileOpts.copts=-O2 -ffunction-sections\" google.targets.arm.Bionic=\";LONGNAME=;libcDir=;fsDir=\"" all -PD .
making all: Fri Oct 19 12:12:07 BST 2012 ...
======== .interfaces [/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps/speech] ========
gmake[1]: `.interfaces' is up to date.
.interfaces files complete: Fri Oct 19 12:12:07 BST 2012.
======== .libraries [/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps/speech] ========
gmake[1]: `.libraries' is up to date.
.libraries files complete: Fri Oct 19 12:12:07 BST 2012.
======== .dlls [/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps/speech] ========
#
# configuring bin/ti_platforms_evmTI816X/app_remote.xv5T from package/cfg/bin/ti_platforms_evmTI816X/app_remote_pv5T.cfg ...
/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdctools_3_23_03_53/xs -Dxdc.path="/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps/speech/../../../../../..;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdais_7_22_00_03/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/bios_6_33_05_46/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/linuxutils_3_22_00_02/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_00_14/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/osal_1_22_01_09/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/framework_components_3_22_01_07/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/edma3_lld_02_11_05_02/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/ipc_1_24_03_32/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdctools_3_23_03_53/packages;../../../../../.." -Dxdc.root=/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdctools_3_23_03_53 -Dxdc.hostOS=Linux -Dconfig.importPath=".;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps/speech/../../../../../..;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdais_7_22_00_03/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/bios_6_33_05_46/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/linuxutils_3_22_00_02/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/syslink_2_20_00_14/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/osal_1_22_01_09/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/framework_components_3_22_01_07/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/edma3_lld_02_11_05_02/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/ipc_1_24_03_32/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/packages;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdctools_3_23_03_53/packages;../../../../../..;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdctools_3_23_03_53;/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/xdctools_3_23_03_53/etc" -Dxdc.bld.targets="" -DTOOLS= xdc.cfg bin/ti_platforms_evmTI816X/app_remote.xv5T package/cfg/bin/ti_platforms_evmTI816X/app_remote_pv5T.cfg package/cfg/bin/ti_platforms_evmTI816X/app_remote_pv5T
js: "/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/packages/ti/sdo/ce/Engine.xs", line 262: Error: Server info file '/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/servers/all_codecs//package/info/bin/ti_platforms_evmTI816X/all_DSP.xe674.info.js' does not exist; specified serverExecutable='bin/ti_platforms_evmTI816X/all_DSP.xe674', serverPackage='ti.sdo.ce.examples.servers.all_codecs'; verify that your Server package has been properly built and released.
"/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/packages/ti/sdo/ce/Engine.xs", line 275
"/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/buildutils/remote.cfg", line 108
"./package/cfg/bin/ti_platforms_evmTI816X/app_remote_pv5T.cfg", line 216
"./package/cfg/bin/ti_platforms_evmTI816X/app_remote_pv5T.cfg", line 295
"./package/cfg/bin/ti_platforms_evmTI816X/app_remote_pv5T.cfg", line 203
gmake[1]: *** [package/cfg/bin/ti_platforms_evmTI816X/app_remote_pv5T.xdl] Error 1
gmake: *** [/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps/speech,.dlls] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps/speech'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06/examples/ti/sdo/ce/examples/apps'
make: *** [apps] Error 2
I have edited products.mak so it is as follows:
#
# ======== products.mak ========
#
# Optional, but useful when many/all dependent components are in one folder
#
DEPOT = /home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources
# Define the product variables for the device you will be using.
IPC_INSTALL_DIR = $(DEPOT)/ipc_1_24_03_32
FC_INSTALL_DIR = $(DEPOT)/framework_components_3_22_01_07
LINK_INSTALL_DIR = $(DEPOT)/syslink_2_20_00_14
OSAL_INSTALL_DIR = $(DEPOT)/osal_1_22_01_09
XDAIS_INSTALL_DIR = $(DEPOT)/xdais_7_22_00_03
CMEM_INSTALL_DIR = $(DEPOT)/linuxutils_3_22_00_02
EDMA3_LLD_INSTALL_DIR = $(DEPOT)/edma3_lld_02_11_05_02
XDC_INSTALL_DIR = $(DEPOT)/xdctools_3_23_03_53
BIOS_INSTALL_DIR = $(DEPOT)/bios_6_33_05_46
# Set location of various cgtools
ti.targets.C64P ?=
ti.targets.C674 ?=
ti.targets.elf.C64P ?=
ti.targets.elf.C64T ?=
ti.targets.elf.C66 ?=
ti.targets.elf.C674 ?=
ti.targets.arm.elf.M3 ?=
# Note that GCC targets are 'special' and require more than one var to be set.
#
# The CGTOOLS_* var points at the base of the toolchain.
# The CC_* var points at the gcc binary (e.g. bin/arm-none-linux-gnueabi-gcc)
#
# Note, the *_V5T vars are for Linux GCC tools, the *_BNC are for Android
CGTOOLS_V5T ?= /home/ralph/arm-2009q1
CC_V5T ?= bin/arm-none-linux-gnueabi-gcc
CGTOOLS_BNC ?=
CC_BNC ?=
LIBCDIR_BNC ?=
FSDIR_BNC ?=
# The AR_* var points at the ar binary (e.g. bin/arm-none-linux-gnueabi-ar)
# We can often auto-determine this based on the value of CC_V5T.
# The magic make cmd replaces the "-gcc" at the end of CC_V5T var with "-ar".
AR_V5T ?= $(CC_V5T:-gcc=-ar)
# don't modify this, it's derived from the GCC vars above
gnu.targets.arm.GCArmv5T ?= $(CGTOOLS_V5T);LONGNAME=$(CC_V5T);profiles.release.compileOpts.copts=-O2 -ffunction-sections
google.targets.arm.Bionic ?= $(CGTOOLS_BNC);LONGNAME=$(CC_BNC);libcDir=$(LIBCDIR_BNC);fsDir=$(FSDIR_BNC)
# Use this goal to print your product variables.
.show-products::
# @echo "DEPOT = $(DEPOT)"
@echo "LINK_INSTALL_DIR = $(LINK_INSTALL_DIR)"
@echo "CMEM_INSTALL_DIR = $(CMEM_INSTALL_DIR)"
@echo "XDAIS_INSTALL_DIR = $(XDAIS_INSTALL_DIR)"
@echo "IPC_INSTALL_DIR = $(IPC_INSTALL_DIR)"
@echo "EDMA3_LLD_INSTALL_DIR = $(EDMA3_LLD_INSTALL_DIR)"
@echo "FC_INSTALL_DIR = $(FC_INSTALL_DIR)"
@echo "OSAL_INSTALL_DIR = $(OSAL_INSTALL_DIR)"
@echo "CGTOOLS_V5T = $(CGTOOLS_V5T)"
@echo "CC_V5T = $(CC_V5T)"
@echo "AR_V5T = $(AR_V5T)"
@echo "ti.targets.C64P (COFF) = $(ti.targets.C64P)"
@echo "ti.targets.C674 (COFF) = $(ti.targets.C674)"
@echo "ti.targets.elf.C64T (ELF) = $(ti.targets.elf.C64T)"
@echo "ti.targets.elf.C64P (ELF) = $(ti.targets.elf.C64P)"
@echo "ti.targets.elf.C674 (ELF) = $(ti.targets.elf.C674)"
@echo "ti.targets.elf.C66 (ELF) = $(ti.targets.elf.C66)"
@echo "ti.targets.arm.elf.M3 (ELF) = $(ti.targets.arm.elf.M3)"
@echo "gnu.targets.arm.GCArmv5T = $(gnu.targets.arm.GCArmv5T)"
@echo "google.targets.arm.Bionic = $(google.targets.arm.Bionic)"
#
# @(#) codec_engine_3_22_01_06; 1, 0, 0,1; 2-24-2012 19:49:44; /db/atree/library/trees/ce/ce-t06/src/ xlibrary
#
Here is my examples/xdcpaths.mak:
#
# ======== xdcpaths.mak ========
# definition of XDC paths and commands
#
# This makefile constructs the "search path" for the XDCtools where it finds
# numerous components and packages needed to build examples and
# programs. See examples/build_instructions.html for general details about
# this file.
#
# USER NOTE:
# 1) you can remove some of the devices from the "DEVICE" list and/or remove
# some of the types of binaries from the "PROGRAMS" list and/or remove
# some of the OS runtime environments from the "GPPOS" list to reduce
# the build time (and possibly avoid checking for presence of a component
# you don't need)
# (Optional) remove from this list the GPP OS's you're not interested in
# building.
#
# Note, this is only used when DEVICES contains a device that runs a GPP running
# a High Level OS (HLOS) like Linux, WinCE, etc.
#
# In most cases, you'll likely set this to empty (e.g. BIOS-running 6472 users)
# or one HLOS entry (e.g. Linux GCC using OMAP3 users).
#
# Note, this is a space-delimited list.
#GPPOS := LINUX_GCC ANDROID
GPPOS := LINUX_GCC
# (Optional) Remove from the list the types of programs you're not
# interested in building:
#
# APP_CLIENT -- build client apps for algs running remotely, on multicore systems
# DSP_SERVER -- build servers containing algs, for use by client apps on other processors
# APP_LOCAL -- build apps with local algs in a single executable
#
# Note, this is a space-delimited list.
#PROGRAMS := APP_CLIENT DSP_SERVER APP_LOCAL
PROGRAMS := APP_CLIENT
#
# Note, this is a space-delimited list.
#
#DEVICE := OMAP3530 OMAPL138 OMAP4430 C6472 C6474 TI816X TI814X TI813X
DEVICE := TI816X
# Set this to your CE installation dir
CE_INSTALL_DIR := /home/ralph/ezsdk/ti-ezsdk_dm816x-evm_5_05_01_04/component-sources/codec_engine_3_22_01_06
# Pre-pend these vars to what products.mak's .show-products prints
.show-products::
@echo "DEVICE = $(DEVICE)"
@echo "GPPOS = $(GPPOS)"
@echo "PROGRAMS = $(PROGRAMS)"
@echo "CE_INSTALL_DIR = $(CE_INSTALL_DIR)"
include $(CE_INSTALL_DIR)/products.mak
# The appropriate dependencies will be used to generate the XDC_PATH.
# Any other components your example requires can be added to thsi variable
# MY_XDC_PATH := <your component>/packages;
MY_XDC_PATH :=
# check above settings for correctness
include $(EXAMPLES_ROOTDIR)/buildutils/xdcpathcheck.mak
Thanks,
Ralph