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.
This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:19 EST