Generating a new kernel...

Rick Chavez chavez at hawaii.rr.com
Sun Jun 10 01:57:21 PDT 2001


I edited the Makefile, ran the make clean before the make depend, and tried
again, but the same thing happened.

I was using that kernel because it's what's currently on the server and
everything worked that I needed except one thing (USB support for a Sony DCS-P1
digital camera).  I followed some instructions that directed me to update a
file and then sysgen a new kernel.  I guess I was hoping to minimize the number
of changes I had to make so that I'd also minimize the problems.

I went to the URL you gave me, but couldn't find anything for kgcc.

Do you know if Redhat 7.1 would sysgen right out of the box?

Any other ideas?

-Rick Chavez

Warren Togami wrote:

> 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