[Mesa-dev] Error building glxext.c

Jeremy Huddleston jeremyhu at freedesktop.org
Wed May 4 11:01:29 PDT 2011

Well, it's not building correctly on my tinderbox which uses master glproto and master libGL, so either libGL has bad C, or libGL is using the system's glproto instead of the one it queries out of PKG_CONFIG_PATH.  Either way, it's a mesa bug happening on both of my linux tinderboxes (gentoo ppc64 and ubuntu ppc):


On May 4, 2011, at 10:37, Jesse Barnes wrote:

> On Wed, 04 May 2011 10:01:28 -0700
> Ian Romanick <idr at freedesktop.org> wrote:
>> Hash: SHA1
>> On 05/04/2011 09:40 AM, Dan McCabe wrote:
>>> Hi all,
>>> Apologies if this is a stupid n00b question, but I'm getting errors
>>> building glxext.c in mesa/mesa/src/glx.
>>> Specific error msg is:
>>>        glxext.c: In function ‘__glXWireToEvent’:
>>>        glxext.c:141:35: error: ‘xGLXBufferSwapComplete’ has no member
>>>        named ‘sbc_hi’
>>>        glxext.c:141:58: error: ‘xGLXBufferSwapComplete’ has no member
>>>        named ‘sbc_lo’
>>> I followed the installation/build directions described here:
>>> 	http://wiki.x.org/wiki/ModularDevelopersGuide
>>> and I grabbed the src from git last night (early evening).
>>> Any suggestions/recommendations?
>> My guess is that you need newer glproto bits.  The protocol related to
>> the GLX buffer swap complete event was broken, and Jesse has been
>> working on fixing.  I'd guess that you Mesa bits have the fixes applied,
>> but they need newer glproto bits to build.
> I think it's the reverse, I got review on the glproto bits so they're
> pushed.  Still waiting on review for the Mesa, dri2proto, and X parts
> though to push the rest.
> So revert the top commit of glproto to get the old structure def back
> (in fact, Mesa autoconf should have complained about the glproto, but
> only if you re-run autogen.sh).
> -- 
> Jesse Barnes, Intel Open Source Technology Center
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

More information about the mesa-dev mailing list