Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 23763 - Unable to compile certain modules with the kernel headers mismatch
Unable to compile certain modules with the kernel headers mismatch
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-01-11 00:29 EST by Need Real Name
Modified: 2007-04-18 12:30 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-11 00:29:24 EST
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 Need Real Name 2001-01-11 00:29:20 EST
I point out that by default the /usr/include/linux contains the 2.4 kernel
headers,  which means that users trying to compile 2.2 modules that don't
come with the kernel,  will have a lot of trouble.
Please make the current running kernel consistent with /usr/include/linux.
I hope that this is fixed in 7.1.
Comment 1 Jakub Jelinek 2001-01-11 05:48:13 EST
If 3rd party modules look for /usr/include/linux headers, then they are
broken. This has been decided by Linus and others on lkml, if the modules
are looking for headers of currently running kernel, they should
look for /lib/modules/`uname -r`/build/include/linux/. On 7.0, you can find
the 2.2 headers in /usr/src/linux/include/linux particularly.
/usr/include/{linux,asm} is for headers which glibc has been built with, they
don't have to reflect current kernel at all.

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