[Mesa-dev] [Bug 75098] New: OpenGL ES2 with fbdev - link error
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Feb 17 06:55:48 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=75098
Priority: medium
Bug ID: 75098
Assignee: mesa-dev at lists.freedesktop.org
Summary: OpenGL ES2 with fbdev - link error
Severity: normal
Classification: Unclassified
OS: All
Reporter: christian.prochaska at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140217/417ccf0d/attachment.html>
More information about the mesa-dev
mailing list