cc -O2 -g -ansi -pedantic -Wno-system-headers -Dasm=__asm -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -fPIC -I../../../../programs/Xserver/GL/glx -I../../../../programs/Xserver/GL/include -I../../../../programs/Xserver/include -I../../../../exports/include -I../../../../extras/Mesa/include -I../../../../exports/include/X11 -I../../../../programs/Xserver/mi -I../../../../include/extensions -I../../../../include/fonts -I../../../../lib/GL/include -I../../../../programs/Xserver/hw/xfree86 -I../../../.. -I../../../../exports/include -I/usr/Xorg-current/include -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DDLOPEN_HACK -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((1) * 1000) + 99)" -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -c glcontextmodes.c In file included from glcontextmodes.c:43: ../../../../exports/include/GL/glx.h:39:22: X11/Xlib.h: No such file or directory ../../../../exports/include/GL/glx.h:40:23: X11/Xutil.h: No such file or directory In file included from glcontextmodes.c:43: ../../../../exports/include/GL/glx.h:70: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:70: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:70: warning: type defaults to `int' in declaration of `glXChooseVisual' ../../../../exports/include/GL/glx.h:70: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:70: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:71: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:71: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:72: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:72: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:73: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:73: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:74: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:74: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:75: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:75: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:76: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:76: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:79: error: syntax error before "glXIsDirect" ../../../../exports/include/GL/glx.h:79: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:79: warning: type defaults to `int' in declaration of `glXIsDirect' ../../../../exports/include/GL/glx.h:79: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:79: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:80: error: syntax error before "glXMakeCurrent" ../../../../exports/include/GL/glx.h:80: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:80: warning: type defaults to `int' in declaration of `glXMakeCurrent' ../../../../exports/include/GL/glx.h:80: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:80: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:81: error: syntax error before "glXQueryExtension" ../../../../exports/include/GL/glx.h:81: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:81: warning: type defaults to `int' in declaration of `glXQueryExtension' ../../../../exports/include/GL/glx.h:81: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:81: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:82: error: syntax error before "glXQueryVersion" ../../../../exports/include/GL/glx.h:82: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:82: warning: type defaults to `int' in declaration of `glXQueryVersion' ../../../../exports/include/GL/glx.h:82: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:82: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:83: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:83: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:87: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:87: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:88: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:88: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:89: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:89: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:92: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:92: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:93: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:93: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:94: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:94: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:95: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:95: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:95: warning: type defaults to `int' in declaration of `glXGetVisualFromFBConfig' ../../../../exports/include/GL/glx.h:95: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:95: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:96: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:96: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:97: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:97: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:98: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:98: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:99: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:99: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:100: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:100: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:101: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:101: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:102: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:102: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:103: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:103: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:104: error: syntax error before "glXMakeContextCurrent" ../../../../exports/include/GL/glx.h:104: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:104: warning: type defaults to `int' in declaration of `glXMakeContextCurrent' ../../../../exports/include/GL/glx.h:104: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:104: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:106: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:106: warning: type defaults to `int' in declaration of `glXGetCurrentDisplay' ../../../../exports/include/GL/glx.h:106: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:107: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:107: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:108: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:108: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:109: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:109: warning: function declaration isn't a prototype In file included from ../../../../exports/include/GL/glx.h:117, from glcontextmodes.c:43: ../../../../exports/include/GL/glxext.h:322: error: syntax error before "Bool" ../../../../exports/include/GL/glxext.h:428: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:457: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:457: warning: type defaults to `int' in declaration of `PFNGLXGETCURRENTDISPLAYEXTPROC' ../../../../exports/include/GL/glxext.h:457: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glxext.h:458: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:458: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:460: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:460: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:461: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:461: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:474: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:474: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:475: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:475: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:476: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:476: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:477: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:477: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:478: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:478: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:478: warning: type defaults to `int' in declaration of `PFNGLXGETVISUALFROMFBCONFIGSGIXPROC' ../../../../exports/include/GL/glxext.h:478: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:478: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glxext.h:479: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:479: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:491: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:491: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:492: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:492: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:493: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:493: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:494: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:494: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:495: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:495: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:503: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:503: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:515: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:515: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:516: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:516: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:517: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:517: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:518: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:518: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:519: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:519: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:537: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:537: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:546: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:546: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:547: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:555: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:563: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:563: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:571: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:571: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:579: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:587: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:658: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:658: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:659: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:659: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:660: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:660: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:661: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:661: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:662: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:662: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:663: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:663: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:664: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:664: warning: function declaration isn't a prototype ../../../../exports/include/GL/glxext.h:665: error: syntax error before '*' token ../../../../exports/include/GL/glxext.h:665: warning: function declaration isn't a prototype In file included from glcontextmodes.c:43: ../../../../exports/include/GL/glx.h:176: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:176: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:177: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:177: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:178: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:178: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:179: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:179: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:180: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:180: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:181: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:181: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:191: error: syntax error before "glXBindTexImageARB" ../../../../exports/include/GL/glx.h:191: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:191: warning: type defaults to `int' in declaration of `glXBindTexImageARB' ../../../../exports/include/GL/glx.h:191: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:191: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:192: error: syntax error before "glXReleaseTexImageARB" ../../../../exports/include/GL/glx.h:192: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:192: warning: type defaults to `int' in declaration of `glXReleaseTexImageARB' ../../../../exports/include/GL/glx.h:192: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:192: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:193: error: syntax error before "glXDrawableAttribARB" ../../../../exports/include/GL/glx.h:193: error: syntax error before '*' token ../../../../exports/include/GL/glx.h:193: warning: type defaults to `int' in declaration of `glXDrawableAttribARB' ../../../../exports/include/GL/glx.h:193: warning: function declaration isn't a prototype ../../../../exports/include/GL/glx.h:193: error: ISO C forbids data definition with no type or storage class ../../../../exports/include/GL/glx.h:207: error: syntax error before "Bool" *** Error code 1 Stop in /usr/home/bremner/projects/xc/programs/Xserver/GL/glx. *** Error code 1 Stop in /usr/home/bremner/projects/xc/programs/Xserver/GL. *** Error code 1 Stop in /usr/home/bremner/projects/xc/programs/Xserver. *** Error code 1 Stop in /usr/home/bremner/projects/xc/programs. *** Error code 1 Stop in /usr/home/bremner/projects/xc. *** Error code 1 Stop in /usr/home/bremner/projects/xc. *** Error code 1 Stop in /usr/home/bremner/projects/xc.