This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC-2.95.x and error compiling kernel module vmware and gart
- To: egcs at egcs dot cygnus dot com
- Subject: GCC-2.95.x and error compiling kernel module vmware and gart
- From: Binaire <binaire at binaire dot cx>
- Date: Mon, 23 Aug 1999 23:08:01 +0000
Hi ,
I had a problem when compiling non officical kernel module like the one with
vmware and gart-glx with gcc-2.95.x
When not including -I/usr/src/linux/include in the makefile i have a tone of
errors from incompatible types ...
I have track down the problem to
usr/lib/gcc-lib/....../2.95.1/include/gnu/types.h
This file is supposed to be a wrapper to fixe __FD_ZERO bug for glibc-1.x
Even that i have glibc-2.1.2pre the preprocessor seem to include this file when
i don't define -I/usr/src/linux/include and this give me error on compililation
Removing this file from my system fixe this error
So is there any error in types.h ?
#if defined(__FD_ZERO) && !defined(__GLIBC__)
In features.h from glibc i have :
#define __GLIBC__ 2
#define __GLIBC_MINOR__ 1
-vhq