2006-7-16 04:23
xitao
编译优龙ST2410板求助
编译优龙ST2410板改Makefile后make dep出错
编译优龙内核--/usr/xitao/2.4.18-rmk7文件夹下先改Makefile文件,CROSS_COMPILE = /usr/local/arm/2.95.3/bin/arm-linux-改成CROSS_COMPILE = arm-linux-
然后输入make menuconfig
然后在菜单下选Load an Alternate Configuration File
把文件名改为kernel_2410.cfg 此文件存在于 /usr/xitao/2.4.18-rmk7文件夹下
然后退出菜单输入make dep出现如下错误:(以上步骤均按内核配套文档做P51-P54)(内核压缩包:2.4.18-rmk7-hzh-yaffs.tar.bz2 配套文档:ST2410使用手册V23.pdf)
rm-linux-gcc -D__KERNEL__ -I/usr/xitao/2.4.18-rmk7/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -mapcs -fno-strict-aliasing -fno-common -fno-common -pipe -mapcs-32 -march=armv4 -mtune=arm9tdmi -mshort-load-bytes -msoft-float -S -o constants.h.tmp.1 getconstants.c
make[2]: arm-linux-gcc: Command not found
make[2]: *** [constants.h] Error 127
make[2]: Leaving directory `/usr/xitao/2.4.18-rmk7/arch/arm/tools'
make[1]: *** [dep] Error 2
make[1]: Leaving directory `/usr/xitao/2.4.18-rmk7/arch/arm/tools'
make: *** [archdep] Error 2
请问出错在哪里,应如何改?
谢谢!