Created attachment 372306 [details] build.log Builds fine against mesa-9.2 In file included from COpenGLDriver.h:25:0, from COpenGLDriver.cpp:5: COpenGLExtensionHandler.h:1237:3: error: ‘PFNGLBLENDEQUATIONPROC’ does not name a type PFNGLBLENDEQUATIONPROC pGlBlendEquation; ^ COpenGLExtensionHandler.h: In member function ‘void irr::video::COpenGLExtensionHandler::extGlBlendEquation(GLenum)’: COpenGLExtensionHandler.h:2571:6: error: ‘pGlBlendEquation’ was not declared in this scope if (pGlBlendEquation) ^
I'm not sure that the linked thread is relevant, but Ian says using GL_GLEXT_PROTOTYPES is doing it wrong.(http://lists.freedesktop.org/archives/mesa-dev/2013-December/050477.html) I see lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h: #define GL_GLEXT_PROTOTYPES 1 lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h: #define GL_GLEXT_PROTOTYPES 1 lib/irrlicht/source/Irrlicht/COpenGLCgMaterialRenderer.h: #define GL_GLEXT_PROTOTYPES 1 lib/irrlicht/source/Irrlicht/COpenGLTexture.h: #define GL_GLEXT_PROTOTYPES 1 lib/irrlicht/source/Irrlicht/COpenGLShaderMaterialRenderer.h: #define GL_GLEXT_PROTOTYPES 1 lib/irrlicht/source/Irrlicht/COpenGLSLMaterialRenderer.h: #define GL_GLEXT_PROTOTYPES 1 in the source, so I'd try removing those. Also, the bundled glext.h is really old (from 2011). It's unclear whether the build is picking it up or Mesa's, but I'd try updating it too.
Upstream has fixed this in git, but it does not apply cleanly to 0.8.1. https://github.com/supertuxkart/stk-code/commit/244d00280c1b082ca164f92337773e9e4e1a3898
+ 29 Apr 2014; Julian Ospald <hasufell@gentoo.org> supertuxkart-0.8.1.ebuild, + +files/supertuxkart-0.8.1-mesa-10.x.patch: + fix build with mesa-10.x wrt #504104