yet another xorg build problem

Dan Nicholson dbn.lists at gmail.com
Thu Jun 19 10:01:37 PDT 2008


On Thu, Jun 19, 2008 at 9:36 AM, Chuck Robey <chuckr at telenix.org> wrote:
> -----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.

Did you install mesa? Did you build a DRI-enabled mesa? It should be
in $mesaincludedir/GL/internal/dri_interface.h. I have a feeling you
built an xlib mesa, which won't work for GLX or DRI.

--
Dan



More information about the xorg mailing list