Re: How to reinstall kernel source tree

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

 



Hong Hsu <honghsu@bellatlantic.net> writes:

> 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 oldconfig

> #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,

I believe these files will be generated when you run "make oldconfig",
assuming you don't want to modify the configuration with "make
menuconfig" or something.

-- 
--Ed L Cashin     PGP public key: http://noserose.net/e/pgp/

  They that can give up essential liberty to obtain a little temporary
   safety deserve neither liberty nor safety.  --Benjamin Franklin

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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux