Re: Fwd: Mangled Mesa compile failure

Li Zhou <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <166551096.43655.1335185661413.JavaMail.mail@webmail16>
Dear Mr. Patel:

Your configure is different with mine. my configure doesn't have osmesa enabled.  when you enable osmesa,mangled mesa can be built since version 6.5.

Regards,
Li Zhou


Apr 23, 2012 08:19:52 AM, [email protected] wrote:

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 -j4gmake 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.