Re: Read Hat 7.3 and 8.0 compilation problems

From: Arjan van de Ven (arjanv@redhat.com)
Date: Mon Mar 17 2003 - 07:29:37 EST


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.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:19 EST