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.
compiler complains that it can't find kernheaders, asm/msr.h, and asm/delay.h
compiler creates driver, permitting me to use ethernet card
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
*** Bug 64641 has been marked as a duplicate of this bug. ***
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.