Bug 65076 - /usr/include/asm/timex.h includes asm/msr.h
Summary: /usr/include/asm/timex.h includes asm/msr.h
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc-kernheaders (Show other bugs)
(Show other bugs)
Version: 7.3
Hardware: i386 Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-05-17 03:17 UTC by Nathan G. Grennan
Modified: 2007-04-18 16:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-07-11 22:32:24 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2002:116 high SHIPPED_LIVE Updated GNU C library packages available 2002-06-18 04:00:00 UTC

Description Nathan G. Grennan 2002-05-17 03:17:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.1 (X11; Linux i686; U;) Gecko/20020510

Description of problem:
/usr/include/asm/timex.h has #include asm/msr.h   in it, but msr.h is in
and so it is unable to meet the include.

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

How reproducible:

Steps to Reproduce:
1. less /usr/include/asm/timex.h
2. ls /usr/include/asm/msr.h
3. locate msr.h

Actual Results:  No such file or directory



Expected Results:  /usr/include/asm/msr.h



Additional info:

Comment 1 David Kaplan 2002-07-11 22:32:20 UTC
I have similar problems.  The header /usr/include/asm/pgtable.h includes a
asm/fixmap.h.  This is not in glibc-kernheaders so programs that include these
headers fail.  This is causing me to be unable to compile the NVIDIA_kernel src
rpm for my video card with the 2.4.18-5 kernel.

Comment 2 Arjan van de Ven 2002-07-12 07:40:25 UTC
That is incorrect: the reason why your nvidia crap doesn't compile is because
you use the -> GLIBC <- headers to compile kernel code. You need to use the
kernel headers as shipped in the kernel-source rpm.

Comment 3 Need Real Name 2002-10-07 06:35:45 UTC
i don't have the header file msr.h in my red hat 7.3 and i cannot configure my 
ethernet device because of this. Does anybody knows if that header file isn't 
in this linux version, or if the reason is a bad instalation?

Thank you

Comment 4 Arjan van de Ven 2002-10-07 08:03:50 UTC
msr.h has nothing to do with ethernet devices so your question makes zero sense.

Comment 5 Need Real Name 2002-10-11 19:42:18 UTC
excuse me, i have not explained well and I am new in Linux. I have the driver 
for myson mtd-803 pci ethernet device but when i try to make it, red hat 
doesn't find asm/msr.h because is not in /usr/include/asm/msr.h (where the 
driver searchs) and it is in /usr/src/linux-2.4.18-3/include/asm_i386/msr.h 
or /usr/i386-glibc21-linux/include/asm/msr.h. How can i have success installing 
the driver?. Do I have to compile a new Kernel or can I avoid it anywhere. 
Have I done anything bad when I,ve installed linux:
Thank you.

Comment 6 Arjan van de Ven 2002-10-11 19:46:02 UTC
your problem is that the Makefile of the driver needs to add
-I/lib/modules/`uname -r`/build/include

to the CFLAGS line

Comment 7 Need Real Name 2002-11-07 15:43:40 UTC
did you install linux kernel sorce ?
there are in it.

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