[ale] Can't compile RedHat's kernel.

Stephen Leonard stephen at phynp6.phy-astr.gsu.edu
Mon Jan 6 14:22:28 EST 2003


"Michael D. Hirsch" <mhirsch at nubridges.com> writes:

> On Monday 06 January 2003 02:05 pm, Stephen Leonard wrote:
> > "Michael D. Hirsch" <mhirsch at nubridges.com> writes:
> > > On Monday 06 January 2003 01:33 pm, Chris Ricker wrote:
> > > > On Mon, 6 Jan 2003, Michael D. Hirsch wrote:
> > > > > Anyone compiled a RedHat kernel, lately.  I remember there was a
> > > > > time when you needed a special compiler, but I thought those days
> > > > > were over.
> > > > >
> > > > > I'm trying to add the usbdnet to my kernel, but when that didn't
> > > > > work I've gone back to the RedHat sources and did make dep && make
> > > > > bzImage && make modules.  In the middle of make bzImage I get crap
> > > > > like:
> > > >
> > > > you're missing a make clean. do that first, before the make dep, etc
> > >
> > > Well, that just introduced new errors.  I should say that before my
> > > error was actually in make modules, not make bzImage as I stated.
> > >
> > > When I did a make clean I got these errors with the redhat i686 config
> > > file.  I still wondering if I'm missing some devel package that would
> > > make all this go away:
> >
> > Does RedHat have a separate kernel headers package that
> > you may be missing?
> 
> It has one, but it is installed, supposedly.  I think you aren't supposed 
> to need it to compile the kernel, anyway.  It is for compiling programs 
> that need the kernel headers to compile.  The kernel is self sufficient.

Well, as i understand it, the system wide kernel headers are
suppose to be the version your glibc was compiled with.  You
need the headers to build the kernel, but if you download a
new kernel, you shouldn't install it's headers on top of
/usr/include/linux.  I'm not quite sure how RedHat kernel
packages work though.

http://www.kernelnewbies.org/faq

specifically, "What's going on with the kernel headers?",
may shed some more light.

stephen
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list