按照Build/Run Instructions for Codec Engine Examples 一步来,
gmake clean 出现如下错误:
gmake[4]: `.outdir' is up to date.
gmake[4]: Leaving directory `/work/DaVinci/test/examples/ti/sdo/ce/examples/apps/rtcfg/osal'
gmake -C debug \
-f /usr/local/ezsdk/component-sources/osal_1_22_01_09/packages/linuxdist/build/Makefile \
OSAL_INSTALL_DIR=/usr/local/ezsdk/component-sources/osal_1_22_01_09 \
CROSS_COMPILE=/ \
PRECONFIG=/usr/local/ezsdk/component-sources/osal_1_22_01_09/packages/linuxdist/preconfig/development \
CFLAGS=-g
gmake[4]: Entering directory `/work/DaVinci/test/examples/ti/sdo/ce/examples/apps/rtcfg/osal/debug'
/gcc -g -Dxdc_target_name__=GCArmv5T -Dxdc_target_types__=gnu/targets/arm/std.h -I. -I/usr/local/ezsdk/component-sources/osal_1_22_01_09/sources -I/usr/local/ezsdk/component-sources/osal_1_22_01_09/packages -I/usr/local/ezsdk/component-sources/osal_1_22_01_09/packages/linuxdist/preconfig/development -c -o lib/xdc_init.o /usr/local/ezsdk/component-sources/osal_1_22_01_09/sources/xdc/runtime/xdc_init.cpp
gmake[4]: /gcc: Command not found
gmake[4]: *** [xdc/runtime/xdc_init.o] Error 127
gmake[4]: Leaving directory `/work/DaVinci/test/examples/ti/sdo/ce/examples/apps/rtcfg/osal/debug'
gmake[3]: *** [debug] Error 2
gmake[3]: Leaving directory `/work/DaVinci/test/examples/ti/sdo/ce/examples/apps/rtcfg/osal'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/work/DaVinci/test/examples/ti/sdo/ce/examples/apps/rtcfg/osal'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/work/DaVinci/test/examples/ti/sdo/ce/examples/apps'
gmake: *** [apps] Error 2
新手不知怎么解决?谢谢!
Louis:
gmake[4]: /gcc: Command not foundgmake[4]: *** [xdc/runtime/xdc_init.o] Error 127
应该是没有找到交叉编译工具,请确认一下交叉编译工具是否安装,以及环境变量设置。
Regards,
Louis