Bug 64392

Summary: Missing WAYLAND_CFLAGS in Gallium GBM state-tracker
Product: Mesa Reporter: Bartosz Szczepanski <bartosz.szczepanski>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: WAYLAND_CFLAGS are missed in Makefile.am

Description Bartosz Szczepanski 2013-05-09 13:15:02 UTC
Created attachment 79053 [details]
WAYLAND_CFLAGS are missed in Makefile.am

Compiling Mesa fails with '--enable-gallium-gbm' flag because it can't locate wayland-server.h

    make[3]: Leaving directory `/home/bartex/wayland/mesa-git/src/gallium/state_trackers/dri'
    Making all in gbm
    make[3]: Entering directory `/home/bartex/wayland/mesa-git/src/gallium/state_trackers/gbm'
      CC     gbm_drm.lo
    In file included from gbm_drm.c:40:0:
    ../../../egl/wayland/wayland-drm/wayland-drm.h:4:28: fatal error: wayland-server.h: No such file or directory
    compilation terminated.
    make[3]: *** [gbm_drm.lo] Error 1
    make[3]: Leaving directory `/home/bartex/wayland/mesa-git/src/gallium/state_trackers/gbm'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/bartex/wayland/mesa-git/src/gallium/state_trackers'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/bartex/wayland/mesa-git/src'
    make: *** [all-recursive] Error 1


Attached patch for fixing.
Comment 1 Matt Turner 2014-09-21 19:57:07 UTC
Looks to have been fixed by

commit 87ebbe1270e203259f6036edc1d846f77fdfa61b
Author: Johannes Obermayr <johannesobermayr@gmx.de>
Date:   Tue Sep 10 23:36:47 2013 +0200

    st/gbm: Add $(WAYLAND_CFLAGS) for HAVE_EGL_PLATFORM_WAYLAND.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.