Can't compile newest wayland due to mesa changes?

Bill Spitzak spitzak at gmail.com
Fri Jul 20 23:17:16 PDT 2012


On 07/20/2012 10:40 PM, Bill Spitzak wrote:

> However (sigh) now it fails with:
>
> compositor.c: In function ‘weston_surface_attach’:
> compositor.c:788:8: error: ‘EGL_TEXTURE_Y_UV_WL’ undeclared (first use
> in this function)
> compositor.c:788:8: note: each undeclared identifier is reported only
> once for each function it appears in
> compositor.c:792:8: error: ‘EGL_TEXTURE_Y_U_V_WL’ undeclared (first use
> in this function)
> compositor.c:796:8: error: ‘EGL_TEXTURE_Y_XUXV_WL’ undeclared (first use
> in this function)
> make[4]: *** [weston-compositor.o] Error 1

I fixed that by using an #ifdef EGL_TEXTURE_Y_UV_WL. Should I send a 
patch for this change? This seemed to allow make to finish.

Then make install of weston failed:

libtool: install: /usr/bin/install -c .libs/desktop-shell.lai 
/home/spitzak/install/lib/weston/desktop-shell.la
/usr/bin/install: cannot stat `.libs/desktop-shell.lai': No such file or 
directory

I managed to fix this by doing "touch src/.libs/xyz.lai" for each of:

weston/src/.libs/desktop-shell.lai  weston/src/.libs/wayland-backend.lai
weston/src/.libs/drm-backend.lai    weston/src/.libs/x11-backend.lai
weston/src/.libs/tablet-shell.lai

However this is another mystery.

I now have a working wayland. And you seem to have fixed the xcb 
slowness problems, which is great!

However this build was pretty frustrating. Hope somebody can identify 
all these errors and patch them.



More information about the wayland-devel mailing list