Ticket #19105 (closed defect: fixed)
mesa fails to build during upgrade from 7.2 to 7.4 on tiger
| Reported by: | devans@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | dri2proto | Cc: | swinbank@…, garribald@…, vincheval@…, jean-philippe.humbert@… |
| Port: | mesa |
Description
OS X 10.4.11, XCode 2.5 Mesa 7.4 fails to build during upgrade as follows:
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_macports_trunk_dports_x11_mesa/work/Mesa-7.4" && make default INSTALL_DIR=/opt/local'
Making sources for darwin
gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include -fPIC -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/opt/local/lib/dri\" dri2.c -o dri2.o
In file included from /opt/local/include/X11/Xlib.h:64,
from /opt/local/include/X11/Xlibint.h:43,
from dri2.c:35:
/opt/local/include/X11/Xosdefs.h:145:1: warning: "_DARWIN_C_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from dri2.c:40:
dri2.h:37:39: error: X11/extensions/dri2tokens.h: No such file or directory
dri2.c: In function 'DRI2Connect':
dri2.c:117: error: 'struct <anonymous>' has no member named 'window'
dri2.c:118: error: 'struct <anonymous>' has no member named 'driverType'
dri2.c:118: error: 'DRI2DriverDRI' undeclared (first use in this function)
dri2.c:118: error: (Each undeclared identifier is reported only once
dri2.c:118: error: for each function it appears in.)
dri2.c:125: error: 'xDRI2ConnectReply' has no member named 'deviceNameLength'
dri2.c:135: error: 'xDRI2ConnectReply' has no member named 'deviceNameLength'
dri2.c:143: error: 'xDRI2ConnectReply' has no member named 'deviceNameLength'
dri2.c:146: error: 'xDRI2ConnectReply' has no member named 'deviceNameLength'
dri2.c:151: error: 'xDRI2ConnectReply' has no member named 'deviceNameLength'
dri2.c:152: error: 'xDRI2ConnectReply' has no member named 'deviceNameLength'
dri2.c: In function 'DRI2Authenticate':
dri2.c:163: error: 'xDRI2AuthenticateReq' undeclared (first use in this function)
dri2.c:163: error: 'req' undeclared (first use in this function)
dri2.c:164: error: 'xDRI2AuthenticateReply' undeclared (first use in this function)
dri2.c:164: error: parse error before 'rep'
dri2.c:169: error: 'sz_xDRI2AuthenticateReq' undeclared (first use in this function)
dri2.c:169: error: parse error before ')' token
dri2.c:169: error: 'X_DRI2Authenticate' undeclared (first use in this function)
dri2.c:175: error: 'rep' undeclared (first use in this function)
dri2.c: In function 'DRI2GetBuffers':
dri2.c:227: error: 'xDRI2GetBuffersReply' undeclared (first use in this function)
dri2.c:227: error: parse error before 'rep'
dri2.c:228: error: 'xDRI2GetBuffersReq' undeclared (first use in this function)
dri2.c:228: error: 'req' undeclared (first use in this function)
dri2.c:230: error: 'xDRI2Buffer' undeclared (first use in this function)
dri2.c:230: error: parse error before 'repBuffer'
dri2.c:237: error: 'sz_xDRI2GetBuffersReq' undeclared (first use in this function)
dri2.c:237: error: parse error before ')' token
dri2.c:237: error: 'X_DRI2GetBuffers' undeclared (first use in this function)
dri2.c:246: error: 'rep' undeclared (first use in this function)
dri2.c:258: error: 'repBuffer' undeclared (first use in this function)
dri2.c: In function 'DRI2CopyRegion':
dri2.c:283: error: 'xDRI2CopyRegionReq' undeclared (first use in this function)
dri2.c:283: error: 'req' undeclared (first use in this function)
dri2.c:284: error: 'xDRI2CopyRegionReply' undeclared (first use in this function)
dri2.c:284: error: parse error before 'rep'
dri2.c:289: error: 'sz_xDRI2CopyRegionReq' undeclared (first use in this function)
dri2.c:289: error: parse error before ')' token
dri2.c:289: error: 'X_DRI2CopyRegion' undeclared (first use in this function)
dri2.c:297: error: 'rep' undeclared (first use in this function)
make[2]: *** [dri2.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
Failing file is Mesa-7.4/src/glx/x11/dri2.c
Change History
Note: See
TracTickets for help on using
tickets.

