|
今天按照这个帖子做实验
http://dev.eeworld.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啊,是那个帖子写错了么?应该怎么解决呢?
|
|