On Sun, 23 Mar 2003 22:15:18 -0700
Collins Richey <[EMAIL PROTECTED]> wrote:

> On Sun, 23 Mar 2003 20:10:14 -0800
> "Ralph F. De Witt" <[EMAIL PROTECTED]> wrote:
> 
> > Hi all:
> > I am fairly new to gentoo and kernel build in general. I have built
> > several kernels so far but still have some problems that need to be
> > gotten over. So when emerge brought me the gentoo-2.4.20-r2 kernel I
> > decided to try again. However I now have the following compile errors
> > with the 2.4.20-r2 gentoo sources kernel:
> > 
> 
> [ errors snipped ]
> 
> The most likely reason for errors of this type is failure to do 'make
> mrproper' when required.  I always take the following steps:
> 
> 1) cd to the /usr/src/linux-... dircctory
> 2) cp .config to another name (can be in same directory)
> 3) make mrproper
> 4) make menuconfig
>       load the saved .config
>       save
> 5) make dep
> 6) make clean
> 7) make bzImage
> 8) make modules
> 
>       Everything to this point can be done as normal user; the following must
>       be as root (or use sudo make ...).
> 
> 9) make modules_install
> 10) mount /boot (if needed) and save your kernel image and system map.
> 11) Modify your lilo config (and /sbin/lilo) or grub config as required.
> 12) reboot and enjoy.
> 
> Some of the steps may be redundant, depending on what you did last, but
> I always do it this way, and it always works.  You can setup a script to
> do most of this.
> 
> --
> Collins
> 
Collins:

Thanks for your help. What does the make mrproper command do? I have not run into in 
the Linux System Commands book or the 6 inches of Gentoo documentation that I have 
download and printed out to help with the install. The documentation that I have read 
only indicated that you should do a emerge sync, emerge sys-kernel/sources, then cd 
/usr/src/linux, then source /etc/profile, then make menuconfig etc. The only change to 
that was to remove the symlink to the kernel and rebuild it to the new kernel if you 
are changing kernels.
Just confused and about 8 feet up the wall trying to fix the last problems on the 
system and getting nowhere fast.
Thanks for the help. Will let you know how it goes.

Ralph

--
[EMAIL PROTECTED] mailing list

Reply via email to