xserver compiling error...

Daniel Stone daniel at freedesktop.org
Tue Mar 21 12:25:03 PST 2006


On Tue, Mar 21, 2006 at 10:27:56AM -0600, Efren Vzz. wrote:
> make[5]: Entering directory
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../../include
> [...]
> -fomit-frame-pointer -funroll-loops -mmmx -msse -MT lnx_agp.lo -MD -MP

First off, I'd recommend not using -fomit-frame-pointer and
-funroll-loops.  The former makes things basically impossible to debug,
and the latter is pointless.

> -MF .deps/lnx_
> In file included from /usr/include/stdlib.h:414,
>                  from ../../../../include/misc.h:152,
>                  from ../../../../hw/xfree86/common/xf86str.h:38,
>                  from ../../../../hw/xfree86/common/xf86.h:40,
>                  from lnx_agp.c:20:
> /usr/include/sys/types.h:62: conflicting types for `dev_t'
> /usr/include/linux/types.h:21: previous declaration of `dev_t'
> /usr/include/sys/types.h:67: conflicting types for `gid_t'
> /usr/include/linux/types.h:48: previous declaration of `gid_t'
> /usr/include/sys/types.h:72: conflicting types for `mode_t'
> /usr/include/linux/types.h:23: previous declaration of `mode_t'
> /usr/include/sys/types.h:77: conflicting types for `nlink_t'
> /usr/include/linux/types.h:24: previous declaration of `nlink_t'
> /usr/include/sys/types.h:82: conflicting types for `uid_t'
> /usr/include/linux/types.h:47: previous declaration of `uid_t'

These are all system headers.  You'll need to fix your system somehow.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060321/eba74610/attachment.pgp>


More information about the xorg mailing list