Re: Linux Mandrake 9.2 kernel headers - where?

From: John Winters (
Date: 12/12/03

Date: Fri, 12 Dec 2003 20:05:54 +0000 (UTC)

In article <>,
Toby A Inkster <> wrote:
>Matthew Garrett wrote:
>> In article <>, Toby A Inkster wrote:
>>> John Winters wrote:
>>>> Which still leaves the question of how one now compiles things? Where
>>>> are the kernel header files which used to be in the kernel-headers package?
>>> [tai@ophelia (pts/2) ~]$ rpm -q --whatprovides /usr/include/linux/kernel.h
>>> glibc-devel-2.3.2-14mdk
>> That's not a kernel header in the sense of a header that kernel code can
>> be compiled against.
>Well, which one is meant then? /boot/kernel.h.

No, the kernel header files. The header files you need to compile things
which interact closely with the kernel. E.g. a new module or Vmware or
something like that. A classic example would be modversions.h (and no,
the one in /usr/include/linux won't do).

I've now spent some time playing with it and this area of Mandrake 9.2
simply seems to be FUBARed. You can't compile things for it unless you
first build your own custom kernel. If anyone can prove me wrong, I'd be
very glad to hear from them.


Wallingford, Oxfordshire, England
We had a woodhenge here once but it rotted.