Can't compile newest wayland due to mesa changes?

Ander Conselvan de Oliveira conselvan2 at gmail.com
Tue Jul 17 00:03:41 PDT 2012


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

> 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