A related question is a question created from another question. When the related question is created, it will be automatically linked to the original question.
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.
Hi,All
When I do "make clean" then do "make",get error when build "dmai",the platform is dm365.
I find that when make clean,It will delete some packages like "dvsdk4.0/codec-engine_2_26_01_09/examples/ti/sdo/ce/examples/codecs/g711/package",
but when build dmai need these packages. So when I replace codec-engine_2_26_01_09 with original folder, It can build without error.
What to after make clean,and make without error ?
The error info when do make:
======== Building speech_decode_io1 ========
Configuring application using linux/speech_decode_io1_dm365.cfg
making package.mak (because of package.bld) ...
generating interfaces for package speech_decode_io1_dm365_config (because package/package.xdc.inc is older than package.xdc) ...
configuring speech_decode_io1_dm365.xv5T from package/cfg/speech_decode_io1_dm365_xv5T.cfg ...
js: "/home/ming/work/dvsdk4.0/dmai_2_20_00_10/packages/ti/sdo/dmai/apps/speech_decode_io1/linux/speech_decode_io1_dm365.cfg", line 40: XDCException: xdc.PACKAGE_NOT_FOUND: /home/ming/work/dvsdk4.0/codec-engine_2_26_01_09/examples/ti/sdo/ce/examples/codecs/g711/package.xdc found along the package path, but no schema file was found. Ensure that the package 'ti.sdo.ce.examples.codecs.g711' is completely built.
"./package/cfg/speech_decode_io1_dm365_xv5T.cfg", line 474
"./package/cfg/speech_decode_io1_dm365_xv5T.cfg", line 429
gmake: *** [package/cfg/speech_decode_io1_dm365_xv5T.c] Error 1
Warning: directory "/packages" on package path does not exist
Warning: directory "/soc/packages" on package path does not exist
js: "/home/ming/work/dvsdk4.0/xdctools_3_16_03_36/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
make[3]: *** [linux/speech_decode_io1_dm365_config/compiler.opt] Error 1
make[2]: *** [speech_decode_io1/] Error 2
make[2]: Leaving directory `/home/ming/work/dvsdk4.0/dmai_2_20_00_10/packages/ti/sdo/dmai/apps'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ming/work/dvsdk4.0/dmai_2_20_00_10'
make: *** [dmai] Error 2
Before build dmai ,build ceexamples first, then all build run good.
Modify the Makefile
#==============================================================================
# The default build target builds components to enable all other build targets.
#==============================================================================
components: linux cmem dm365mm irq edma ceexamples dmai
default: components