Bug 40612

Summary: Mesa-demos: build error against current Mesa git master
Product: Mesa Reporter: Johannes Obermayr <johannesobermayr>
Component: DemosAssignee: Kristian Høgsberg <krh>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: medium    
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Johannes Obermayr 2011-09-03 16:47:03 UTC
eglkms-eglkms.o: In function `main':
/usr/src/packages/BUILD/Mesa-demos/src/egl/opengl/eglkms.c:175: undefined reference to `gbm_create_device'
/usr/src/packages/BUILD/Mesa-demos/src/egl/opengl/eglkms.c:237: undefined reference to `gbm_bo_create'
/usr/src/packages/BUILD/Mesa-demos/src/egl/opengl/eglkms.c:245: undefined reference to `gbm_bo_get_handle'
/usr/src/packages/BUILD/Mesa-demos/src/egl/opengl/eglkms.c:246: undefined reference to `gbm_bo_get_pitch'
/usr/src/packages/BUILD/Mesa-demos/src/egl/opengl/eglkms.c:332: undefined reference to `gbm_bo_destroy'
/usr/src/packages/BUILD/Mesa-demos/src/egl/opengl/eglkms.c:340: undefined reference to `gbm_device_destroy'
collect2: ld returned 1 exit status
make[3]: *** [eglkms] Error 1
make[3]: *** Waiting for unfinished jobs....
Comment 1 LoneVVolf 2012-01-15 08:01:05 UTC
I have found the same bug still exists, 

see http://lists.freedesktop.org/archives/mesa-dev/2012-January/017434.html
Comment 2 Kristian Høgsberg 2012-01-17 10:52:03 UTC
commit 0e97cc1d00f5bb5fcb198104f94d93b390b332cf
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Tue Jan 17 13:50:07 2012 -0500

    eglkms: Add gbm cflags and libs

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.