[root@localhost linux-2.6.28.7]# make zImage
make: /usr/local/arm/3.4.2/bin/arm-linux-gcc: Command not found
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
make: /usr/local/arm/3.4.2/bin/arm-linux-gcc: Command not found
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CC kernel/bounds.s
/bin/sh: /usr/local/arm/3.4.2/bin/arm-linux-gcc: No such file or directory
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
有人介绍的解决办法:0 t& k1 C9 @: D j, ?3 ]' u
修改内核配置:+ ~. z' e) Q! s" o2 W' {
Kernel Features ---->Use the ARM EABIto compile the kernel(不选择)
还有一种方法 用arm-none-linux-gnueabi编译器可解决此问题
但是我改了不行,可能是因为出现Command not found的原因,不知如何解决???
后来用了指令:make uImage ARCH=arm CROSS_COMPILE=arm-linux-就不出现错误,不过后面有出现警告,有谁知道上面那个命令和make zImage的区加?
阅读(723) | 评论(0) | 转发(0) |