Bug 44407 - git mesa/src/glx fails to compile
Summary: git mesa/src/glx fails to compile
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 18:38 UTC by Jos van Wolput
Modified: 2012-01-03 03:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jos van Wolput 2012-01-02 18:38:43 UTC
latest git version of mesa fails to compile showing the following error:
---
create_context.c: In function ‘glXCreateContextAttribsARB’:
create_context.c:98:7: warning: implicit declaration of function ‘xcb_glx_create_context_attribs_arb_checked’ [-Wimplicit-function-declaration]
create_context.c:97:11: error: incompatible types when assigning to type ‘xcb_void_cookie_t’ from type ‘int’
make[2]: *** [create_context.o] Error 1
make[2]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src/glx'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src'
make: *** [default] Error 1
---
Comment 1 Ian Romanick 2012-01-02 19:07:36 UTC
You need xcb git.
Comment 2 Jos van Wolput 2012-01-02 20:14:18 UTC
(In reply to comment #1)
> You need xcb git.

I installed git://anongit.freedesktop.org/xcb/proto
but compiling mesa still shows the same error.
Comment 3 Kenneth Graunke 2012-01-03 03:06:14 UTC
You need a git snapshot of both xcb-proto and libxcb itself.  I had the same problem, and after upgrading both of those, it compiled without trouble.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.