after dri2 has been added into mesa i continue to get the following error when compiling mesa:<br><br>make -j4 -s -j1 linux-dri-x86-64<br>Making sources for linux-dri-x86-64<br>makedepend: warning:  glcontextmodes.c (reading /usr/include/gentoo-multilib/amd64/bits/types.h, line 31): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  glcontextmodes.c (reading /usr/include/gentoo-multilib/amd64/sys/types.h, line 147): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  glcontextmodes.c (reading /usr/include/X11/Xlib.h, line 75): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  glcontextmodes.c (reading ../../../include/GL/glext.h, line 3388): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  glcontextmodes.c (reading /usr/include/gentoo-multilib/amd64/inttypes.h, line 38): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  glcontextmodes.c (reading /usr/include/gentoo-multilib/amd64/string.h, line 33): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  glcontextmodes.c (reading /usr/include/gentoo-multilib/amd64/stdlib.h, line 33): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  glcontextmodes.c (reading /usr/include/gentoo-multilib/amd64/alloca.h, line 25): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  glcontextmodes.c (reading /usr/include/X11/Xlibint.h, line 347): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  clientattrib.c (reading /usr/include/gentoo-multilib/amd64/stdio.h, line 34): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  clientattrib.c (reading /usr/include/gentoo-multilib/amd64/_G_config.h, line 14): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  clientattrib.c (reading /usr/include/gentoo-multilib/amd64/wchar.h, line 48): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  clientattrib.c (reading /usr/include/gentoo-multilib/amd64/gconv.h, line 31): cannot find include file "stddef.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>
        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>makedepend: warning:  clientattrib.c (reading /usr/include/gentoo-multilib/amd64/libio.h, line 53): cannot find include file "stdarg.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stdarg.h<br>        not in ./stdarg.h<br>        not in ../../../include/stdarg.h<br>        not in ../../../include/GL/internal/stdarg.h<br>
        not in ../../../src/mesa/main/stdarg.h<br>        not in ../../../src/mesa/glapi/stdarg.h<br>        not in /usr/include/drm/stdarg.h<br>        not in /usr/include/stdarg.h<br>makedepend: warning:  glxcmds.c (reading /usr/include/gentoo-multilib/amd64/limits.h, line 125): cannot find include file "limits.h"<br>
makedepend: warning:  glxcmds.c (reading ../../../src/mesa/main/glheader.h, line 68): cannot find include file "float.h"<br>        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/float.h<br>
        not in ./float.h<br>        not in ../../../include/float.h<br>        not in ../../../include/GL/internal/float.h<br>        not in ../../../src/mesa/main/float.h<br>        not in ../../../src/mesa/glapi/float.h<br>
        not in /usr/include/drm/float.h<br>        not in /usr/include/float.h<br>makedepend: warning:  glxcmds.c (reading ../../../src/mesa/main/glheader.h, line 69): cannot find include file "stdarg.h"<br>        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stdarg.h<br>
        not in ./stdarg.h<br>        not in ../../../include/stdarg.h<br>        not in ../../../include/GL/internal/stdarg.h<br>        not in ../../../src/mesa/main/stdarg.h<br>        not in ../../../src/mesa/glapi/stdarg.h<br>
        not in /usr/include/drm/stdarg.h<br>        not in /usr/include/stdarg.h<br>makedepend: warning:  dri2.c, line 38: cannot find include file "X11/extensions/dri2proto.h"<br>        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/X11/extensions/dri2proto.h<br>
        not in ./X11/extensions/dri2proto.h<br>        not in ../../../include/X11/extensions/dri2proto.h<br>        not in ../../../include/GL/internal/X11/extensions/dri2proto.h<br>        not in ../../../src/mesa/main/X11/extensions/dri2proto.h<br>
        not in ../../../src/mesa/glapi/X11/extensions/dri2proto.h<br>        not in /usr/include/drm/X11/extensions/dri2proto.h<br>        not in /usr/include/X11/extensions/dri2proto.h<br>makedepend: warning:  dri2.c (reading /usr/include/xf86drm.h, line 37): cannot find include file "stdarg.h"<br>
        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stdarg.h<br>        not in ./stdarg.h<br>        not in ../../../include/stdarg.h<br>        not in ../../../include/GL/internal/stdarg.h<br>
        not in ../../../src/mesa/main/stdarg.h<br>        not in ../../../src/mesa/glapi/stdarg.h<br>        not in /usr/include/drm/stdarg.h<br>        not in /usr/include/stdarg.h<br>makedepend: warning:  dri2.c (reading /usr/include/drm/drm.h), line 172: # warning "__SIZE_TYPE__ not defined.  Assuming sizeof(size_t) == sizeof(unsigned long)!"<br>
makedepend: warning:  dri2.c (reading /usr/include/xf86mm.h, line 31): cannot find include file "stddef.h"<br>        not in /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32/include/stddef.h<br>
        not in ./stddef.h<br>        not in ../../../include/stddef.h<br>        not in ../../../include/GL/internal/stddef.h<br>        not in ../../../src/mesa/main/stddef.h<br>        not in ../../../src/mesa/glapi/stddef.h<br>
        not in /usr/include/drm/stddef.h<br>        not in /usr/include/stddef.h<br>indirect_vertex_program.c: In function '__indirect_glGetVertexAttribivARB':<br>indirect_vertex_program.c:195: warning: passing argument 4 of 'get_attrib_array_data' from incompatible pointer type<br>
dri2.c:38:38: error: X11/extensions/dri2proto.h: No such file or directory<br>dri2.c:43: error: 'DRI2_NAME' undeclared here (not in a function)<br>dri2.c: In function 'DRI2QueryVersion':<br>dri2.c:81: error: 'xDRI2QueryVersionReply' undeclared (first use in this function)<br>
dri2.c:81: error: (Each undeclared identifier is reported only once<br>dri2.c:81: error: for each function it appears in.)<br>dri2.c:81: error: expected ';' before 'rep'<br>dri2.c:82: error: 'xDRI2QueryVersionReq' undeclared (first use in this function)<br>
dri2.c:82: error: 'req' undeclared (first use in this function)<br>dri2.c:82: error: invalid operands to binary *<br>dri2.c:87: error: 'sz_xDRI2QueryVersionReq' undeclared (first use in this function)<br>dri2.c:87: error: invalid operands to binary +<br>
dri2.c:87: error: expected expression before ')' token<br>dri2.c:87: error: invalid operands to binary *<br>dri2.c:87: error: called object '<erroneous-expression>' is not a function<br>dri2.c:87: error: request for member 'reqType' in something not a structure or union<br>
dri2.c:87: error: 'X_DRI2QueryVersion' undeclared (first use in this function)<br>dri2.c:87: error: request for member 'length' in something not a structure or union<br>dri2.c:87: error: invalid operands to binary >><br>
dri2.c:87: error: invalid operands to binary +<br>dri2.c:87: error: invalid use of non-lvalue array<br>dri2.c:88: error: request for member 'reqType' in something not a structure or union<br>dri2.c:89: error: request for member 'dri2ReqType' in something not a structure or union<br>
dri2.c:90: error: request for member 'majorVersion' in something not a structure or union<br>dri2.c:90: error: 'DRI2_MAJOR' undeclared (first use in this function)<br>dri2.c:91: error: request for member 'minorVersion' in something not a structure or union<br>
dri2.c:91: error: 'DRI2_MINOR' undeclared (first use in this function)<br>dri2.c:92: error: 'rep' undeclared (first use in this function)<br>dri2.c:97: error: request for member 'majorVersion' in something not a structure or union<br>
dri2.c:97: warning: assignment makes integer from pointer without a cast<br>dri2.c:98: error: request for member 'minorVersion' in something not a structure or union<br>dri2.c:98: warning: assignment makes integer from pointer without a cast<br>
dri2.c: In function 'DRI2Connect':<br>dri2.c:109: error: 'xDRI2ConnectReply' undeclared (first use in this function)<br>dri2.c:109: error: expected ';' before 'rep'<br>dri2.c:110: error: 'xDRI2ConnectReq' undeclared (first use in this function)<br>
dri2.c:110: error: 'req' undeclared (first use in this function)<br>dri2.c:110: error: invalid operands to binary *<br>dri2.c:115: error: 'sz_xDRI2ConnectReq' undeclared (first use in this function)<br>dri2.c:115: error: invalid operands to binary +<br>
dri2.c:115: error: expected expression before ')' token<br>dri2.c:115: error: invalid operands to binary *<br>dri2.c:115: error: called object '<erroneous-expression>' is not a function<br>dri2.c:115: error: request for member 'reqType' in something not a structure or union<br>
dri2.c:115: error: 'X_DRI2Connect' undeclared (first use in this function)<br>dri2.c:115: error: request for member 'length' in something not a structure or union<br>dri2.c:115: error: invalid operands to binary >><br>
dri2.c:115: error: invalid operands to binary +<br>dri2.c:115: error: invalid use of non-lvalue array<br>dri2.c:116: error: request for member 'reqType' in something not a structure or union<br>dri2.c:117: error: request for member 'dri2ReqType' in something not a structure or union<br>
dri2.c:118: error: request for member 'screen' in something not a structure or union<br>dri2.c:119: error: 'rep' undeclared (first use in this function)<br>dri2.c:125: error: request for member 'sareaHandle' in something not a structure or union<br>
dri2.c:125: warning: assignment makes integer from pointer without a cast<br>dri2.c:127: error: request for member 'driverNameLength' in something not a structure or union<br>dri2.c:127: warning: passing argument 1 of 'malloc' makes integer from pointer without a cast<br>
dri2.c:130: error: request for member 'driverNameLength' in something not a structure or union<br>dri2.c:130: error: invalid operands to binary &<br>dri2.c:131: error: request for member 'busIdLength' in something not a structure or union<br>
dri2.c:131: error: invalid operands to binary &<br>dri2.c:131: error: invalid operands to binary +<br>dri2.c:131: warning: passing argument 2 of '_XEatData' makes integer from pointer without a cast<br>dri2.c:136: error: request for member 'driverNameLength' in something not a structure or union<br>
dri2.c:136: warning: passing argument 3 of '_XReadPad' makes integer from pointer without a cast<br>dri2.c:137: error: request for member 'driverNameLength' in something not a structure or union<br>dri2.c:137: error: array subscript is not an integer<br>
dri2.c:139: error: request for member 'busIdLength' in something not a structure or union<br>dri2.c:139: warning: passing argument 1 of 'malloc' makes integer from pointer without a cast<br>dri2.c:142: error: request for member 'busIdLength' in something not a structure or union<br>
dri2.c:142: error: invalid operands to binary &<br>dri2.c:142: warning: passing argument 2 of '_XEatData' makes integer from pointer without a cast<br>dri2.c:147: error: request for member 'busIdLength' in something not a structure or union<br>
dri2.c:147: warning: passing argument 3 of '_XReadPad' makes integer from pointer without a cast<br>dri2.c:148: error: request for member 'busIdLength' in something not a structure or union<br>dri2.c:148: error: array subscript is not an integer<br>
dri2.c:153: error: request for member 'sareaHandle' in something not a structure or union<br>dri2.c: In function 'DRI2AuthConnection':<br>dri2.c:159: error: 'xDRI2AuthConnectionReq' undeclared (first use in this function)<br>
dri2.c:159: error: 'req' undeclared (first use in this function)<br>dri2.c:159: error: invalid operands to binary *<br>dri2.c:160: error: 'xDRI2AuthConnectionReply' undeclared (first use in this function)<br>
dri2.c:160: error: expected ';' before 'rep'<br>dri2.c:165: error: 'sz_xDRI2AuthConnectionReq' undeclared (first use in this function)<br>dri2.c:165: error: invalid operands to binary +<br>dri2.c:165: error: expected expression before ')' token<br>
dri2.c:165: error: invalid operands to binary *<br>dri2.c:165: error: called object '<erroneous-expression>' is not a function<br>dri2.c:165: error: request for member 'reqType' in something not a structure or union<br>
dri2.c:165: error: 'X_DRI2AuthConnection' undeclared (first use in this function)<br>dri2.c:165: error: request for member 'length' in something not a structure or union<br>dri2.c:165: error: invalid operands to binary >><br>
dri2.c:165: error: invalid operands to binary +<br>dri2.c:165: error: invalid use of non-lvalue array<br>dri2.c:166: error: request for member 'reqType' in something not a structure or union<br>dri2.c:167: error: request for member 'dri2ReqType' in something not a structure or union<br>
dri2.c:168: error: request for member 'screen' in something not a structure or union<br>dri2.c:169: error: request for member 'magic' in something not a structure or union<br>dri2.c:170: error: 'rep' undeclared (first use in this function)<br>
dri2.c:170: error: request for member 'authenticated' in something not a structure or union<br>dri2.c:179: error: request for member 'authenticated' in something not a structure or union<br>dri2.c:179: warning: return makes integer from pointer without a cast<br>
dri2.c: In function 'DRI2CreateDrawable':<br>dri2.c:186: error: 'xDRI2CreateDrawableReply' undeclared (first use in this function)<br>dri2.c:186: error: expected ';' before 'rep'<br>dri2.c:187: error: 'xDRI2CreateDrawableReq' undeclared (first use in this function)<br>
dri2.c:187: error: 'req' undeclared (first use in this function)<br>dri2.c:187: error: invalid operands to binary *<br>dri2.c:192: error: 'sz_xDRI2CreateDrawableReq' undeclared (first use in this function)<br>
dri2.c:192: error: invalid operands to binary +<br>dri2.c:192: error: expected expression before ')' token<br>dri2.c:192: error: invalid operands to binary *<br>dri2.c:192: error: called object '<erroneous-expression>' is not a function<br>
dri2.c:192: error: request for member 'reqType' in something not a structure or union<br>dri2.c:192: error: 'X_DRI2CreateDrawable' undeclared (first use in this function)<br>dri2.c:192: error: request for member 'length' in something not a structure or union<br>
dri2.c:192: error: invalid operands to binary >><br>dri2.c:192: error: invalid operands to binary +<br>dri2.c:192: error: invalid use of non-lvalue array<br>dri2.c:193: error: request for member 'reqType' in something not a structure or union<br>
dri2.c:194: error: request for member 'dri2ReqType' in something not a structure or union<br>dri2.c:195: error: request for member 'drawable' in something not a structure or union<br>dri2.c:196: error: 'rep' undeclared (first use in this function)<br>
dri2.c:204: error: request for member 'handle' in something not a structure or union<br>dri2.c:204: warning: assignment makes integer from pointer without a cast<br>dri2.c:205: error: request for member 'head' in something not a structure or union<br>
dri2.c:205: warning: assignment makes integer from pointer without a cast<br>dri2.c: In function 'DRI2DestroyDrawable':<br>dri2.c:213: error: 'xDRI2DestroyDrawableReq' undeclared (first use in this function)<br>
dri2.c:213: error: 'req' undeclared (first use in this function)<br>dri2.c:213: error: invalid operands to binary *<br>dri2.c:220: error: 'sz_xDRI2DestroyDrawableReq' undeclared (first use in this function)<br>
dri2.c:220: error: invalid operands to binary +<br>dri2.c:220: error: expected expression before ')' token<br>dri2.c:220: error: invalid operands to binary *<br>dri2.c:220: error: called object '<erroneous-expression>' is not a function<br>
dri2.c:220: error: request for member 'reqType' in something not a structure or union<br>dri2.c:220: error: 'X_DRI2DestroyDrawable' undeclared (first use in this function)<br>dri2.c:220: error: request for member 'length' in something not a structure or union<br>
dri2.c:220: error: invalid operands to binary >><br>dri2.c:220: error: invalid operands to binary +<br>dri2.c:220: error: invalid use of non-lvalue array<br>dri2.c:221: error: request for member 'reqType' in something not a structure or union<br>
dri2.c:222: error: request for member 'dri2ReqType' in something not a structure or union<br>dri2.c:223: error: request for member 'drawable' in something not a structure or union<br>dri2.c: In function 'DRI2ReemitDrawableInfo':<br>
dri2.c:231: error: 'xDRI2ReemitDrawableInfoReply' undeclared (first use in this function)<br>dri2.c:231: error: expected ';' before 'rep'<br>dri2.c:232: error: 'xDRI2ReemitDrawableInfoReq' undeclared (first use in this function)<br>
dri2.c:232: error: 'req' undeclared (first use in this function)<br>dri2.c:232: error: invalid operands to binary *<br>dri2.c:237: error: 'sz_xDRI2ReemitDrawableInfoReq' undeclared (first use in this function)<br>
dri2.c:237: error: invalid operands to binary +<br>dri2.c:237: error: expected expression before ')' token<br>dri2.c:237: error: invalid operands to binary *<br>dri2.c:237: error: called object '<erroneous-expression>' is not a function<br>
dri2.c:237: error: request for member 'reqType' in something not a structure or union<br>dri2.c:237: error: 'X_DRI2ReemitDrawableInfo' undeclared (first use in this function)<br>dri2.c:237: error: request for member 'length' in something not a structure or union<br>
dri2.c:237: error: invalid operands to binary >><br>dri2.c:237: error: invalid operands to binary +<br>dri2.c:237: error: invalid use of non-lvalue array<br>dri2.c:238: error: request for member 'reqType' in something not a structure or union<br>
dri2.c:239: error: request for member 'dri2ReqType' in something not a structure or union<br>dri2.c:240: error: request for member 'drawable' in something not a structure or union<br>dri2.c:241: error: 'rep' undeclared (first use in this function)<br>
dri2.c:249: error: request for member 'head' in something not a structure or union<br>dri2.c:249: warning: assignment makes integer from pointer without a cast<br>make[3]: *** [dri2.o] Error 1<br>make[2]: *** [subdirs] Error 1<br>
make[1]: *** [default] Error 1<br>make: *** [linux-dri-x86-64] Error 2<br><br>!!! ERROR in media-libs/mesa-9999:<br>!!! In src_compile at line 4137<br>!!! Build failed<br><br>!!! Call stack:<br>!!!    * src_compile (/var/tmp/paludis/media-libs/mesa-9999/temp/loadsaveenv:4137)<br>
!!!    * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)<br>!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:462)<br>!!!    * main (/usr/libexec/paludis/ebuild.bash:480)<br><br>diefunc: making ebuild PID 24323 exit with error<br>
die trap: exiting with error.<br clear="all"><br>i'm a gentoo user and using an ebuild that syncs git and compiles mesa for the radeon serie. i don't really understand why do i get this dri2 stuff if it's only supported in the intel part of mesa.<br>
<br>-- <br>dott. ing. beso