Returning back to some extension coding. I seem to have hit a strange snag...
I want to set up and test a GL_OES_mapbuffer extension, something I had issues with in the past...
Im doing the normal methods..
PFNGLMAPBUFFEROESPROC glMapBuffer = NULL;
glMapBuffer = (PFNGLMAPBUFFEROESPROC)eglGetProcAddress("GL_OES_mapbuffer");
But.. I'm getting an odd linker error.
1>/usr/bin/ld: /opt/vc/lib/libEGL_static.a(egl_khr_image_client.c.o)(0): error : undefined reference to symbol 'dlsym@@GLIBC_2.4'
1>//lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
Anyone know what this is? My linker options are the same ones I always use
-Wl,-gc-sections
Have I missed something obvious?