https://bugs.freedesktop.org/show_bug.cgi?id=75098
Priority: medium Bug ID: 75098 Assignee: mesa-dev@lists.freedesktop.org Summary: OpenGL ES2 with fbdev - link error Severity: normal Classification: Unclassified OS: All Reporter: christian.procha...@genode-labs.com Hardware: Other Status: NEW Version: 10.0 Component: EGL Product: Mesa I've built Mesa 10.0.3 for using OpenGL ES 2 on fbdev with the following configuration: ./configure --enable-gles2 --disable-dri --enable-gallium-egl --with-egl-platforms=fbdev --with-gallium-drivers=swrast When I tried to build the 'es2gears' example (from the mesa-demos archive) using the command gcc -o es2gears es2gears.c ../eglut/eglut_screen.c ../eglut/eglut.c -I../eglut -lGLESv2 -lEGL -lm the following link error occured: /usr/local/lib/libGLESv2.so: undefined reference to `_glapi_Dispatch' /usr/local/lib/libGLESv2.so: undefined reference to `_glapi_get_dispatch' collect2: error: ld returned 1 exit status I could finally get it to work by adding the '--enable-shared-glapi' configure option (which made libGLESv2.so link with libglapi.so.0, which contains the missing symbols), but only after editing the configure script to not make this option depend on DRI ("Shared GLAPI is only useful for DRI, disabling"). Is this the correct solution or is the real problem somewhere else? -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev