[Mesa-dev] [mesa-demos-git] make fails on eglkms

Lone_Wolf lonewolf at xs4all.nl
Thu Jan 12 07:24:07 PST 2012


I am trying to build mesa-demos git master version 20120112 on archlinux.

  ./autogen.sh --prefix=/usr
  make

last lines of output :
eglkms-eglkms.o: In function `main':
eglkms.c:(.text.startup+0x40): undefined reference to `gbm_create_device'
eglkms.c:(.text.startup+0x25a): undefined reference to `gbm_bo_create'
eglkms.c:(.text.startup+0x26e): undefined reference to `gbm_bo_get_handle'
eglkms.c:(.text.startup+0x279): undefined reference to `gbm_bo_get_pitch'
eglkms.c:(.text.startup+0x3e1): undefined reference to `gbm_bo_destroy'
eglkms.c:(.text.startup+0x41a): undefined reference to `gbm_device_destroy'
collect2: ld returned 1 exit status
make[3]: *** [eglkms] Error 1

complete output : http://pastebin.com/kKrJXPDq

the mesa i am running is also a git version , has gbm enabled, and gbm.h
is present in /usr/include .
(see https://aur.archlinux.org/packages/me/mesa-r600g-git/PKGBUILD for
details).



More information about the mesa-dev mailing list