[Paraview] Re: [Mesa3d-users] problem with mangled symbols on mesa 6.1

Brian Paul brian.paul at tungstengraphics.com
Mon Sep 13 10:40:17 EDT 2004


Michael Dussere wrote:
> Brian Paul wrote:
> 
>> Michael Dussere wrote:
>>
>>> Hi,
>>>
>>> I'm using mangled mesa for doing some offscreen rendering in VTK and 
>>> Paraview.
>>> Lately I tryed to change my Mesa 5.0.2 for Mesa 6.0.
>>> I compile with linux-static and USE_MGL_NAMESPACE.
>>>
>>> The problem is that the static libraries that I get contain the 
>>> "mangled" symbols (for instance mgl__unused413) but also references 
>>> on undefined "regular" symbols (gl__unused413). On my 5.0.2 libs the 
>>> undefined "regular" symbols don't appear. For the moment I will 
>>> continue with Mesa 5.0.2 ...
>>
>>
>>
>> Two things:
>>
>> 1. I think I've fixed one problem related to USE_MGL_NAMESPACE and an 
>> undefined reference to mgl__unused413.  It's in CVS.
> 
>  >
> 
>> 2. Are you sure you compiled from scratch and didn't have any 
>> left-over .o files lying around?
>>
>> -Brian
>>
> 
> I'm sure that I have no left-over .o but maybe I'm too confident in the 
> 'make clean' command.
> 
> Anyway, after a closer look in the symbols the only critical 'gl' symbol 
> seems to be gl__unused413. But you say the undefined reference you got 
> was mgl__unused413 while in my case mgl__unused413 is well defined.
> 
> # nm lib/* | grep "gl__unused413"
> 00004b40 T mgl__unused413
>          U gl__unused413
> 

Have you tried the CVS code?

-Brian



More information about the ParaView mailing list