-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 it is basically a make clean + a littl emore
it sets the default config file back in arch/blah/defconfig and cleans out some symlinks seth On Monday 24 March 2003 00:54, Ralph F. De Witt wrote: > 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+fqNt7TKExlfwaNURAgF/AKCp0eeD1qQSg/ar0dXjAoPmMQjSvgCeNOJf NGt2O/NMKI7wmT4+EMwx0uM= =t6rr -----END PGP SIGNATURE----- -- [EMAIL PROTECTED] mailing list
