|
发表于 2002-11-26 18:21:32
|
显示全部楼层
我只是想知道为什么xconfig就不行呢?
上面忘了附上错误信息了:[root@jcnet linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
if [ -f .need_mrproper ]; then \
rm .need_mrproper; \
make mrproper; \
make preconfig; \
fi
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.19-16mdk/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.cgcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c
gcc -o tkparse tkparse.o tkcond.o tkgen.o
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
KVER=`sed -n 's/^.define UTS_RELEASE "\(.*mdk\).*"/\1/p' ../include/linux/version.h`; \
KTYPE=`sed -n 's/^.define __BOOT_KERNEL_\([^ ]*\) 1/\1/p' /boot/kernel.h|tr A-Z a-z`; \
[[ "$KTYPE" = "up" ]] && KTYPE="" ;\
KCONF=/boot/config-$KVER$KTYPE ; \
if [ -f "$KCONF" ]; then \
echo "set defaults \"$KCONF\"" >> kconfig.tk; \
else \
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk; \
fi
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.4.19-16mdk/scripts'
wish -f scripts/kconfig.tk
......(一堆乱码)
最后是make: *** [xconfig] Error 1 |
|