Bug 20467 - Kernel mismatched to linux include files.
Summary: Kernel mismatched to linux include files.
Status: CLOSED DUPLICATE of bug 20292
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-07 14:16 UTC by shawn.karow
Modified: 2007-04-18 16:29 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2000-11-08 11:27:55 UTC


Attachments (Terms of Use)

Description shawn.karow 2000-11-07 14:16:05 UTC
I was attempting to build a module, earlier built on Redhat 6.2, on RedHat 
7.0. The module built no problem but when I went to install it I got the 
following error:

Warning: kernel-module version mismatch
/data/56/Release/pikadsp.o was compiled for kernel version 2.4.0-0.26
	while this kernel is version 2.2.16-22 

We include files from /usr/include/linux so I go there to check out the 
header files. I open version.h and indeed the kernel is defined as being 
2.4.0-0.26 even though I am running the 2.2.16-22 kernel. It seems to me 
that the header files included in the install are mismatched to the actual 
kernel that is installed.

I have a standard 7.0 Redhat install with no other kernels downloaded or 
installed on my system.

Comment 1 Arjan van de Ven 2000-11-08 11:27:52 UTC
/usr/include/linux are the _GLIBC_ headers, not the kernel headers.
The kernel-headers are in  /usr/src/linux/include.
For Red Hat 6.2 these happened to be the same, but that was coincidence.....


Comment 2 Bill Nottingham 2000-11-13 07:31:12 UTC

*** This bug has been marked as a duplicate of 20292 ***


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