bluetooth1982 发表于 2004-7-30 17:33:53

make xconfig时出错

在make xconfig时,选择Customize Kernel Setting,出现如下错误:
make -C /usr/src/uClinux-dist/config/scripts tkparse
make: Entering directory `/usr/src/uClinux-dist/config/scripts'
make: `tkparse' is up to date.
make: Leaving directory `/usr/src/uClinux-dist/config/scripts'
ARCH=dummy /usr/src/uClinux-dist/config/scripts/tkparse < config.in > config.tmp
cat /usr/src/uClinux-dist/config/scripts/header.tk >> ./config.tk
cat config.tmp >> config.tk
rm -f config.tmp
echo "set defaults \"/dev/null\"" >> config.tk
echo "set help_file \"config/Configure.help\"" >> config.tk
cat /usr/src/uClinux-dist/config/scripts/tail.tk >> config.tk
chmod 755 config.tk
make: Entering directory `/usr/src/uClinux-dist'
make ARCH=armnommu CROSS_COMPILE=arm-elf- -C linux-2.4.x xconfig
make: Entering directory `/usr/src/uClinux-dist/linux-2.4.x'
rm -f include/asm-armnommu/arch include/asm-armnommu/proc
(cd include/asm-armnommu; ln -sf arch-atmel arch; ln -sf proc-armv proc)
rm -f include/asm
( cd include ; ln -sf asm-armnommu asm)
make -C scripts kconfig.tk
make: Entering directory `/usr/src/uClinux-dist/linux-2.4.x/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/armnommu/config.in >> kconfig.tk
echo "set defaults \"arch/armnommu/defconfig\"" >> kconfig.tk
echo "set ARCH \"armnommu\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/scripts'
wish -f scripts/kconfig.tk
Error in startup script: can't read "CONFIG_INIT_CONSOLE_SPEED": no such variabl
e
    while executing
"set CONFIG_INIT_CONSOLE_SPEED "
    (file "scripts/kconfig.tk" line 18680)
make: *** Error 1
make: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make: *** Error 2
make: Leaving directory `/usr/src/uClinux-dist'
make: *** Error 2

请问我该如何解决?

bluetooth1982 发表于 2004-8-2 15:50:51

问题已经解决,使用命令make menuconfig即可!

不好意思,丢人了!

liangalei 发表于 2004-8-5 22:08:20

但道理上讲,make xconfig也应该是可以的呀?
讲讲你解决的门道,或你想通的思路?

bluetooth1982 发表于 2004-8-6 15:09:54

使用make menuconfig即可

zswself 发表于 2006-8-23 16:51:05

我用uClinux-dist-20030522执行make xconfig出同样的问题,用make menuconfig是可以,
但是应该也可以用make xconfig啊?

用别的版本的uClinux-dist就没事,象uClinux-dist-20040408、uClinux-dist-20051110。
页: [1]
查看完整版本: make xconfig时出错