Can't compile newest wayland due to mesa changes?
Juan Zhao
juan.j.zhao at linux.intel.com
Mon Jul 16 23:48:20 PDT 2012
On Mon, 2012-07-16 at 23:22 -0700, Bill Spitzak wrote:
> On 07/16/2012 10:36 PM, Juan Zhao wrote:
> > On Mon, 2012-07-16 at 21:51 -0700, 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?
> >
> > Yes, it is caused by xcb. I updated xcb here(using master):
> > git://anongit.freedesktop.org/xcb/libxcb
> >
> > And it works
>
> I build libxcb (and also xcb-proto, which was in the xcb/proto
> repository) and that enabled mesa to compile past the glx part. However
> it still failed with this problem:
>
> CC libgbm_dri_la-gbm_dri.lo
> 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
Yes, https://bugs.freedesktop.org/show_bug.cgi?id=52178
you can "cd src/egl" to make, then "cd ../../;make" to workaournd this
problem.
Thanks,
Juan
More information about the wayland-devel
mailing list