Re: Who is Kernel Headers ?

From: Jeroen Geilman (jeroen_at_nospam.net)
Date: 01/01/04


Date: Thu, 01 Jan 2004 01:57:34 +0100

Mark Hobley wrote:
> Which files make up "Kernel Headers" ?

All files in the kernel tree which end in .h

> Are these are part of the Kernel source tree ?

Well, yes, then.

> I am using a from scratch Linux build, and my source code may not be
> located in a particular place on my system.

Yes it will be.
/usr/src/linux holds the kernel tree.
If not, you are in over your head...

> How can I tell the compiler where to find the headers ?

If you follow the LFS instructions *to the letter*, you won't have to.

I would strongly advise you to use a solid guide or manual for
installing this sort of thing until you know enough to do it on your own.

Installing an LFS system is *not* trivial - in the sense that I could
not do it without the documentation, and neither can you if you have
questions like these.

Not meant as criticism, but please... walk first, run later ;-)



Relevant Pages

  • Re: Who is Kernel Headers ?
    ... Mark Hobley wrote: ... All files in the kernel tree which end in .h ... If you follow the LFS instructions *to the letter*, ... installing this sort of thing until you know enough to do it on your own. ...
    (comp.os.linux.setup)
  • Re: Who is Kernel Headers ?
    ... Mark Hobley wrote: ... All files in the kernel tree which end in .h ... If you follow the LFS instructions *to the letter*, ... installing this sort of thing until you know enough to do it on your own. ...
    (comp.os.linux)