[~/xmame-0.106]$ make [OSDEPEND] Compiling src/unix/video-drivers/gltool.c ... /bin/sh: --cflags: command not found In file included from /usr/X11R6/include/GL/gl.h:1630, from src/unix/video-drivers/gltool.h:71, from src/unix/video-drivers/gltool.c:21: /usr/X11R6/include/GL/glext.h:6952: error: redefinition of typedef 'PFNGLGETUNIFORMUIVEXTPROC' /usr/X11R6/include/GL/glext.h:6941: error: previous declaration of 'PFNGLGETUNIFORMUIVEXTPROC' was here In file included from src/unix/video-drivers/gltool.c:459: src/unix/video-drivers/gl-disp-fetch.hc: In function `fetch_GL_FUNCS': src/unix/video-drivers/gl-disp-fetch.hc:8: error: `SYMBOL_PREFIX' undeclared (first use in this function) src/unix/video-drivers/gl-disp-fetch.hc:8: error: (Each undeclared identifier is reported only once src/unix/video-drivers/gl-disp-fetch.hc:8: error: for each function it appears in.) src/unix/video-drivers/gl-disp-fetch.hc:8: error: syntax error before string constant ... make: *** [xmame.obj/unix.x11/video-drivers/gltool.o] Error 1