The following error appears: rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.3.99/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 statement not in menu make[1]: *** [kconfig.tk] Error 1 make[1]: Leaving directory `/usr/src/linux-2.3.99/scripts' make: *** [xconfig] Error 2 Make menuconfig works fine. I downloaded the full (non-rpm) sources from kernel.org and this problem does not occur.
I discovered that a similar bug was reported as Bug 9901 for RH 6.2
Download linux-2.3.99-pre8.tar.bz2 from kernel.org and use those sources. make xconfig works and it is a more stable release than rawhide package anyways. Even after running successful make menuconfig on the RH package the kernel still failed to compile when I did a bzlilo whereas the sources from kernel.org don't. -Stan Bubrouski
Fixed in the current kernel sources.