[Mesa-dev] [Bug 38172] Mesa build errors using build.sh script

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 20 05:10:37 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=38172

Dan Nicholson <dbn.lists at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOTABUG                     |

--- Comment #3 from Dan Nicholson <dbn.lists at gmail.com> 2012-08-20 12:10:37 UTC ---
Have you tried this recently without setting INCLUDE_DIRS? The first one in
src/egl/main/eglapi.c _should_ be fixed now since XCB_DRI2_CFLAGS are added
when building this file and your log shows you got XCB_DRI2.

For the second one, I think a small patch is needed to make sure that
WL_EGL_PLATFORM is defined when building for wayland. Otherwise eglplatform.h
will fall 

diff --git
a/src/gallium/state_trackers/egl/common/native_wayland_drm_bufmgr_hel
index 4365553..e38586b 100644
--- a/src/gallium/state_trackers/egl/common/native_wayland_drm_bufmgr_helper.c
+++ b/src/gallium/state_trackers/egl/common/native_wayland_drm_bufmgr_helper.c
@@ -7,6 +7,7 @@

 #ifdef HAVE_WAYLAND_BACKEND

+#include <wayland-egl.h>
 #include <wayland-server.h>
 #include <wayland-drm-server-protocol.h>

Can you try this fix? src/gallium/state_trackers/egl/Makefile looks like it
might need some other fixes, too.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list