Bug 18931 - Kernel 2.2.16 included, but headers for 2.4.0
Kernel 2.2.16 included, but headers for 2.4.0
Product: Red Hat Linux
Classification: Retired
Component: installer (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael Fulbright
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2000-10-12 01:10 EDT by John William
Modified: 2007-04-18 12:29 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-12 01:10:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description John William 2000-10-12 01:10:44 EDT
The standard install uses kernel 2.2.16, but kernel headers for 2.4.0. 
This makes it difficult (impossible?) to compile some modules since you're 
compiling for a 2.2.x kernel, but the distro includes 2.4.0 kernel header 

One example is the differences between then 2.2.x and 2.4.0 version 
of /usr/include/linux/netdevice.h. The distro version of this file will 
not compile many network drivers because of changes to the net_device 

I suggest the proper fix is to provide a 2.2.x version of kernel-headers 
with the 2.2.x kernel.
Comment 1 Alan Cox 2000-10-14 14:04:00 EDT
The current setup is correct. - /usr/include/linux and /usr/include/asm are
supposed to match the C libraries and have been meant to for all glibc users.
Glibc 2.2 needs 2.4 kernel headers for the features it uses and exposes to

Kernel modules should use the headers with the kernel but cannot rely on those
being in /usr/include/linux.

Note You need to log in before you can comment on or make changes to this bug.