|
很高兴公社也开办了这个分论坛!!!
我正准备从事基于LINUX的嵌入式系统开发,因为是新手,很多方面不懂,周围也没有人指导
利用LINUX2.4.20编译基于ARM芯片的内核时,发生了问题,我怎么都不能进入编译界面,情况如下:是不是这个内核缺少什么啊,需要装补丁吗.
[root@jmcar linux-2.4]# make ARCH=arm xconfig
rm -f include/asm-arm/arch include/asm-arm/proc
(cd include/asm-arm; ln -sf arch- arch; ln -sf proc- proc)
rm -f include/asm
( cd include ; ln -sf asm-arm asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.20-8/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/arm/config.in >> kconfig.tk
-: 541: unable to open drivers/ssi/Config.in
make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/scripts'
make: *** [xconfig] Error 2
然后用MENUCONFIG编译,错误如下:
[root@jmcar linux-2.4]# make ARCH=arm menuconfig
rm -f include/asm-arm/arch include/asm-arm/proc
(cd include/asm-arm; ln -sf arch- arch; ln -sf proc- proc)
rm -f include/asm
( cd include ; ln -sf asm-arm asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.20-8/scripts/lxdialog'
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/scripts/lxdialog'
/bin/sh scripts/Menuconfig arch/arm/config.in
Using defaults found in .config
Preparing scripts: functions, parsingscripts/Menuconfig: line 1435: 2718 段错误 awk "$1"
Awk died with error code 139. Giving up.
make: *** [menuconfig] Error 1
谢谢各位无私的帮助. |
|