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

--
[EMAIL PROTECTED] mailing list

Reply via email to