On 2002.03.25 Kevin Krumwiede wrote:
>Because kernel-headers are needed far oftener than glibc-devel.
>
>> And it they are always required, why do not include them just with
>> glibc-devel ???
>

Nope:
- You SHOULD NOT be compiling kernel modules against kernel-headers in
  /usr/include, but against kernel-source in /usr/src/linux (that of
  course includes one other copy of the headers, and that can be different
  from those in /usr/include).
- For user-space compiles (which is the most common case), you need glibc
  headers that use kernel-headers in /usr/src.

So:
- You always need kernel-headers to build user-spaces apps.
- They are different from those in /usr/src/linux.
- They do not change if you upgrade kernel.

You can't live without them. Just include them in glibc-devel. Less
headaches.

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:[EMAIL PROTECTED]
Mandrake Linux release 8.3 (Cooker) for i586
Linux werewolf 2.4.19-pre4-jam2 #1 SMP Mon Mar 25 01:34:14 CET 2002 i686

Reply via email to