Messages in this thread | | | Subject | Re: Read Hat 7.3 and 8.0 compilation problems | From | Arjan van de Ven <> | Date | 17 Mar 2003 13:29:37 +0100 |
| |
On Mon, 2003-03-17 at 13:47, chandrasekhar.nagaraj wrote: > Hello, > > We have a driver which was originally bulit on Red Hat 7.2 version.Now we > are compiling the same driver on Red Hat 7.3 and 8.0 > While compiling we are facing the following problems. > Compilation output :- > The following files are missing > /usr/include/asm/msr.h > /usr/include/asm/fixmap.h > /usr/include/asm/uaccess.h > /usr/include/asm/hardirq.h
why are you using glibc headers to compile KERNEL modules ?
> > But if we compile the driver using the include souces > /usr/src/linux-2.4/include we do not get any compilation errors.
the "standardized between all distros and Linus" place to get headers is /lib/modules/`uname -r`/build/include I would suggest you use that. [unhandled content-type:application/pgp-signature] | |