[Mesa-dev] [Bug 75098] OpenGL ES2 with fbdev - link error
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Feb 17 08:45:48 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=75098
--- Comment #2 from Christian Prochaska <christian.prochaska at genode-labs.com> ---
Hi Emil,
(In reply to comment #1)
> Created attachment 94216 [details] [review]
> mapi/es2api: unconditionaly link against glapi/glapi.la
>
> Hi Christian, thanks for the report.
>
> I must admit that these are rather unusual configure flags, which are not
> tested too often.
>
> * Are you able to use the libGLESv2.so library, (eg. use a precompiled
> es2gears)? I'm assuming that is not the case.
When I build es2gears with the 'working' (shared glapi) Mesa installed and then
uninstall Mesa and install the non-shared glapi Mesa version and execute the
previously built es2gears binary, this error occurs:
./es2gears: symbol lookup error: /usr/local/lib/libGLESv2.so.2: undefined
symbol: _glapi_Dispatch
> With that said, the attached patch should help, although I'm not sure if
> it's the correct solution as the api dispatch is out of my current scope :-)
Unfortunalely, it doesn't build:
/bin/bash ../../../libtool --tag=CC --mode=link gcc -fvisibility=hidden -g
-O2 -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp
-version-number 2 -no-undefined -o libGLESv2.la -rpath /usr/local/lib entry.lo
-ldrm -lm -lpthread -ldl ../../../src/mapi/glapi/libglapi.la
libtool: link: gcc -shared -fPIC -DPIC .libs/entry.o -Wl,--whole-archive
../../../src/mapi/glapi/.libs/libglapi.a -Wl,--no-whole-archive -ldrm -lm
-lpthread -ldl -O2 -Wl,-soname -Wl,libGLESv2.so.2 -o
.libs/libGLESv2.so.2.0.0
../../../src/mapi/glapi/.libs/libglapi.a(glapi_x86.o): In function
`glCullFace':
/home/christian/projects/mesa/mesa/src/mapi/glapi/glapi_x86.S:305: multiple
definition of `glCullFace'
.libs/entry.o:entry.c:(.text+0x0): first defined here
../../../src/mapi/glapi/.libs/libglapi.a(glapi_x86.o): In function
`glFrontFace':
/home/christian/projects/mesa/mesa/src/mapi/glapi/glapi_x86.S:310: multiple
definition of `glFrontFace'
.libs/entry.o:entry.c:(.text+0x20): first defined here
../../../src/mapi/glapi/.libs/libglapi.a(glapi_x86.o): In function `glHint':
.libs/entry.o:entry.c:(.text+0x40): first defined here
...
--
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/12995193/attachment-0001.html>
More information about the mesa-dev
mailing list