(cd configs && rm -f current && ln -s linux-dri-x86 current) make default make[1]: Entering directory `/home/jujimufu/dri/Mesa' make[2]: Entering directory `/home/jujimufu/dri/Mesa/src' Making sources for linux-dri-x86 mkdir ../lib make[3]: Entering directory `/home/jujimufu/dri/Mesa/src/glx/x11' Makefile:95: depend: No such file or directory touch depend 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 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/main/dispatch.c ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../../src/mesa/x86/glapi_x86.S /bin/sh: pkg-config: command not found makedepend: warning: glcontextmodes.c, line 45: cannot find include file "X11/X.h" not in ./X11/X.h not in ../../../include/X11/X.h not in ../../../include/GL/internal/X11/X.h not in ../../../src/mesa/main/X11/X.h not in ../../../src/mesa/glapi/X11/X.h not in ../../../src/mesa/drivers/dri/common/X11/X.h not in /usr/X11R6/include/X11/X.h not in /usr/include/X11/X.h makedepend: warning: glcontextmodes.c (reading ../../../include/GL/glx.h, line 38): cannot find include file "X11/Xlib.h" not in ./X11/Xlib.h not in ../../../include/X11/Xlib.h not in ../../../include/GL/internal/X11/Xlib.h not in ../../../src/mesa/main/X11/Xlib.h not in ../../../src/mesa/glapi/X11/Xlib.h not in ../../../src/mesa/drivers/dri/common/X11/Xlib.h not in /usr/X11R6/include/X11/Xlib.h not in /usr/include/X11/Xlib.h makedepend: warning: glcontextmodes.c (reading ../../../include/GL/glx.h, line 39): cannot find include file "X11/Xutil.h" not in ./X11/Xutil.h not in ../../../include/X11/Xutil.h not in ../../../include/GL/internal/X11/Xutil.h not in ../../../src/mesa/main/X11/Xutil.h not in ../../../src/mesa/glapi/X11/Xutil.h not in ../../../src/mesa/drivers/dri/common/X11/Xutil.h not in /usr/X11R6/include/X11/Xutil.h not in /usr/include/X11/Xutil.h makedepend: warning: glcontextmodes.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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glcontextmodes.c, line 47: cannot find include file "GL/glxint.h" not in GL/glxint.h not in GL/glxint.h not in ./GL/glxint.h not in ../../../include/GL/glxint.h not in ../../../include/GL/internal/GL/glxint.h not in ../../../src/mesa/main/GL/glxint.h not in ../../../src/mesa/glapi/GL/glxint.h not in ../../../src/mesa/drivers/dri/common/GL/glxint.h not in /usr/X11R6/include/GL/glxint.h not in /usr/include/GL/glxint.h makedepend: warning: glcontextmodes.c, line 56: cannot find include file "X11/Xlibint.h" not in ./X11/Xlibint.h not in ../../../include/X11/Xlibint.h not in ../../../include/GL/internal/X11/Xlibint.h not in ../../../src/mesa/main/X11/Xlibint.h not in ../../../src/mesa/glapi/X11/Xlibint.h not in ../../../src/mesa/drivers/dri/common/X11/Xlibint.h not in /usr/X11R6/include/X11/Xlibint.h not in /usr/include/X11/Xlibint.h makedepend: warning: glcontextmodes.c (reading /usr/include/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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/include/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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading glxclient.h, line 47): cannot find include file "X11/Xproto.h" not in ./X11/Xproto.h not in ../../../include/X11/Xproto.h not in ../../../include/GL/internal/X11/Xproto.h not in ../../../src/mesa/main/X11/Xproto.h not in ../../../src/mesa/glapi/X11/Xproto.h not in ../../../src/mesa/drivers/dri/common/X11/Xproto.h not in /usr/X11R6/include/X11/Xproto.h not in /usr/include/X11/Xproto.h makedepend: warning: clientattrib.c (reading glxclient.h, line 48): cannot find include file "X11/Xlibint.h" not in ./X11/Xlibint.h not in ../../../include/X11/Xlibint.h not in ../../../include/GL/internal/X11/Xlibint.h not in ../../../src/mesa/main/X11/Xlibint.h not in ../../../src/mesa/glapi/X11/Xlibint.h not in ../../../src/mesa/drivers/dri/common/X11/Xlibint.h not in /usr/X11R6/include/X11/Xlibint.h not in /usr/include/X11/Xlibint.h makedepend: warning: clientattrib.c (reading /usr/include/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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/_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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/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/X11R6/include/stdarg.h not in /usr/include/stdarg.h makedepend: warning: clientattrib.c (reading glxclient.h, line 58): cannot find include file "GL/glxint.h" not in GL/glxint.h not in GL/glxint.h not in ./GL/glxint.h not in ../../../include/GL/glxint.h not in ../../../include/GL/internal/GL/glxint.h not in ../../../src/mesa/main/GL/glxint.h not in ../../../src/mesa/glapi/GL/glxint.h not in ../../../src/mesa/drivers/dri/common/GL/glxint.h not in /usr/X11R6/include/GL/glxint.h not in /usr/include/GL/glxint.h 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/X11R6/include/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: glxcmds.c (reading /usr/include/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/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glxcmds.c, line 44: cannot find include file "X11/extensions/extutil.h" not in ./X11/extensions/extutil.h not in ../../../include/X11/extensions/extutil.h not in ../../../include/GL/internal/X11/extensions/extutil.h not in ../../../src/mesa/main/X11/extensions/extutil.h not in ../../../src/mesa/glapi/X11/extensions/extutil.h not in ../../../src/mesa/drivers/dri/common/X11/extensions/extutil.h not in /usr/X11R6/include/X11/extensions/extutil.h not in /usr/include/X11/extensions/extutil.h makedepend: warning: glxcmds.c, line 45: cannot find include file "X11/extensions/Xext.h" not in ./X11/extensions/Xext.h not in ../../../include/X11/extensions/Xext.h not in ../../../include/GL/internal/X11/extensions/Xext.h not in ../../../src/mesa/main/X11/extensions/Xext.h not in ../../../src/mesa/glapi/X11/extensions/Xext.h not in ../../../src/mesa/drivers/dri/common/X11/extensions/Xext.h not in /usr/X11R6/include/X11/extensions/Xext.h not in /usr/include/X11/extensions/Xext.h makedepend: warning: glxcmds.c (reading /usr/include/limits.h, line 124): cannot find include file "limits.h" makedepend: warning: glxcmds.c (reading ../../../src/mesa/main/glheader.h, line 72): 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/X11R6/include/float.h not in /usr/include/float.h makedepend: warning: glxcmds.c (reading ../../../src/mesa/main/glheader.h, line 73): 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/X11R6/include/stdarg.h not in /usr/include/stdarg.h makedepend: warning: glxext.c, line 49: cannot find include file "X11/extensions/Xext.h" not in ./X11/extensions/Xext.h not in ../../../include/X11/extensions/Xext.h not in ../../../include/GL/internal/X11/extensions/Xext.h not in ../../../src/mesa/main/X11/extensions/Xext.h not in ../../../src/mesa/glapi/X11/extensions/Xext.h not in ../../../src/mesa/drivers/dri/common/X11/extensions/Xext.h not in /usr/X11R6/include/X11/extensions/Xext.h not in /usr/include/X11/extensions/Xext.h makedepend: warning: glxext.c, line 50: cannot find include file "X11/extensions/extutil.h" not in ./X11/extensions/extutil.h not in ../../../include/X11/extensions/extutil.h not in ../../../include/GL/internal/X11/extensions/extutil.h not in ../../../src/mesa/main/X11/extensions/extutil.h not in ../../../src/mesa/glapi/X11/extensions/extutil.h not in ../../../src/mesa/drivers/dri/common/X11/extensions/extutil.h not in /usr/X11R6/include/X11/extensions/extutil.h not in /usr/include/X11/extensions/extutil.h makedepend: warning: glxextensions.c, line 32: cannot find include file "X11/extensions/extutil.h" not in ./X11/extensions/extutil.h not in ../../../include/X11/extensions/extutil.h not in ../../../include/GL/internal/X11/extensions/extutil.h not in ../../../src/mesa/main/X11/extensions/extutil.h not in ../../../src/mesa/glapi/X11/extensions/extutil.h not in ../../../src/mesa/drivers/dri/common/X11/extensions/extutil.h not in /usr/X11R6/include/X11/extensions/extutil.h not in /usr/include/X11/extensions/extutil.h makedepend: warning: glxextensions.c, line 33: cannot find include file "X11/extensions/Xext.h" not in ./X11/extensions/Xext.h not in ../../../include/X11/extensions/Xext.h not in ../../../include/GL/internal/X11/extensions/Xext.h not in ../../../src/mesa/main/X11/extensions/Xext.h not in ../../../src/mesa/glapi/X11/extensions/Xext.h not in ../../../src/mesa/drivers/dri/common/X11/extensions/Xext.h not in /usr/X11R6/include/X11/extensions/Xext.h not in /usr/include/X11/extensions/Xext.h 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/X11R6/include/GL/glxproto.h not in /usr/include/GL/glxproto.h 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/X11R6/include/GL/glxproto.h not in /usr/include/GL/glxproto.h 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/X11R6/include/GL/glxproto.h not in /usr/include/GL/glxproto.h 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/X11R6/include/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: glx_pbuffer.c, line 34: cannot find include file "X11/extensions/extutil.h" not in ./X11/extensions/extutil.h not in ../../../include/X11/extensions/extutil.h not in ../../../include/GL/internal/X11/extensions/extutil.h not in ../../../src/mesa/main/X11/extensions/extutil.h not in ../../../src/mesa/glapi/X11/extensions/extutil.h not in ../../../src/mesa/drivers/dri/common/X11/extensions/extutil.h not in /usr/X11R6/include/X11/extensions/extutil.h not in /usr/include/X11/extensions/extutil.h makedepend: warning: glx_pbuffer.c, line 35: cannot find include file "X11/extensions/Xext.h" not in ./X11/extensions/Xext.h not in ../../../include/X11/extensions/Xext.h not in ../../../include/GL/internal/X11/extensions/Xext.h not in ../../../src/mesa/main/X11/extensions/Xext.h not in ../../../src/mesa/glapi/X11/extensions/Xext.h not in ../../../src/mesa/drivers/dri/common/X11/extensions/Xext.h not in /usr/X11R6/include/X11/extensions/Xext.h not in /usr/include/X11/extensions/Xext.h make[3]: Leaving directory `/home/jujimufu/dri/Mesa/src/glx/x11' make[3]: Entering directory `/home/jujimufu/dri/Mesa/src/glx/x11' 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 -Wmissing-prototypes -std=c99 -ffast-math -O -g -m32 -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 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/X11R6/lib/modules/dri\" glcontextmodes.c -o glcontextmodes.o /bin/sh: pkg-config: command not found glcontextmodes.c:45:20: error: X11/X.h: No such file or directory In file included from glcontextmodes.c:46: ../../../include/GL/glx.h:38:22: error: X11/Xlib.h: No such file or directory ../../../include/GL/glx.h:39:23: error: X11/Xutil.h: No such file or directory In file included from glcontextmodes.c:46: ../../../include/GL/glx.h:179: error: syntax error before ‘GLXPixmap’ ../../../include/GL/glx.h:179: warning: type defaults to ‘int’ in declaration of ‘GLXPixmap’ ../../../include/GL/glx.h:179: warning: data definition has no type or storage class ../../../include/GL/glx.h:180: error: syntax error before ‘GLXDrawable’ ../../../include/GL/glx.h:180: warning: type defaults to ‘int’ in declaration of ‘GLXDrawable’ ../../../include/GL/glx.h:180: warning: data definition has no type or storage class ../../../include/GL/glx.h:183: error: syntax error before ‘GLXFBConfigID’ ../../../include/GL/glx.h:183: warning: type defaults to ‘int’ in declaration of ‘GLXFBConfigID’ ../../../include/GL/glx.h:183: warning: data definition has no type or storage class ../../../include/GL/glx.h:184: error: syntax error before ‘GLXContextID’ ../../../include/GL/glx.h:184: warning: type defaults to ‘int’ in declaration of ‘GLXContextID’ ../../../include/GL/glx.h:184: warning: data definition has no type or storage class ../../../include/GL/glx.h:185: error: syntax error before ‘GLXWindow’ ../../../include/GL/glx.h:185: warning: type defaults to ‘int’ in declaration of ‘GLXWindow’ ../../../include/GL/glx.h:185: warning: data definition has no type or storage class ../../../include/GL/glx.h:186: error: syntax error before ‘GLXPbuffer’ ../../../include/GL/glx.h:186: warning: type defaults to ‘int’ in declaration of ‘GLXPbuffer’ ../../../include/GL/glx.h:186: warning: data definition has no type or storage class ../../../include/GL/glx.h:190: error: syntax error before ‘*’ token ../../../include/GL/glx.h:190: error: syntax error before ‘*’ token ../../../include/GL/glx.h:191: warning: type defaults to ‘int’ in declaration of ‘glXChooseVisual’ ../../../include/GL/glx.h:191: warning: data definition has no type or storage class ../../../include/GL/glx.h:193: error: syntax error before ‘*’ token ../../../include/GL/glx.h:196: error: syntax error before ‘*’ token ../../../include/GL/glx.h:198: error: syntax error before ‘glXMakeCurrent’ ../../../include/GL/glx.h:198: error: syntax error before ‘*’ token ../../../include/GL/glx.h:199: warning: type defaults to ‘int’ in declaration of ‘glXMakeCurrent’ ../../../include/GL/glx.h:199: warning: data definition has no type or storage class ../../../include/GL/glx.h:201: error: syntax error before ‘*’ token ../../../include/GL/glx.h:204: error: syntax error before ‘*’ token ../../../include/GL/glx.h:206: error: syntax error before ‘glXCreateGLXPixmap’ ../../../include/GL/glx.h:206: error: syntax error before ‘*’ token ../../../include/GL/glx.h:207: warning: type defaults to ‘int’ in declaration of ‘glXCreateGLXPixmap’ ../../../include/GL/glx.h:207: warning: data definition has no type or storage class ../../../include/GL/glx.h:209: error: syntax error before ‘*’ token ../../../include/GL/glx.h:211: error: syntax error before ‘glXQueryExtension’ ../../../include/GL/glx.h:211: error: syntax error before ‘*’ token ../../../include/GL/glx.h:211: warning: type defaults to ‘int’ in declaration of ‘glXQueryExtension’ ../../../include/GL/glx.h:211: warning: data definition has no type or storage class ../../../include/GL/glx.h:213: error: syntax error before ‘glXQueryVersion’ ../../../include/GL/glx.h:213: error: syntax error before ‘*’ token ../../../include/GL/glx.h:213: warning: type defaults to ‘int’ in declaration of ‘glXQueryVersion’ ../../../include/GL/glx.h:213: warning: data definition has no type or storage class ../../../include/GL/glx.h:215: error: syntax error before ‘glXIsDirect’ ../../../include/GL/glx.h:215: error: syntax error before ‘*’ token ../../../include/GL/glx.h:215: warning: type defaults to ‘int’ in declaration of ‘glXIsDirect’ ../../../include/GL/glx.h:215: warning: data definition has no type or storage class ../../../include/GL/glx.h:217: error: syntax error before ‘*’ token ../../../include/GL/glx.h:222: error: syntax error before ‘glXGetCurrentDrawable’ ../../../include/GL/glx.h:222: warning: type defaults to ‘int’ in declaration of ‘glXGetCurrentDrawable’ ../../../include/GL/glx.h:222: warning: data definition has no type or storage class ../../../include/GL/glx.h:228: error: syntax error before ‘font’ ../../../include/GL/glx.h:233: error: syntax error before ‘*’ token ../../../include/GL/glx.h:235: error: syntax error before ‘*’ token ../../../include/GL/glx.h:237: error: syntax error before ‘*’ token ../../../include/GL/glx.h:241: error: syntax error before ‘*’ token ../../../include/GL/glx.h:241: warning: type defaults to ‘int’ in declaration of ‘glXGetCurrentDisplay’ ../../../include/GL/glx.h:241: warning: data definition has no type or storage class ../../../include/GL/glx.h:245: error: syntax error before ‘*’ token ../../../include/GL/glx.h:248: error: syntax error before ‘*’ token ../../../include/GL/glx.h:251: error: syntax error before ‘*’ token ../../../include/GL/glx.h:254: error: syntax error before ‘*’ token ../../../include/GL/glx.h:254: error: syntax error before ‘*’ token ../../../include/GL/glx.h:255: warning: type defaults to ‘int’ in declaration of ‘glXGetVisualFromFBConfig’ ../../../include/GL/glx.h:255: warning: data definition has no type or storage class ../../../include/GL/glx.h:257: error: syntax error before ‘glXCreateWindow’ ../../../include/GL/glx.h:257: error: syntax error before ‘*’ token ../../../include/GL/glx.h:258: warning: type defaults to ‘int’ in declaration of ‘glXCreateWindow’ ../../../include/GL/glx.h:258: warning: data definition has no type or storage class ../../../include/GL/glx.h:260: error: syntax error before ‘*’ token ../../../include/GL/glx.h:262: error: syntax error before ‘glXCreatePixmap’ ../../../include/GL/glx.h:262: error: syntax error before ‘*’ token ../../../include/GL/glx.h:263: warning: type defaults to ‘int’ in declaration of ‘glXCreatePixmap’ ../../../include/GL/glx.h:263: warning: data definition has no type or storage class ../../../include/GL/glx.h:265: error: syntax error before ‘*’ token ../../../include/GL/glx.h:267: error: syntax error before ‘glXCreatePbuffer’ ../../../include/GL/glx.h:267: error: syntax error before ‘*’ token ../../../include/GL/glx.h:268: warning: type defaults to ‘int’ in declaration of ‘glXCreatePbuffer’ ../../../include/GL/glx.h:268: warning: data definition has no type or storage class ../../../include/GL/glx.h:270: error: syntax error before ‘*’ token ../../../include/GL/glx.h:272: error: syntax error before ‘*’ token ../../../include/GL/glx.h:275: error: syntax error before ‘*’ token ../../../include/GL/glx.h:279: error: syntax error before ‘glXMakeContextCurrent’ ../../../include/GL/glx.h:279: error: syntax error before ‘*’ token ../../../include/GL/glx.h:280: warning: type defaults to ‘int’ in declaration of ‘glXMakeContextCurrent’ ../../../include/GL/glx.h:280: warning: data definition has no type or storage class ../../../include/GL/glx.h:282: error: syntax error before ‘glXGetCurrentReadDrawable’ ../../../include/GL/glx.h:282: warning: type defaults to ‘int’ in declaration of ‘glXGetCurrentReadDrawable’ ../../../include/GL/glx.h:282: warning: data definition has no type or storage class ../../../include/GL/glx.h:284: error: syntax error before ‘*’ token ../../../include/GL/glx.h:287: error: syntax error before ‘*’ token ../../../include/GL/glx.h:290: error: syntax error before ‘*’ token In file included from ../../../include/GL/glx.h:300, from glcontextmodes.c:46: ../../../include/GL/glxext.h:309: error: syntax error before ‘GLXVideoSourceSGIX’ ../../../include/GL/glxext.h:309: warning: type defaults to ‘int’ in declaration of ‘GLXVideoSourceSGIX’ ../../../include/GL/glxext.h:309: warning: data definition has no type or storage class ../../../include/GL/glxext.h:313: error: syntax error before ‘GLXFBConfigIDSGIX’ ../../../include/GL/glxext.h:313: warning: type defaults to ‘int’ in declaration of ‘GLXFBConfigIDSGIX’ ../../../include/GL/glxext.h:313: warning: data definition has no type or storage class ../../../include/GL/glxext.h:318: error: syntax error before ‘GLXPbufferSGIX’ ../../../include/GL/glxext.h:318: warning: type defaults to ‘int’ in declaration of ‘GLXPbufferSGIX’ ../../../include/GL/glxext.h:318: warning: data definition has no type or storage class ../../../include/GL/glxext.h:322: error: syntax error before ‘Bool’ ../../../include/GL/glxext.h:322: warning: no semicolon at end of struct or union ../../../include/GL/glxext.h:323: warning: type defaults to ‘int’ in declaration of ‘display’ ../../../include/GL/glxext.h:323: warning: data definition has no type or storage class ../../../include/GL/glxext.h:324: error: syntax error before ‘drawable’ ../../../include/GL/glxext.h:324: warning: type defaults to ‘int’ in declaration of ‘drawable’ ../../../include/GL/glxext.h:324: warning: data definition has no type or storage class ../../../include/GL/glxext.h:331: error: syntax error before ‘}’ token ../../../include/GL/glxext.h:331: warning: type defaults to ‘int’ in declaration of ‘GLXBufferClobberEventSGIX’ ../../../include/GL/glxext.h:331: warning: data definition has no type or storage class ../../../include/GL/glxext.h:448: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:448: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:448: warning: type defaults to ‘int’ in declaration of ‘Bool’ ../../../include/GL/glxext.h:448: error: ‘Bool’ declared as function returning a function ../../../include/GL/glxext.h:449: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:449: warning: type defaults to ‘int’ in declaration of ‘GLXDrawable’ ../../../include/GL/glxext.h:449: error: ‘GLXDrawable’ declared as function returning a function ../../../include/GL/glxext.h:449: error: ‘GLXDrawable’ redeclared as different kind of symbol ../../../include/GL/glx.h:180: error: previous declaration of ‘GLXDrawable’ was here ../../../include/GL/glxext.h:477: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:477: warning: type defaults to ‘int’ in declaration of ‘PFNGLXGETCURRENTDISPLAYEXTPROC’ ../../../include/GL/glxext.h:477: warning: data definition has no type or storage class ../../../include/GL/glxext.h:478: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:479: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:479: warning: type defaults to ‘int’ in declaration of ‘GLXContextID’ ../../../include/GL/glxext.h:479: error: ‘GLXContextID’ declared as function returning a function ../../../include/GL/glxext.h:479: error: ‘GLXContextID’ redeclared as different kind of symbol ../../../include/GL/glx.h:184: error: previous declaration of ‘GLXContextID’ was here ../../../include/GL/glxext.h:480: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:481: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:494: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:495: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:496: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:496: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:496: warning: type defaults to ‘int’ in declaration of ‘GLXPixmap’ ../../../include/GL/glxext.h:496: error: ‘GLXPixmap’ declared as function returning a function ../../../include/GL/glxext.h:496: error: ‘GLXPixmap’ redeclared as different kind of symbol ../../../include/GL/glx.h:179: error: previous declaration of ‘GLXPixmap’ was here ../../../include/GL/glxext.h:497: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:498: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:498: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:498: warning: type defaults to ‘int’ in declaration of ‘PFNGLXGETVISUALFROMFBCONFIGSGIXPROC’ ../../../include/GL/glxext.h:498: warning: data definition has no type or storage class ../../../include/GL/glxext.h:499: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:511: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:511: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:511: warning: type defaults to ‘int’ in declaration of ‘GLXPbufferSGIX’ ../../../include/GL/glxext.h:511: error: ‘GLXPbufferSGIX’ declared as function returning a function ../../../include/GL/glxext.h:511: error: ‘GLXPbufferSGIX’ redeclared as different kind of symbol ../../../include/GL/glxext.h:318: error: previous declaration of ‘GLXPbufferSGIX’ was here ../../../include/GL/glxext.h:512: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:513: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:514: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:515: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:523: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:535: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:536: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:537: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:538: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:539: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:557: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:566: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:567: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:567: error: ‘PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC’ declared as function returning a function ../../../include/GL/glxext.h:575: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:575: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:575: warning: type defaults to ‘int’ in declaration of ‘Status’ ../../../include/GL/glxext.h:575: error: ‘Status’ declared as function returning a function ../../../include/GL/glxext.h:583: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:591: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:591: error: ‘PFNGLXCREATEGLXPIXMAPMESAPROC’ declared as function returning a function ../../../include/GL/glxext.h:599: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:599: error: ‘PFNGLXRELEASEBUFFERSMESAPROC’ declared as function returning a function ../../../include/GL/glxext.h:607: error: ‘PFNGLXSET3DFXMODEMESAPROC’ declared as function returning a function ../../../include/GL/glxext.h:627: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:627: error: ‘PFNGLXGETSYNCVALUESOMLPROC’ declared as function returning a function ../../../include/GL/glxext.h:628: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:628: error: ‘PFNGLXGETMSCRATEOMLPROC’ declared as function returning a function ../../../include/GL/glxext.h:629: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:629: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:629: warning: type defaults to ‘int’ in declaration of ‘int64_t’ ../../../include/GL/glxext.h:629: error: ‘int64_t’ declared as function returning a function ../../../include/GL/glxext.h:630: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:630: error: ‘PFNGLXWAITFORMSCOMLPROC’ declared as function returning a function ../../../include/GL/glxext.h:631: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:631: error: ‘PFNGLXWAITFORSBCOMLPROC’ declared as function returning a function ../../../include/GL/glxext.h:671: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:672: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:673: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:674: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:675: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:676: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:677: error: syntax error before ‘*’ token ../../../include/GL/glxext.h:678: error: syntax error before ‘*’ token In file included from glcontextmodes.c:46: ../../../include/GL/glx.h:347: error: syntax error before ‘*’ token ../../../include/GL/glx.h:348: error: syntax error before ‘*’ token ../../../include/GL/glx.h:349: error: syntax error before ‘*’ token ../../../include/GL/glx.h:350: error: syntax error before ‘*’ token ../../../include/GL/glx.h:351: error: syntax error before ‘*’ token ../../../include/GL/glx.h:352: error: syntax error before ‘*’ token ../../../include/GL/glx.h:364: error: syntax error before ‘*’ token ../../../include/GL/glx.h:364: error: ‘glXBindTexImageARB’ declared as function returning a function ../../../include/GL/glx.h:365: error: syntax error before ‘*’ token ../../../include/GL/glx.h:365: error: ‘glXReleaseTexImageARB’ declared as function returning a function ../../../include/GL/glx.h:366: error: syntax error before ‘*’ token ../../../include/GL/glx.h:366: error: ‘glXDrawableAttribARB’ declared as function returning a function ../../../include/GL/glx.h:389: error: syntax error before ‘*’ token ../../../include/GL/glx.h:390: error: syntax error before ‘*’ token ../../../include/GL/glx.h:391: error: syntax error before ‘*’ token ../../../include/GL/glx.h:392: error: syntax error before ‘*’ token ../../../include/GL/glx.h:394: error: syntax error before ‘*’ token ../../../include/GL/glx.h:395: error: syntax error before ‘*’ token ../../../include/GL/glx.h:396: error: syntax error before ‘*’ token ../../../include/GL/glx.h:397: error: syntax error before ‘*’ token ../../../include/GL/glx.h:465: error: syntax error before ‘*’ token ../../../include/GL/glx.h:466: error: syntax error before ‘*’ token ../../../include/GL/glx.h:481: error: field ‘send_event’ declared as a function ../../../include/GL/glx.h:482: error: syntax error before ‘Display’ ../../../include/GL/glx.h:482: warning: no semicolon at end of struct or union ../../../include/GL/glx.h:483: error: ‘drawable’ redeclared as different kind of symbol ../../../include/GL/glxext.h:324: error: previous declaration of ‘drawable’ was here ../../../include/GL/glx.h:489: error: syntax error before ‘}’ token ../../../include/GL/glx.h:489: warning: type defaults to ‘int’ in declaration of ‘GLXPbufferClobberEvent’ ../../../include/GL/glx.h:489: warning: data definition has no type or storage class ../../../include/GL/glx.h:492: error: syntax error before ‘GLXPbufferClobberEvent’ ../../../include/GL/glx.h:492: warning: no semicolon at end of struct or union ../../../include/GL/glx.h:494: error: syntax error before ‘}’ token ../../../include/GL/glx.h:494: warning: type defaults to ‘int’ in declaration of ‘GLXEvent’ ../../../include/GL/glx.h:494: warning: data definition has no type or storage class glcontextmodes.c:47:24: error: GL/glxint.h: No such file or directory glcontextmodes.c:56:27: error: X11/Xlibint.h: No such file or directory In file included from ../../../include/GL/internal/glcore.h:41, from ../../../src/mesa/drivers/dri/common/glcontextmodes.h:33, from glcontextmodes.c:63: /usr/include/sys/types.h:194: error: conflicting types for ‘int64_t’ ../../../include/GL/glxext.h:629: error: previous declaration of ‘int64_t’ was here In file included from glcontextmodes.c:63: ../../../src/mesa/drivers/dri/common/glcontextmodes.h:39: warning: type defaults to ‘int’ in declaration of ‘__GLXvisualConfig’ ../../../src/mesa/drivers/dri/common/glcontextmodes.h:39: error: syntax error before ‘*’ token glcontextmodes.c: In function ‘_gl_convert_to_x_visual_type’: glcontextmodes.c:102: error: ‘TrueColor’ undeclared (first use in this function) glcontextmodes.c:102: error: (Each undeclared identifier is reported only once glcontextmodes.c:102: error: for each function it appears in.) glcontextmodes.c:102: error: ‘DirectColor’ undeclared (first use in this function) glcontextmodes.c:103: error: ‘PseudoColor’ undeclared (first use in this function) glcontextmodes.c:103: error: ‘StaticColor’ undeclared (first use in this function) glcontextmodes.c:104: error: ‘GrayScale’ undeclared (first use in this function) glcontextmodes.c:105: error: ‘StaticGray’ undeclared (first use in this function) glcontextmodes.c: At top level: glcontextmodes.c:128: warning: type defaults to ‘int’ in declaration of ‘__GLXvisualConfig’ glcontextmodes.c:128: error: syntax error before ‘*’ token glcontextmodes.c:129: warning: no previous prototype for ‘_gl_copy_visual_to_context_mode’ glcontextmodes.c: In function ‘_gl_copy_visual_to_context_mode’: glcontextmodes.c:130: error: ‘mode’ undeclared (first use in this function) glcontextmodes.c:132: warning: implicit declaration of function ‘memset’ glcontextmodes.c:132: warning: incompatible implicit declaration of built-in function ‘memset’ glcontextmodes.c:135: error: ‘config’ undeclared (first use in this function) glcontextmodes.c: In function ‘_gl_context_modes_create’: glcontextmodes.c:390: warning: implicit declaration of function ‘Xmalloc’ glcontextmodes.c:397: warning: incompatible implicit declaration of built-in function ‘memset’ glcontextmodes.c: In function ‘_gl_context_modes_destroy’: glcontextmodes.c:436: warning: implicit declaration of function ‘Xfree’ make[3]: *** [glcontextmodes.o] Error 1 make[3]: Leaving directory `/home/jujimufu/dri/Mesa/src/glx/x11' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/home/jujimufu/dri/Mesa/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/home/jujimufu/dri/Mesa' make: *** [linux-dri-x86] Error 2