Heath Feather wrote: > (BTW, I'm using 6.5.1, forgot to mention that in the earlier message) > > I added glapi.h in glthread.h, but I still find _glapi_Dispatch > undefined when I "nm -oB" the mangled libraries. However the > _mglapi_Dispatch is there and defined, so I think the issue is that it > "_glapi_Dispatch" is being referenced elsewhere in Mesa (glapi_x86, when > the mangled one should be instead. > > This is the link error that leads me to believe this. > > ../../output/tarkits/linux86_32/gcc323/opt/liblgoMesa0651/lib/32bit/libl > goMesaGLm.a(glapi_x86.o): In function `mglNewList': > glapi_x86.o(.text+0x21): undefined reference to `_glapi_Dispatch' > > I messed around with this glapi_x86.S assembly module, and changed all > occurences in which `_glapi_Dispatch' was referenced to > _mglapi_Dispatch, and now I can link. Still need to do more testing to > see if it is actually working however. > > So I am not sure as to whether the issue is that _mglapi_Dispatch is > supposed to be the one called when running in mangled mode, or if > _glapi_Dispatch is also supposed to be defined, and it isn't ?
It's suppsed to be _mglapi_Dispatch in mangled mode. Maybe you can run 'nm' on the .o files to see which one is getting _glap_Dispatch. -Brain ------------------------------------------------------------------------- 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
