after compiling and installing the kernel once, i can no longer use "make xconfig" or "make menuconfig". even i reinstalled the red hat system, it doesn't work neither.
thanks for help!
the messages of make are like below:
[root@bean linux-2.4]# make menuconfig
make: *** No rule to make target `include/linux/autoconf.h', needed by `include/linux/version.h'. Stop.
yeah, it is strange. i just reinstalled my system. make menuconfig worked, but not make xconfig. then i ran make mrproper. and after that, make menuconfig didn't work any more!
what's the problem? thanks!
once run make mrproper, i can no longer ran make menuconfig
then i reinstalled the system and reinstalled kernel-source, the pb was sovled.
but i still don't dare to run make mrproper
from the make mrproper script u can see that it delete the autoconf.h. while i believe the make menuconfig should work. at least my kernel 2.4.20 is fine. what version of kernel code u use? i may have a try. i try at least 20 versions of linux kernel before from 2.2 to 2.4 to 2.5, never meet this before.
ln /usr/src/linux-2.x.x linux
cd /usr/src/linux
rm -rf asm linux scsi
ln -s /usr/src/linux/include/asm-i386 asm
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/scsi scsi
cd /usr/src/linux
make mrproper
........
.........
need not do this, mrproper will do these automatically. and for vanilla kernel from kernel.org. if u compile it the first time, u only need run make menuconfig. but if u change some important options, like smp support, u need run make mrproper or make distclean.
my kernel version is 2.4.7-10
normally "make menuconfig" should work after "make mrproper".
but on my machine, it's strange. maybe it's due to a hard ware pb.
any way, i think it's not such a big pb.