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 ---
You need xcb git.
(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.
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.