On Wed, May 2, 2012 at 2:09 PM, Sven Joachim <svenj...@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? 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) Kristian > Googling for the error message gave me this eight weeks old link, so I > suspect the problem has been around for some time already: > http://pastebin.com/U0gGMxEh. > > Cheers, > Sven _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev