Re: linux kernel headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Jesper!

On Птн, Сен 14, 2007 at 10:27:58 +0200, Jesper Juhl wrote:
> On 14/09/2007, Nikolay N. Ivanov <nn@xxxxxxxx> wrote:
> > But why my modules uses headers from KSRC/include/linux instead of
> > /usr/include/linux? I clarify it because my OLD version of
> > /usr/include/linux/version.h has UTS_RELEASE macro, whereas
> > KSRC/include/linux/version.h (NEW kernel) hasn't one: kbuild complains,
> > when I try to use UTS_RELEASE without including utsrelease.h.
> >
> > I wonder why system holds old version of kernel headers in
> > /usr/include/linux.
> >
> 
> The headers in /usr/include/linux/ and /usr/include/asm/ are the
> headers your glibc were build against.
> They do not have to match your running kernel version, but they must
> match the headers glibc was build against or bad things happen.
> 
> Read (all of) this post by Linus for more details :
> http://lkml.org/lkml/2000/7/27/10

Many thanks for your answer. I haven't more questions.

--
Nikolay N. Ivanov

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux