Following the procedure from http://dri.freedesktop.org/wiki/Building for a mach64 ATI card as usual, Mesa 3D drivers cannot be compiled successfully: cd ../Mesa export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH make realclean make linux-dri-x86 ... ../common/vblank.c: In function ‘driGetCurrentVBlank’: ../common/vblank.c:306: error: ‘DRM_VBLANK_SECONDARY’ undeclared (first use in this function) ../common/vblank.c:306: error: (Each undeclared identifier is reported only once ../common/vblank.c:306: error: for each function it appears in.) ../common/vblank.c: In function ‘driWaitForVBlank’: ../common/vblank.c:363: error: ‘DRM_VBLANK_SECONDARY’ undeclared (first use in this function) make[6]: *** [../common/vblank.o] Fehler 1 make[6]: Verlasse Verzeichnis '/home/c72578/compile/cvs/Mesa/src/mesa/drivers/dri/i810' make[5]: *** [subdirs] Fehler 1 make[5]: Verlasse Verzeichnis '/home/c72578/compile/cvs/Mesa/src/mesa/drivers/dri' make[4]: *** [linux-solo] Fehler 2 make[4]: Verlasse Verzeichnis '/home/c72578/compile/cvs/Mesa/src/mesa' make[3]: *** [default] Fehler 2 make[3]: Verlasse Verzeichnis '/home/c72578/compile/cvs/Mesa/src/mesa' make[2]: *** [subdirs] Fehler 1 make[2]: Verlasse Verzeichnis '/home/c72578/compile/cvs/Mesa/src' make[1]: *** [default] Fehler 1 make[1]: Verlasse Verzeichnis '/home/c72578/compile/cvs/Mesa' make: *** [linux-dri-x86] Fehler 2
At the very least you need to update drm (and libdrm).
Problem was caused by script using old cvs cvs -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri login cvs -z3 -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri co drm Changing to git helped: git clone git://anongit.freedesktop.org/git/mesa/drm Thanks for the info.
*** Bug 8817 has been marked as a duplicate of this bug. ***
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.