Generating a new kernel...

Jon Reynolds proteon at gci.net
Sun Jun 10 14:38:27 PDT 2001


Hey Rick,

  Try here for kkgcc 
 http://rpmfind.net/linux/RPM/redhat/7.0/i386/kgcc-1.1.2-40.i386.html 
 also, I use sallower but I always do a 'make modules'  then a 'make 
modules_install' , these two commands update the "modules" directory, in 
slak this directory is '/lib/modules/<kernel version>   I issue these 
commands before I issue the  'make bzImage', hope this helps.

Jon

-----Original Message-----
From:	Rick Chavez [SMTP:chavez at hawaii.rr.com]
Sent:	Sunday, June 10, 2001 12:57 AM
To:	Linux & Unix Advocates & Users
Subject:	[luau] Re: Generating a new kernel...

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


---
You are currently subscribed to luau as: proteon at gci.net
To unsubscribe send a blank email to $subst('Email.Unsub')



More information about the LUAU mailing list