Heath Feather wrote:
> glapi_x86.S is the trouble maker, it explicity generates calls to
> _glapi_Dispatch.
> 
> A little snippet from the output from the preprocessor for this file
> looks like this
> 
>      .balign 16; .globl mglNewList ; .type mglNewList, function;
> mglNewList: movl _glapi_Dispatch,%eax ; testl %eax,%eax ; je 1f ; jmp *4
> * 0(%eax) ; 1: call _x86_get_dispatch ; jmp *4 * 0(%eax)
> 
> 
> You'll note the mention of _glapi_Dispatch, It is glapi_x86.S  that I
> modified to make it output _mglapi_Dispatch instead.

I think the proper fix is to insert:

#ifdef USE_MGL_NAMESPACE
#define _glapi_Dispatch _mglapi_Dispatch
#endif

near the top of the generated .S files.  I'll check in that change. 
Let me know if it works.

-Brian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to