> > Obviously agTimeOps_gettimeofday is missing. (?) > > That one was fixed in SVN a while back.
So I'm back to revision 8867, trying to be more precise on the error mentioned above. Executing "make drv_wgl.lo" inside "gui/" yields the following error: .../mk/libtool/libtool --mode=compile /mingw/bin/gcc -D_AGAR_INTERNAL -D_BSD_SOURCE -I/usr/local/include -I/home/agar-1.4.0_linux-svn8867/agar/include -I/home/agar-1.4.0_linux-svn8867/agar/include/agar -D_AGAR_GUI_INTERNAL -I/usr/local/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I/usr/local/include/freetype2 -I/usr/local/include -o drv_wgl.lo -c drv_wgl.c /mingw/bin/gcc -D_AGAR_INTERNAL -D_BSD_SOURCE -I/usr/local/include -I/home/agar-1.4.0_linux-svn8867/agar/include -I/home/agar-1.4.0_linux-svn8867/agar/include/agar -D_AGAR_GUI_INTERNAL -I/usr/local/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I/usr/local/include/freetype2 -I/usr/local/include -c drv_wgl.c -o drv_wgl.o In file included from drv_wgl.c:47: drv_gl_common.h:12: error: syntax error before "GLboolean" drv_gl_common.h:12: warning: no semicolon at end of struct or union drv_gl_common.h:13: warning: data definition has no type or storage class drv_gl_common.h:14: error: syntax error before "dstFactor" drv_gl_common.h:14: warning: data definition has no type or storage class drv_gl_common.h:15: error: syntax error before "texEnvMode" drv_gl_common.h:15: warning: data definition has no type or storage class drv_gl_common.h:16: warning: data definition has no type or storage class drv_gl_common.h:58: error: syntax error before "AG_GL_GetBlendingFunc" drv_gl_common.h: In function `AG_GL_GetBlendingFunc': drv_gl_common.h:61: error: `GL_ONE' undeclared (first use in this function) drv_gl_common.h:61: error: (Each undeclared identifier is reported only once drv_gl_common.h:61: error: for each function it appears in.) drv_gl_common.h:62: error: `GL_ZERO' undeclared (first use in this function) drv_gl_common.h:63: error: `GL_SRC_ALPHA' undeclared (first use in this function) drv_gl_common.h:64: error: `GL_DST_ALPHA' undeclared (first use in this function) drv_gl_common.h:65: error: `GL_ONE_MINUS_DST_ALPHA' undeclared (first use in this function) drv_gl_common.h:66: error: `GL_ONE_MINUS_SRC_ALPHA' undeclared (first use in this function) drv_wgl.c: At top level: drv_wgl.c:73: error: syntax error before "AG_GL_BlendState" drv_wgl.c:73: warning: no semicolon at end of struct or union drv_wgl.c:74: warning: data definition has no type or storage class drv_wgl.c:96: error: syntax error before '*' token drv_wgl.c:97: error: syntax error before '*' token drv_wgl.c:98: error: syntax error before '*' token drv_wgl.c: In function `LookupWindowByID': drv_wgl.c:130: error: `wgl' undeclared (first use in this function) drv_wgl.c: In function `WGL_Init': drv_wgl.c:152: error: `wgl' undeclared (first use in this function) drv_wgl.c: In function `WGL_Open': drv_wgl.c:166: error: `wgl' undeclared (first use in this function) drv_wgl.c: In function `WGL_Destroy': drv_wgl.c:229: error: `wgl' undeclared (first use in this function) drv_wgl.c: In function `WGL_OpenWindow': drv_wgl.c:288: error: `wgl' undeclared (first use in this function) drv_wgl.c:288: error: syntax error before ')' token drv_wgl.c:291: error: `GLuint' undeclared (first use in this function) drv_wgl.c:291: error: syntax error before "pixelFormat" drv_wgl.c:382: error: `pixelFormat' undeclared (first use in this function) drv_wgl.c: In function `WGL_CloseWindow': drv_wgl.c:456: error: `wgl' undeclared (first use in this function) drv_wgl.c:456: error: syntax error before ')' token drv_wgl.c:466: error: `GLuint' undeclared (first use in this function) drv_wgl.c:466: error: syntax error before ')' token drv_wgl.c: In function `WGL_PostEventCallback': drv_wgl.c:722: error: `wgl' undeclared (first use in this function) drv_wgl.c:722: error: syntax error before ')' token drv_wgl.c: In function `WGL_BeginRendering': drv_wgl.c:888: error: `wgl' undeclared (first use in this function) drv_wgl.c: In function `WGL_RenderWindow': drv_wgl.c:896: error: `wgl' undeclared (first use in this function) drv_wgl.c:896: error: syntax error before ')' token drv_wgl.c:899: error: `GL_COLOR_BUFFER_BIT' undeclared (first use in this function) drv_wgl.c:899: error: `GL_DEPTH_BUFFER_BIT' undeclared (first use in this function) drv_wgl.c:900: error: `GL_CLIP_PLANE0' undeclared (first use in this function) drv_wgl.c:902: error: `GL_CLIP_PLANE1' undeclared (first use in this function) drv_wgl.c:904: error: `GL_CLIP_PLANE2' undeclared (first use in this function) drv_wgl.c:906: error: `GL_CLIP_PLANE3' undeclared (first use in this function) drv_wgl.c: In function `WGL_EndRendering': drv_wgl.c:915: error: `wgl' undeclared (first use in this function) drv_wgl.c:922: error: `GLuint' undeclared (first use in this function) drv_wgl.c:922: error: syntax error before ')' token drv_wgl.c: In function `WGL_DeleteTexture': drv_wgl.c:930: error: `wgl' undeclared (first use in this function) drv_wgl.c: In function `WGL_PushClipRect': drv_wgl.c:943: error: `wgl' undeclared (first use in this function) drv_wgl.c:955: error: `GL_CLIP_PLANE0' undeclared (first use in this function) drv_wgl.c:955: error: syntax error before "GLdouble" drv_wgl.c:961: error: `GL_CLIP_PLANE1' undeclared (first use in this function) drv_wgl.c:961: error: syntax error before "GLdouble" drv_wgl.c:967: error: `GL_CLIP_PLANE2' undeclared (first use in this function) drv_wgl.c:967: error: syntax error before "GLdouble" drv_wgl.c:973: error: `GL_CLIP_PLANE3' undeclared (first use in this function) drv_wgl.c:973: error: syntax error before "GLdouble" drv_wgl.c: In function `WGL_PopClipRect': drv_wgl.c:979: error: `wgl' undeclared (first use in this function) drv_wgl.c:989: error: `GL_CLIP_PLANE0' undeclared (first use in this function) drv_wgl.c:989: error: syntax error before "GLdouble" drv_wgl.c:990: error: `GL_CLIP_PLANE1' undeclared (first use in this function) drv_wgl.c:990: error: syntax error before "GLdouble" drv_wgl.c:991: error: `GL_CLIP_PLANE2' undeclared (first use in this function) drv_wgl.c:991: error: syntax error before "GLdouble" drv_wgl.c:992: error: `GL_CLIP_PLANE3' undeclared (first use in this function) drv_wgl.c:992: error: syntax error before "GLdouble" drv_wgl.c: At top level: drv_wgl.c:998: error: syntax error before '*' token drv_wgl.c: In function `InitClipRects': drv_wgl.c:1004: error: `wgl' undeclared (first use in this function) drv_wgl.c:1013: error: `w' undeclared (first use in this function) drv_wgl.c:1013: error: `h' undeclared (first use in this function) drv_wgl.c: At top level: drv_wgl.c:1029: error: syntax error before '*' token drv_wgl.c: In function `InitClipRect0': drv_wgl.c:1033: error: `wgl' undeclared (first use in this function) drv_wgl.c:1034: error: `win' undeclared (first use in this function) drv_wgl.c: In function `WGL_PushBlendingMode': drv_wgl.c:1043: error: `wgl' undeclared (first use in this function) drv_wgl.c:1046: error: `GL_TEXTURE_ENV' undeclared (first use in this function) drv_wgl.c:1046: error: `GL_TEXTURE_ENV_MODE' undeclared (first use in this function) drv_wgl.c:1048: error: `GL_BLEND' undeclared (first use in this function) drv_wgl.c:1049: error: `GL_BLEND_SRC' undeclared (first use in this function) drv_wgl.c:1050: error: `GL_BLEND_DST' undeclared (first use in this function) drv_wgl.c:1052: error: `GL_REPLACE' undeclared (first use in this function) drv_wgl.c: In function `WGL_PopBlendingMode': drv_wgl.c:1060: error: `wgl' undeclared (first use in this function) drv_wgl.c:1064: error: `GL_BLEND' undeclared (first use in this function) drv_wgl.c: In function `WGL_MapWindow': drv_wgl.c:1073: error: `wgl' undeclared (first use in this function) drv_wgl.c:1073: error: syntax error before ')' token drv_wgl.c: In function `WGL_UnmapWindow': drv_wgl.c:1081: error: `wgl' undeclared (first use in this function) drv_wgl.c:1081: error: syntax error before ')' token drv_wgl.c: In function `WGL_RaiseWindow': drv_wgl.c:1089: error: `wgl' undeclared (first use in this function) drv_wgl.c:1089: error: syntax error before ')' token drv_wgl.c: In function `WGL_LowerWindow': drv_wgl.c:1097: error: `wgl' undeclared (first use in this function) drv_wgl.c:1097: error: syntax error before ')' token drv_wgl.c: In function `WGL_ReparentWindow': drv_wgl.c:1105: error: `wglWin' undeclared (first use in this function) drv_wgl.c:1105: error: syntax error before ')' token drv_wgl.c:1106: error: `wglParentWin' undeclared (first use in this function) drv_wgl.c:1106: error: syntax error before ')' token drv_wgl.c: In function `WGL_GetInputFocus': drv_wgl.c:1114: error: `wgl' undeclared (first use in this function) drv_wgl.c: In function `WGL_SetInputFocus': drv_wgl.c:1137: error: `wgl' undeclared (first use in this function) drv_wgl.c:1137: error: syntax error before ')' token drv_wgl.c: In function `WGL_MoveWindow': drv_wgl.c:1145: error: `wgl' undeclared (first use in this function) drv_wgl.c:1145: error: syntax error before ')' token drv_wgl.c: In function `WGL_ResizeWindow': drv_wgl.c:1160: error: `wgl' undeclared (first use in this function) drv_wgl.c:1160: error: syntax error before ')' token drv_wgl.c: In function `WGL_MoveResizeWindow': drv_wgl.c:1183: error: `wgl' undeclared (first use in this function) drv_wgl.c:1183: error: syntax error before ')' token drv_wgl.c: In function `WGL_SetWindowCaption': drv_wgl.c:1208: error: `wgl' undeclared (first use in this function) drv_wgl.c:1208: error: syntax error before ')' token drv_wgl.c: At top level: drv_wgl.c:1225: error: syntax error before '*' token drv_wgl.c: In function `InitDefaultCursor': drv_wgl.c:1227: error: `wgl' undeclared (first use in this function) drv_wgl.c: In function `WGL_PostResizeCallback': drv_wgl.c:1369: error: `wgl' undeclared (first use in this function) drv_wgl.c:1369: error: syntax error before ')' token make: *** [drv_wgl.lo] Error 1 _______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
