Re: Fwd: Mangled Mesa compile failure
Viral Patel <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CAB1J43J0pEU86rZ=mA0QXsKF3QAPPN=sVR1ONJwJmxKubkSBrg@mail.gmail.com> |
I recently updated our mangled Mesa build on Linux for 7.11.2, and I hit no real problems with glX. This is what I did: *CXXFLAGS="-DUSE_MGL_NAMESPACE" \* *CFLAGS="-DUSE_MGL_NAMESPACE" \* *./configure \* * --prefix `pwd`/build/Linux64 \* * --enable-debug=no \* * --disable-driglx-direct \* * --enable-gl-osmesa=yes \* * --disable-glw \* * --disable-glut \* * --with-driver=xlib \* * --with-dri-drivers= \* * --with-osmesa-bits=32 \* * --with-gallium-drivers= \* * --disable-egl \* * --enable-64-bit* * * *gmake -j4* *gmake install* I did notice that with 7.11.2 both OSMesa and libGL contain gl* symbols, where as our older 7.7.1 build linked OSMesa against libGL and we avoided the duplication. I do recall trying --enable-shared and rejected that route for a reason I don't recall. On windows the situation is completely different I have still to get a fully working version of mangled mesa version - I am almost there but it has been non-trivial to first get a building version of mesa and next ensure the symbols are mangled. Once I have something ready I will probably post some info so others can avoid the headache. I hope this helps, Viral On 23 April 2012 12:42, Li Zhou <[email protected]> wrote: > > > > ------------Forwarded message------------ > From: [email protected] > Date: Apr 22, 2012 05:05:24 AM > Subject: Mangled Mesa compile failure > To: [email protected] > > Hello there: > > I could not compile mesa with > > ./configure CFLAGS="-DUSE_MGL_NAMESPACE" CXXFLAGS="-DUSE_MGL_NAMESPACE" > --prefix=/home/li/wci.llnl.gov/codes/visit/2.0.0/visit2.0.0/3rdparty--without-demos --disable-gallium --disable-glw --disable-glu --disable-egl > --enable-shared --disable-static > > make always fails at glxcmds.c with error messages like these: > > glxcmds.c:1413: error: ‘glXGetCurrentDisplayEXT’ aliased to undefined > symbol ‘glXGetCurrentDisplay’ > glxcmds.c:1581: error: ‘glXQueryContextInfoEXT’ aliased to undefined > symbol ‘glXQueryContext’ > glxcmds.c:1925: error: ‘glXGetFBConfigAttribSGIX’ aliased to undefined > symbol ‘glXGetFBConfigAttrib’ > glxcmds.c:1929: error: ‘glXChooseFBConfigSGIX’ aliased to undefined symbol > ‘glXChooseFBConfig’ > glxcmds.c:1934: error: ‘glXGetVisualFromFBConfigSGIX’ aliased to undefined > symbol ‘glXGetVisualFromFBConfig’ > glxcmds.c:2674: error: ‘mglXGetProcAddress’ aliased to undefined symbol > ‘glXGetProcAddressARB’ > > I have tried every mesa release from version 6.0 to the latest 8.0. > > so,anyone one know how to get mangled mesa work? > > attached is a snapshot from debian 6.0 terminal window. > > thanks in advance. > > > > > > _______________________________________________ > mesa-users mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/mesa-users > > _______________________________________________ mesa-users mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-users