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....
I have found the same bug still exists, see http://lists.freedesktop.org/archives/mesa-dev/2012-January/017434.html
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.