<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>With this patch: https://bugs.freedesktop.org/show_bug.cgi?id=91724, osmesa builds fine, but OpenGL2 shader related functions like glCreateShader does not work (It always return 0). Pre 2 fixed pipeline functions all work fine. Does anyone have any clue about this?</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Yuzhu</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br></div><span id="zwchr" data-marker="__DIVIDER__">----- On Aug 24, 2015, at 10:21 AM, Emil Velikov <emil.l.velikov@gmail.com> wrote:<br></span><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">On 24 August 2015 at 16:10, Brian Paul <brianp@vmware.com> wrote:<br>> Sounds like the file is being compiled without having proper prototypes for<br>> all the mgl functions.  Do you see any compiler warnings when you build?<br>> What gcc compiler options are you using?<br>><br>Ftr I haven't been able to build mangled GL for as far as I started<br>building mesa (2+ years).<br>All cases, that I recall, ended up as Yuzhu reported - undefined<br>reference to "glFoo"<br><br>Would be great to have it fixed (patches welcome), but I'd like to<br>remove the shared-glapi option first ;-)<br><br>Cheers,<br>Emil<br></blockquote></div></div></body></html>