>-----Original Message----- >From: wayland-devel- >[email protected] [mailto:wayland- >[email protected]] On Behalf >Of Ander Conselvan de Oliveira >Sent: Tuesday, July 17, 2012 12:04 AM >To: [email protected] >Subject: Re: Can't compile newest wayland due to mesa changes? > >On 07/17/2012 08:00 AM, 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 > >I just hit this one. The problem is that with the addition of >gbm_bo_import(), gbm now includes the wayland-drm.h from src/egl which >in turns includes the generated file wayland-drm-server-protocol.h, but >since src/egl is built after src/gbm, that file was not generated yet. > >You can work around this by doing make -C src/egl/wayland/wayland-drm >and then continuing with your normal build. > >Cheers, >Ander >
[Eoff, Ullysses A] Kristian pushed a fix for this in: <http://cgit.freedesktop.org/mesa/mesa/commit/?id=b262f56738fe532bc95b6d2e2d535f832dbbd791> ...and it worked for me. Thanks Kristian! >> 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? >> [Eoff, Ullysses A] For xcb, you need 1.8.1 or greater now. On Fedora 16, you can get this from rawhide package repo via yum: yum install fedora-release-rawhide yum --enablerepo=rawhide update libxcb libxcb-devel Ubuntu 12.04 and Fedora 17 should already have the correct version of xcb. >> >> _______________________________________________ >> wayland-devel mailing list >> [email protected] >> http://lists.freedesktop.org/mailman/listinfo/wayland-devel > > >_______________________________________________ >wayland-devel mailing list >[email protected] >http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
