小妹问一个内核编译时的问题
今天按照这个帖子做实验 
 http://dev.csdn.net/author/jiazhen/9c651ed6f81144b1bb4df393284072d4.html 
 到了编译内核这步make   dep   时出错了,错误如下:   
 arm-linux-gcc   -D__KERNEL__   -I/home/linlin/arm/kernel/linux-2.4.21/include   -Wall   -Wstrict-prototypes   -Wno-trigraphs   -Os   -fno-strict-aliasing   -fno-common   -Uarm   -fno-common   -pipe   -mapcs-32   -D__LINUX_ARM_ARCH__=4   -march=armv4   -mtune=arm9tdmi   -mshort-load-bytes   -msoft-float   -Uarm   -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   `/home/yanchao/arm/kernel/linux-2.4.21/arch/arm/tools '   
 make[1]:   ***   [dep]   Error   2   
 make[1]:   Leaving   directory   `/home/yanchao/arm/kernel/linux-2.4.21/arch/arm/tools ' 
 make:   ***   [archdep]   Error   2   
 错误好像是说找不到arm-linux-gcc这个命令,按照那个帖子,编译内核之前也没有安装arm-linux-gcc啊,是那个帖子写错了么?应该怎么解决呢?
------解决方案--------------------应该是在  makefile 中指出你的 gcc  的源路径 
 估计是这样 
 CC=/usr/local/arm/3.3.2/bin/arm-linux-gcc 
 #CC=	gcc 
 你试试啊 
 凭直觉是这样 
 我的  linux  也是很烂的
------解决方案--------------------你的arm-linux-gcc不在默认路径内。 
 按上面说的加路径。
------解决方案--------------------这个是交叉编译,肯定要先有arm-linux-gcc编译器的,如果你没装,没可能编译通过,那帖子可能是忘了说了。
------解决方案--------------------如果你装了还提示这个错误,那就是你的arm-linux-gcc路径没设对,改成正确的路径即可。
------解决方案--------------------安装好arm-linux-gcc,然后CC=/usr/local/arm/3.3.2/bin/arm-linux-gcc,修改Makefile,或者在PATH环境变量加/usr/local/arm/3.3.2/bin路径,这样更好点,用export命令。
------解决方案--------------------由于Makefile可能是你./configure的时候生成的,所以要在./configure之后改,或者在./configure的时候用CC=/usr/local/arm/3.3.2/bin/arm-linux-gcc
------解决方案--------------------和你这些的可能没有关系 
 你说下你的LINUX的版本   
 你看的那个贴子写得不怎么的   
 我记得我上次一直编译出错     
 是少装了几个编译内核的软件     
 你到网上查下   
 我一下子忘了   
 一共是5个左右吧