Can't compile newest wayland due to mesa changes?

Juan Zhao juan.j.zhao at linux.intel.com
Mon Jul 16 22:23:02 PDT 2012


On Mon, 2012-07-16 at 22:00 -0700, Bill Spitzak wrote: 
> I guesses that --disable-glx would help and it did, but instead I ran 
> into something compiling mesa that seems to be a more serious 
> wayland-related problem:
> 
> In file included from backends/dri/gbm_dri.c:48:0:
> backends/dri/../../../egl/wayland/wayland-drm/wayland-drm.h:5:41: fatal 
> error: wayland-drm-server-protocol.h: No such file or directory

gbm_dri.c used wl_drm related structure.

using --disable-glx, I meet the problem like "undeference to 'dlopen'"
like errors. 

Thanks,
Juan 
> 
> On 07/16/2012 09:51 PM, Bill Spitzak wrote:
> > I am attempting to build the newest git respository of wayland/weston.
> >
> > Weston was complaining about missing GLSL symbol
> > PFNEGLUNBINDWAYLANDDISPLAYWL
> >
> > So I tried to pull and recompile mesa (I have up to now been able to
> > work with one I compiled a few months ago).
> >
> > The configure line I used for mesa was:
> >
> > ./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl
> > --with-egl-platforms=wayland,x11,drm --enable-gbm --enable-shared-glapi
> > --with-gallium-drivers=r300,r600,swrast,nouveau
> >
> > and compile failed with this:
> >
> > clientinfo.c: In function ‘__glX_send_client_info’:
> > clientinfo.c:128:7: error: implicit declaration of function
> > ‘xcb_glx_set_client_info_2arb’
> > clientinfo.c:139:7: error: implicit declaration of function
> > ‘xcb_glx_set_client_info_arb’
> >
> > I'm guessing that xcb is out of date, should I try to compile my own
> > version of that or what?
> 
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel




More information about the wayland-devel mailing list