>>> Compiling source in /var/tmp/portage/mesa-6.4.1-r1/work/Mesa-6.4.1 ... (cd configs && rm -f current && ln -s linux-dri-x86-64 current) make default make[1]: Entering directory `/var/tmp/portage/mesa-6.4.1-r1/work/Mesa-6.4.1' make[2]: Entering directory `/var/tmp/portage/mesa-6.4.1-r1/work/Mesa-6.4.1/src' Making sources for linux-dri-x86-64 mkdir ../lib64 make[3]: Entering directory `/var/tmp/portage/mesa-6.4.1-r1/work/Mesa-6.4.1/src/glx/x11' Makefile:95: depend: No such file or directory touch depend /usr/bin/makedepend -fdepend -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../../src/mesa/main/dispatch.c glcontextmodes.c clientattrib.c compsize.c eval.c glxcmds.c glxext.c glxextensions.c indirect.c indirect_init.c indirect_size.c indirect_window_pos.c indirect_transpose_matrix.c indirect_vertex_array.c indirect_vertex_program.c pixel.c pixelstore.c render2.c renderpix.c single2.c singlepix.c vertarr.c xfont.c glx_pbuffer.c glx_query.c glx_texture_compression.c dri_glx.c XF86dri.c ../../../src/mesa/x86-64/glapi_x86-64.S /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/bits/types.h, line 31): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/stdlib.h, line 33): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/sys/types.h, line 147): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/alloca.h, line 25): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/stdio.h, line 34): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/_G_config.h, line 14): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/wchar.h, line 48): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/gconv.h, line 31): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/libio.h, line 53): cannot find include file "stdarg.h" not in ./stdarg.h not in ../../../include/stdarg.h not in ../../../include/GL/internal/stdarg.h not in ../../../src/mesa/main/stdarg.h not in ../../../src/mesa/glapi/stdarg.h not in ../../../src/mesa/drivers/dri/common/stdarg.h not in /usr/include/drm/stdarg.h not in /usr/X11R6/include/stdarg.h not in /usr/include/stdarg.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/string.h, line 33): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading ../../../src/mesa/main/glheader.h, line 69): cannot find include file "float.h" not in ./float.h not in ../../../include/float.h not in ../../../include/GL/internal/float.h not in ../../../src/mesa/main/float.h not in ../../../src/mesa/glapi/float.h not in ../../../src/mesa/drivers/dri/common/float.h not in /usr/include/drm/float.h not in /usr/X11R6/include/float.h not in /usr/include/float.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading ../../../src/mesa/main/glheader.h, line 70): cannot find include file "stdarg.h" not in ./stdarg.h not in ../../../include/stdarg.h not in ../../../include/GL/internal/stdarg.h not in ../../../src/mesa/main/stdarg.h not in ../../../src/mesa/glapi/stdarg.h not in ../../../src/mesa/drivers/dri/common/stdarg.h not in /usr/include/drm/stdarg.h not in /usr/X11R6/include/stdarg.h not in /usr/include/stdarg.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading /usr/X11R6/include/gentoo-multilib/amd64/inttypes.h, line 38): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: ../../../src/mesa/glapi/glapi.c (reading ../../../include/GL/glext.h, line 3044): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: glcontextmodes.c (reading /usr/X11R6/include/X11/Xlib.h, line 75): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: glcontextmodes.c (reading /usr/X11R6/include/X11/Xlibint.h, line 346): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h /usr/bin/makedepend: warning: clientattrib.c (reading glxclient.h, line 59): cannot find include file "GL/glxproto.h" not in GL/glxproto.h not in GL/glxproto.h not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/main/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in ../../../src/mesa/drivers/dri/common/GL/glxproto.h not in /usr/include/drm/GL/glxproto.h not in /usr/X11R6/include/GL/glxproto.h not in /usr/include/GL/glxproto.h /usr/bin/makedepend: warning: indirect.c, line 33: cannot find include file "GL/glxproto.h" not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/main/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in ../../../src/mesa/drivers/dri/common/GL/glxproto.h not in /usr/include/drm/GL/glxproto.h not in /usr/X11R6/include/GL/glxproto.h not in /usr/include/GL/glxproto.h /usr/bin/makedepend: warning: indirect_vertex_array.c, line 32: cannot find include file "GL/glxproto.h" not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/main/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in ../../../src/mesa/drivers/dri/common/GL/glxproto.h not in /usr/include/drm/GL/glxproto.h not in /usr/X11R6/include/GL/glxproto.h not in /usr/include/GL/glxproto.h /usr/bin/makedepend: warning: indirect_vertex_array.c (reading indirect_va_private.h, line 39): cannot find include file "GL/glxproto.h" not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/main/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in ../../../src/mesa/drivers/dri/common/GL/glxproto.h not in /usr/include/drm/GL/glxproto.h not in /usr/X11R6/include/GL/glxproto.h not in /usr/include/GL/glxproto.h /usr/bin/makedepend: warning: indirect_vertex_program.c, line 31: cannot find include file "GL/glxproto.h" not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/main/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in ../../../src/mesa/drivers/dri/common/GL/glxproto.h not in /usr/include/drm/GL/glxproto.h not in /usr/X11R6/include/GL/glxproto.h not in /usr/include/GL/glxproto.h /usr/bin/makedepend: warning: XF86dri.c (reading /usr/include/drm/drm.h), line 196: # warning "__SIZE_TYPE__ not defined. Assuming sizeof(size_t) == sizeof(unsigned long)!" make[3]: Leaving directory `/var/tmp/portage/mesa-6.4.1-r1/work/Mesa-6.4.1/src/glx/x11' make[3]: Entering directory `/var/tmp/portage/mesa-6.4.1-r1/work/Mesa-6.4.1/src/glx/x11' x86_64-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include -Wall -O2 -pipe -march=athlon64 -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DUSE_X86_64_ASM -std=c99 -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' ../../../src/mesa/glapi/glapi.c -o ../../../src/mesa/glapi/glapi.o x86_64-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include -Wall -O2 -pipe -march=athlon64 -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DUSE_X86_64_ASM -std=c99 -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' ../../../src/mesa/glapi/glthread.c -o ../../../src/mesa/glapi/glthread.o x86_64-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include -Wall -O2 -pipe -march=athlon64 -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DUSE_X86_64_ASM -std=c99 -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' ../../../src/mesa/main/dispatch.c -o ../../../src/mesa/main/dispatch.o x86_64-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include -Wall -O2 -pipe -march=athlon64 -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DUSE_X86_64_ASM -std=c99 -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' glcontextmodes.c -o glcontextmodes.o x86_64-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include -Wall -O2 -pipe -march=athlon64 -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DUSE_X86_64_ASM -std=c99 -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' clientattrib.c -o clientattrib.o In file included from clientattrib.c:38: glxclient.h:59:25: GL/glxproto.h: No such file or directory In file included from clientattrib.c:38: glxclient.h:257: error: parse error before "GLXContextTag" glxclient.h:257: warning: no semicolon at end of struct or union glxclient.h:401: error: parse error before '}' token clientattrib.c: In function `do_enable_disable': clientattrib.c:48: error: dereferencing pointer to incomplete type clientattrib.c:56: error: dereferencing pointer to incomplete type clientattrib.c:56: error: dereferencing pointer to incomplete type clientattrib.c: In function `__indirect_glPushClientAttrib': clientattrib.c:75: error: dereferencing pointer to incomplete type clientattrib.c:76: error: dereferencing pointer to incomplete type clientattrib.c:78: error: dereferencing pointer to incomplete type clientattrib.c:84: error: dereferencing pointer to incomplete type clientattrib.c:93: error: dereferencing pointer to incomplete type clientattrib.c:93: error: dereferencing pointer to incomplete type clientattrib.c: In function `__indirect_glPopClientAttrib': clientattrib.c:101: error: dereferencing pointer to incomplete type clientattrib.c:102: error: dereferencing pointer to incomplete type clientattrib.c:105: error: dereferencing pointer to incomplete type clientattrib.c:110: error: dereferencing pointer to incomplete type clientattrib.c:122: error: dereferencing pointer to incomplete type clientattrib.c:122: error: dereferencing pointer to incomplete type clientattrib.c: In function `__glFreeAttributeState': clientattrib.c:131: error: dereferencing pointer to incomplete type clientattrib.c:132: error: dereferencing pointer to incomplete type make[3]: *** [clientattrib.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/mesa-6.4.1-r1/work/Mesa-6.4.1/src/glx/x11' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/mesa-6.4.1-r1/work/Mesa-6.4.1/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/mesa-6.4.1-r1/work/Mesa-6.4.1' make: *** [linux-dri-x86-64] Error 2