Bug 86244 - glibc-kernheaders do not include msr.h, delay.h
Summary: glibc-kernheaders do not include msr.h, delay.h
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc-kernheaders
Version: 7.3
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
: 64641 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2003-03-18 01:18 UTC by Allan Masri
Modified: 2007-04-18 16:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-03-18 09:07:21 UTC

Attachments (Terms of Use)

Description Allan Masri 2003-03-18 01:18:42 UTC
Description of problem:
This problem is still the same as 65076. These headers are used in Trendnet's
Ethernet Card drivers. It is possible trendnet's engineers are compiling against
older versions of Red Hat Linux. I stress that I am not writing these drivers,
just trying to compile them so I can use the cards. Admittedly, the problem may
be trendnet's, but I would like to find copies of these two files, if anyone can
find them and attach them to this bug.

Yes, I understand these files should not be included in the compiler
distribution, but that doesn't help me. I repeat, these files do not exist in my
glibc-kernheaders.rpm, nor anywhere else in my Red Hat Linux 7.3 distribution.

Version-Release number of selected component (if applicable):

How reproducible: 100%

Steps to Reproduce:
1.compile Trendnet's driver for its ethernet card TE100-PCIWA|WN.
2.compilation fails
Actual results:
compiler complains that it can't find kernheaders, asm/msr.h, and asm/delay.h

Expected results:
compiler creates driver, permitting me to use ethernet card

Additional info:

Comment 1 Arjan van de Ven 2003-03-18 09:07:21 UTC
No you are compiling a kernel driver against glibc headers, not against kernel
headers. The author of said driver seems to have no clue whatsoever what he was
doing; for over 2 years now (as per Linus decree) the headers for the kernel are
in /lib/modules/`uname -r`/build/include

Comment 2 Bill Nottingham 2003-10-02 15:20:34 UTC
*** Bug 64641 has been marked as a duplicate of this bug. ***

Comment 3 nafiton smith 2005-04-04 20:34:36 UTC
I was installaing a fresh RedHat 7.3 on a computer with a Broadcom Ethernet 
When I get the driver from HP , I see that I need to compile it. As I had not 
installed the developer tools, I had to rpm'ed the gcc. In the process, I only 
install the kernel-headers as the gcc depend on them.
When I compiled the driver source, I got the msr.h file error.
I rpm'ed the kernel-source-2.4.18-3.i386.rpm and after it was installed, the 
compilation was good.. no errors, I mean.

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