[Mesa-dev] build error in mesa out-of-tree-builds with wayland support
Sven Joachim
svenjoac at gmx.de
Wed May 2 13:25:07 PDT 2012
On 2012-05-02 21:51 +0200, Kristian Høgsberg wrote:
> On Wed, May 2, 2012 at 2:09 PM, Sven Joachim <svenjoac at gmx.de> wrote:
>> I'm seeing the following error when building Mesa git master out-of-tree
>> with wayland support:
>>
>> ,----
>> | Making all in dri2
>> | make[5]: Entering directory `/usr/local/src/deb-src/mesa/mesa/build/dri/src/egl/drivers/dri2'
>> | CC egl_dri2.lo
>> | In file included from egl_dri2.h:40:0,
>> | from egl_dri2.c:42:
>> | ../../../../../../src/egl/wayland/wayland-drm/wayland-drm.h:8:41:
>> | fatal error: wayland-drm-server-protocol.h: No such file or
>> | directory
>> | compilation terminated.
>> `----
>>
>> Note that wayland-drm-server-protocol.h exists in the build tree but is
>> looked for in the source tree where it can't be found, so I suspect this
>> does not happen when you build in-tree. Any ideas?
>
> Does this help?
Nope, it doesn't. Thanks for your help, though.
> diff --git a/src/egl/wayland/wayland-drm/Makefile.am b/src/egl/wayland/wayland-d
> index cf15eda..c596973 100644
> --- a/src/egl/wayland/wayland-drm/Makefile.am
> +++ b/src/egl/wayland/wayland-drm/Makefile.am
> @@ -1,5 +1,6 @@
> AM_CFLAGS = -I$(top_srcdir)/src/egl/main \
> -I$(top_srcdir)/include \
> + -I$(builddir) \
> $(DEFINES) \
> $(WAYLAND_CFLAGS)
Your mailer has messed the patch up, converting tabs into spaces. I
applied it manually.
Cheers,
Sven
More information about the mesa-dev
mailing list