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 /usr/i386-glibc21-linux/include/asm/msr.h /usr/src/linux-2.4.18-4/include/asm-i386/msr.h and so it is unable to meet the include. Version-Release number of selected component (if applicable): How reproducible: Always 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 and /usr/i386-glibc21-linux/include/asm/msr.h /usr/src/linux-2.4.18-4/include/asm-i386/msr.h Expected Results: /usr/include/asm/msr.h and /usr/i386-glibc21-linux/include/asm/msr.h /usr/include/asm/msr.h /usr/src/linux-2.4.18-4/include/asm-i386/msr.h Additional info:
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.
dmkaplan: 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.
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
msr.h has nothing to do with ethernet devices so your question makes zero sense.
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.
laboina: your problem is that the Makefile of the driver needs to add -I/lib/modules/`uname -r`/build/include to the CFLAGS line
did you install linux kernel sorce ? there are in it.