@kas1e
Do you have the clib2 version of libIrrlicht.a ?
By the way, I tried compiling Irrlicht for newlib and clib2, but it fails here: (this is from newlib)
COpenGLExtensionHandler.h
COpenGLExtensionHandler.cpp
/usr/local/amiga/ppc-amigaos/SDK/local/newlib/include/SDL/SDL_opengl.h:46,
from COpenGLExtensionHandler.h:51,
from COpenGLExtensionHandler.cpp:9:
/usr/local/amiga/ppc-amigaos/SDK/local/common/include/GL/gl.h:796:23: note: previous declaration of ‘void glLogicOp(GLenum)’
796 | GLAPI void GLAPIENTRY glLogicOp( GLenum opcode );
| ^~~~~~~~~
In file included from /usr/local/amiga/ppc-amigaos/SDK/local/common/include/mgl/gl.h:363,
from /usr/local/amiga/ppc-amigaos/SDK/local/newlib/include/SDL/SDL_opengl.h:55,
from COpenGLExtensionHandler.h:51,
from COpenGLExtensionHandler.cpp:9:
/usr/local/amiga/ppc-amigaos/SDK/local/common/include/mgl/minigl.h:2106:13: error: ‘void glCopyPixels(GLint, GLint, GLsizei, GLsizei, GLenum)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
2106 | MGLAPI void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)