zswself 发表于 2006-8-23 17:25:39

uClinux-20030522 make xconfig

uClinux-dist-20030522 make xconfig 出错

下载uClinux-dist-20030522.tar.gz,
打上uClinux-20030522-dailzh.patch补丁,执行如下命令:

make xconfig
点Target Platform Selection
选中Customize Kernel Settings
退回到主界面
点Save and Exit

执行结果如下:

# make xconfig
config/mkconfig > config.in
make -C /uClinux-dist/config/scripts tkparse
make: Entering directory `/uClinux-dist/config/scripts'
make: `tkparse' is up to date.
make: Leaving directory `/uClinux-dist/config/scripts'
ARCH=dummy /uClinux-dist/config/scripts/tkparse < config.in > config.tmp
cat /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 /uClinux-dist/config/scripts/tail.tk >> config.tk
chmod 755 config.tk
make: Entering directory `/uClinux-dist'
make ARCH=armnommu CROSS_COMPILE=arm-elf- -C linux-2.4.x xconfig
make: Entering directory `/uClinux-dist/linux-2.4.x'
rm -f include/asm-armnommu/arch include/asm-armnommu/proc
(cd include/asm-armnommu; ln -sf arch-snds100 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 `/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 `/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 variable
    while executing
"set CONFIG_INIT_CONSOLE_SPEED "
    (file "scripts/kconfig.tk" line 18672)
make: *** Error 1
make: Leaving directory `/uClinux-dist/linux-2.4.x'
make: *** Error 2
make: Leaving directory `/uClinux-dist'
make: *** Error 2
#

别的版本的uClinux执行make xconfig无问题。应该怎样修改?

lumit-support-1 发表于 2006-8-23 22:53:05

使用 config 和 xconfig,可能会没有设置某些配置文件选项和没有生成编译所需的头文件。推荐使用用 make menuconfig,这是内核开发人员用的较多的配置方法。
menuconfig能用吗?

zswself 发表于 2006-8-24 09:57:01

多谢,menuconfig无问题。
页: [1]
查看完整版本: uClinux-20030522 make xconfig