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.

gencodecpkg fails to build from the command line

I'm attempting to build the code made by the gencodecpkg wizard uing the EZSDK install that came with the c6a816x/am389 EVM and the build is failing:

lholeva@ubuntu:/mnt/hgfs/8168/Code/r1397/DSP/crown/preprocessing$ make all
"/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/xdctools_3_20_05_69_eng/xdc" XDCOPTIONS= XDCARGS="CGTOOLS_C674=\"/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/cgt6x_7_2_0\"" --xdcpath="/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/codec-engine_3_21_00_02/packages;/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/xdais_7_20_00_06/packages" release
making package.mak (because of package.bld) ...
gmake: Warning: File `lib/release/preprocessing.a674.mak' has modification time 9.3 s in the future
generating interfaces for package crown.preprocessing (because package/package.xdc.inc is older than package.xdc) ...
    translating PREPROCESSING
cl674 preprocessing.c ...
cl674 package/package_crown.preprocessing.c ...
archiving package/lib/lib/debug/preprocessing/preprocessing.o674 package/lib/lib/debug/preprocessing/package/package_crown.preprocessing.o674 into lib/debug/preprocessing.a674 ...
  -->  error: 'package/lib/lib/debug/preprocessing/preprocessing.o674' not found
  -->  error: 'package/lib/lib/debug/preprocessing/package/package_crown.preprocessing.o674' not found
gmake: *** [lib/debug/preprocessing.a674] Error 1
gmake: *** Deleting file `lib/debug/preprocessing.a674'
make: *** [all] Error 2

I did modify the generated make file to correct the installation location of Rules.make:

# your various installation directories
XDC_INSTALL_DIR=/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/xdctools_3_20_05_69_eng
CE_INSTALL_DIR=/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/codec-engine_3_21_00_02
XDAIS_INSTALL_DIR=/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/xdais_7_20_00_06
CODEGEN_INSTALL_DIR=/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/cgt6x_7_2_0

#uncomment this for verbose builds
#XDCOPTIONS=v

# If we're a subcomponent, allow larger product settings to override our
# defaults.  The variable $(RULES_MAKE) can be overridden on the 'make'
# command-line if the location below is not correct (for example, if you
# want to use a Rules.make from some other location.
RULES_MAKE := /home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/Rules.make
ifneq ($(wildcard $(RULES_MAKE)),)
include $(RULES_MAKE)
endif
CGTOOLS_C674=$(CODEGEN_INSTALL_DIR)
XDCARGS= CGTOOLS_C674=\"$(CGTOOLS_C674)\"

XDCPATH=$(CE_INSTALL_DIR)/packages;$(XDAIS_INSTALL_DIR)/packages

all:
 "$(XDC_INSTALL_DIR)/xdc" XDCOPTIONS=$(XDCOPTIONS) XDCARGS="$(XDCARGS)" --xdcpath="$(XDCPATH)" release

clean:
 "$(XDC_INSTALL_DIR)/xdc" clean

Any idea what is wrong?  I'm using iUniversal.

 

Lee Holeva