x11-servers/xorg-server-1.7.7_6, 1: build breaks because of the error: X11/dri/xf86driproto.h: No such file or directory

John Hein jhein at symmetricom.com
Tue Sep 25 00:31:21 UTC 2012


Yuri wrote at 14:52 -0700 on Sep 24, 2012:
 > Recently I am getting this error message, see log below.
 > Expected by build file X11/dri/xf86driproto.h doesn't exist, instead
 > there exists the file /usr/local/include/X11/extensions/dri2proto.h
 > installed by dri2proto-2.6.
 >
 > Yuri
 >
 > --- log ---
 > Making all in glx
 >    CC    glxdri.o
 > glxdri.c:46:34: error: X11/dri/xf86driproto.h: No such file or directory
 > In file included from glxdri.c:49:
 > ../hw/xfree86/dri/dri.h:41:21: error: xf86dri.h: No such file or directory
 > glxdri.c: In function '__glXDRIscreenProbe':
 > glxdri.c:993: error: 'XF86DRI_MAJOR_VERSION' undeclared (first use in
 > this function)
 > glxdri.c:993: error: (Each undeclared identifier is reported only once
 > glxdri.c:993: error: for each function it appears in.)
 > glxdri.c:994: error: 'XF86DRI_MINOR_VERSION' undeclared (first use in
 > this function)
 > glxdri.c:995: error: 'XF86DRI_PATCH_VERSION' undeclared (first use in
 > this function)
 > gmake[1]: *** [glxdri.lo] Error 1
 > gmake: *** [all-recursive] Error 1
 > *** [do-build] Error code 1
 >
 > Stop in /usr/ports/x11-servers/xorg-server.
 > *** [build] Error code 1

A similar thread may help explain it...

http://lists.freebsd.org/pipermail/freebsd-x11/2012-August/012311.html
http://lists.freebsd.org/pipermail/freebsd-x11/2012-August/012323.html

xf86driproto.h is part of the x11/xf86driproto port, by the way.
And that port is explicitly listed as a requirement by x11-servers/xorg-server.



More information about the freebsd-x11 mailing list