[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to reinstall kernel source tree



On athlon XP machine,  I tried to reinstall Redhat Linux kernel 2.4.18-3 
source tree. but didn't got luck.  Here is what I did:
#rpm -ivh  --force  kernel-2.4.18-3.src.rpm
#rpm -qi   kernel-2.4.18-3
The Install date was 12/16/2002.  It didn't updated!

#cd   /usr/src/linux-2.4.18-3
#cp  configs/kernel-2.4.18-3-athlon.config  ../.config
#make  dep

It didn't seems do anything:
[root@puma linux-2.4.18-3]# make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep 
scripts/mkdep.c
make[1]: Entering directory `/usr/src/linux-2.4.18-3/arch/i386/boot'
make[1]: Nothing to be done for `dep'.
make[1]: Leaving directory `/usr/src/linux-2.4.18-3/arch/i386/boot'
make: *** No rule to make target `include/linux/autoconf.h', needed by 
`include/linux/version.h'.  Stop.
[root@puma linux-2.4.18-3]#

After that I tried to compile a driver and couldn't find modversions.h 
and autoconf.h,  what I am missing here in order to successful reinstall 
kernel source tree.   Your help will be appreciated,
-Hong



-- 
 <Linux kernel:>< As a computer I find your faith in technology amusing.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/