Bug 8814 - Mesa no longer compiles, error in vblank.c
Summary: Mesa no longer compiles, error in vblank.c
Status: RESOLVED NOTABUG
Alias: None
Product: DRI
Classification: Unclassified
Component: General (show other bugs)
Version: DRI git
Hardware: x86 (IA32) Linux (All)
: lowest trivial
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
: 8817 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-29 01:19 UTC by Wolfgang Stoeggl
Modified: 2006-10-29 13:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Wolfgang Stoeggl 2006-10-29 01:19:19 UTC
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
Comment 1 Rune Petersen 2006-10-29 02:05:22 UTC
At the very least you need to update drm (and libdrm).
Comment 2 Wolfgang Stoeggl 2006-10-29 08:21:01 UTC
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.
Comment 3 Rune Petersen 2006-10-29 13:28:54 UTC
*** 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.