I'm sorry Pickle but I don't quite understand what you want me to do to fix my compilation prob here.

I can see that the block of code you have highlighted is already present within the svn version I have here so my inexperienced guess was to try adding:

-DUSE_GLES1

to the CFLAGS section on line 42 of the Makefile but that hasn't worked.

?