Unbutu编译linux-2.6.28问题

root@lihui-desktop:/usr/local/arm/linux-2.6.28.7# make s3c2410_defconfig 
/bin/sh: uname: not found
/bin/sh: sed: not found
/bin/sh: rm: not found
-marm
/bin/sh: rm: not found
-march=armv5t -Wa,-march=armv7-a
/bin/sh: rm: not found
-march=armv5t -Wa,-march=armv6
/bin/sh: rm: not found
-march=armv5te
/bin/sh: rm: not found
-mtune=arm9e
/bin/sh: rm: not found
-mtune=xscale
/bin/sh: rm: not found
-mtune=xscale
/bin/sh: rm: not found
-mtune=strongarm
/bin/sh: rm: not found
-mapcs-32
/bin/sh: rm: not found
-mno-thumb-interwork
/bin/sh: rm: not found
-malignment-traps
/bin/sh: rm: not found

  HOSTCC scripts/basic/fixdep
/bin/sh: rm: not found
make[1]: *** [scripts/basic/fixdep] 错误 127
make: *** [scripts_basic] 错误 2
求救:有gcc

作者: dengniya   发布时间: 2011-06-13

这不是编译内核的命令,# make s3c2410_defconfig 不是用来在根目录下生成.config的吗  
 你可以换成 # cp arch/arm/configs/s3c2410_defconfig ./.config  
然后 #make menuconfig ARCH=arm CROSS_COMPILE=arm-linux- 配置完后 保存
运行 #make uImage ARCH=arm CROSS_COMPILE=arm-linux- 试试

下载一次,就能不断自动更新,欢迎使用《Csdn收音机》!

作者: liukun321   发布时间: 2011-06-13