Bug 20839 - Kernel version not consist with include file in /usr/include/linux
Summary: Kernel version not consist with include file in /usr/include/linux
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-11-14 17:40 UTC by rhcohen
Modified: 2007-04-18 16:29 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2000-11-15 08:02:31 UTC


Attachments (Terms of Use)

Description rhcohen 2000-11-14 17:40:47 UTC
RedHat 7.0 uses kernel version 2.2.16-22.  This is the response from a uname -r command.  However, the version.h file in /usr/include/linux has 
version 2.4.0-0.26.  The version.h file in /usr/src/linux-2.2.16/include/linux shows the 2.2.16-22 version.  Other include files in /usr/include/linux 
do not match the same include files in /usr/src/linux-2.2.16/include/linux.  The Linux kernel version should be 2.2.16-22 not 2.4.0-0.26.

Comment 1 Greg Kroah-Hartman 2000-11-15 00:06:07 UTC
crap, I should have searched the previous bug reports before submitting this
one, sorry.

But if 'make mrproper' is the "proper" way to build the kernel from the
kernel-source package, you might want to modify the kernel-2.2.spec spec file to
not include the include/modules directory.

Although in looking at that spec file, I really can't see how to do that, sorry.

Comment 2 Greg Kroah-Hartman 2000-11-15 00:07:43 UTC
forget that last comment, I added that to the wrong bug.  Sorry.

Comment 3 Arjan van de Ven 2000-11-15 08:02:29 UTC
The headers in /usr/include are glibc headers, not kernel headers.
The kernel headers are in /usr/src/linux/include. These happened to be the
same in the past but for compatibility reasons, are not now.
This bug is a dupe btw..


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