GLUT + Android GLES2 + JNI ?

Is it possible to port OpenGL, GLUT projects to Android JNI.

I can handle events from Java via. JNI like this:

void on_surface_created(const char* path) {}
void on_surface_changed(int width, int height) {}
void on_draw_frame() {}
void on_touch_press(float normalized_x, float normalized_y) {}
void on_touch_drag(float normalized_x, float normalized_y) {}

But for portability i prefer handling events and loops in C/C++

I haven’t been able to find any examples and i get compile errors when including:

#include <GL/glut.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>

GLES2/gl2.h:38:26: error: conflicting types for ‘GLintptr’
GLES2/gl2.h:39:26: error: conflicting types for ‘GLsizeiptr’

Is GLUT + Android possible?
Any hello world examples out there?

-Thanks