https://bugs.freedesktop.org/show_bug.cgi?id=91724
Bug ID: 91724
Summary: GL/gl_mangle.h misses symbols from GLES/gl.h
Product: Mesa
Version: 10.6
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
When using a statically linked libMangledOSMesa32.a, One gets these undefined
symbols at link time:
Undefined symbols for architecture x86_64:
"_glAlphaFuncx", referenced from:
_static_functions in
libMangledOSMesa32.a(glapi_libglapi_la-glapi_getproc.o)
"_glClearColorx", referenced from:
_static_functions in
libMangledOSMesa32.a(glapi_libglapi_la-glapi_getproc.o)
[long list of _gl.*x undefined symbols]
obviously, functions defined in GLES/gl.h should be mangled too.
To fix it, include ../GLES/gl.h when regenerating gl_mangle.h:
(cd include/GL; sed -e '[email protected] [email protected] glext.h ../GLES/gl.h@' -e
's@\^GLAPI@^GL_?API@' -i .orig gl_mangle.h)
(cd include/GL; sh ./gl_mangle.h > gl_mangle.h.new && mv gl_mangle.h.new
gl_mangle.h)
now glAlphaFuncx and friends are correctly mangled
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev