yet another xorg build problem

Chuck Robey chuckr at telenix.org
Thu Jun 19 09:36:53 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't mind doing this, but I'm worried I'm bothering folks over this, not
performing something good.  If this is becoming pestlike, tell me, I'll find
some other way to push this forward.

Anyhow, my problem looks like this:

Making all in glx
../doltcompile gcc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support
- -I../hw/xfree86/os-support/bus  -I../hw/xfree86/common  -I../hw/xfree86/dri
- -I../hw/xfree86/dri2  -I../mi    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith
- -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
- -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
- -D_THREAD_SAFE -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/X11R7.4/include
- -I/usr/X11R7.4/include/pixman-1 -I/usr/local/include/freetype2
- -I/usr/local/include -I/usr/local/include/hal -I/usr/local/include/dbus-1.0
- -I/usr/local/include/dbus-1.0/include    -I../include -I../include -I../Xext
- -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow
- -I../miext/damage -I../render -I../randr -I../fb  -I/usr/X11R7.4/include
- -D_THREAD_SAFE -I/usr/X11R7.4/include    -I/usr/local/include
- -I/usr/local/include/drm    -I/usr/X11R7.4/include/X11/dri    -DXFree86Server -g
- -O2 -MT glxdriswrast.lo -MD -MP -MF .deps/glxdriswrast.Tpo -c -o glxdriswrast.lo
glxdriswrast.c
In file included from glxdriswrast.c:49:
glxdricommon.h:32: error: expected ':', ',', ';', '}' or '__attribute__' before
'*' token

This is only the first of a hundred errors, however, solve this one and the rest
will likely evaporate.  The file being looked at is glxdricommon.h, and the
struct near line 32 is:

00026 #ifndef _GLX_dri_common_h
00027 #define _GLX_dri_common_h
00028
00029 typedef struct __GLXDRIconfig   __GLXDRIconfig;
00030 struct __GLXDRIconfig {
00031     __GLXconfig config;
00032     const __DRIconfig *driConfig;
00033 };
00034
00035 __GLXconfig *
00036 glxConvertConfigs(const __DRIcoreExtension *core, const __DRIconfig
**configs);
00037
00038 extern const __DRIsystemTimeExtension systemTimeExtension;
00039
00040

That pretty much shows the whole active part of the file.  I can't find any
definition of __DRIconfig anywhere, and I sure did look about.  I couldn't find
anybody else complaining of build problems over it.  I did find this piece of
email, but it means nothing to me:

http://archive.netbsd.se/?ml=xorg&a=2008-04&t=7106721

It looks like it was from a "fufutos" but it's been so spam-protected, I can't
write to that person directly, so I have to appeal to this list.

Anybody recognize that __DRIconfig thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIWoslz62J6PPcoOkRAqzDAKCkElbt+6sWuNBfrXHMNjhBdN9euwCfWtsN
bfSWJcoou2RQLLdqJzV+oaU=
=9emT
-----END PGP SIGNATURE-----



More information about the xorg mailing list