iphone compilation problems

It’s trying to compile OpenGL ES 2 support, but it cannot locate the headers. Is there even GLES2 support available? If not, you should define HAVE_GLES2 to nothing in the Config.pp file.

drwr (who made the iPhone port) can probably reply in more detail, though.