Generating a new kernel...

Warren Togami warren at togami.com
Sun Jun 10 01:10:34 PDT 2001


The default "gcc" compiler of Redhat 7.0 is very broken.  They supply a
working compiler that they call "kgcc".  A few suggestions.

* Edit your Makefile and replace every instance of "gcc" with "kgcc".
* Try "make clean" before "make dep".  I'm not sure if that makes a
difference, but that's what I usually do.
* Why linux-2.2.16?  The latest kernels are 2.2.19 and 2.4.5.  Please try
compiling those because they have much less bugs, and support more hardware.
* Update your "gcc" to 2.96-85 from Rawhide
ftp://rawhide.redhat.com/pub/redhat/linux/rawhide/i386/RedHat/RPMS/ or
2.96-81 from Redhat 7.1.  These compilers (supposedly) work fine for 2.4.x
kernels, though you will need "kgcc" for 2.2.x kernels.

If you need any more help, please post again.

Warren Togami
warren at togami.com

----- Original Message -----
From: "Rick Chavez" <chavez at hawaii.rr.com>
To: "Linux & Unix Advocates & Users" <luau at list.luau.hi.net>
Sent: Saturday, June 09, 2001 9:19 PM
Subject: [luau] Generating a new kernel...


> Help.  I'm trying to generate a new kernel.  I have Redhat 7.0 (right
> out of the box).  I let everything default.  I did the:
>
>   make depend
>   make clean
>   make bzImage
>
> After less than 60 seconds I got the following messages:
>
>   make[2]: *** [ksyms.o] Error 1
>   make[2]: Leaving directory `/usr/src/linux-2.2.16/kernel'
>   make[1]: *** [first_rule] Error 2
>   make[1]: Leaving directory `/usr/src/linux-2.2.16/kernel'
>   make: *** [_dir_kernel] Error 2
>



More information about the LUAU mailing list