[Mesa-dev] undefined C++ GLSL symbol error

Brian Paul brianp at vmware.com
Tue Jan 31 08:36:21 PST 2012


On 01/31/2012 08:32 AM, Matt Turner wrote:
> On Tue, Jan 31, 2012 at 9:32 AM, Matt Turner<mattst88 at gmail.com>  wrote:
>> On Tue, Jan 31, 2012 at 2:12 PM, Brian Paul<brianp at vmware.com>  wrote:
>>> I just ran into this problem this morning.
>>>
>>> make realclean
>>> ./autogen.sh
>>> ./configure --disable-dri --enable-xlib-glx --enable-osmesa --enable-debug
>>> make
>>>
>>> The build appears to go fine, but when I try to run any GL app I get:
>>>
>>> glxinfo: symbol lookup error: /home/brian/mesa/lib/libGL.so.1: undefined
>>> symbol: _ZN23ir_hierarchical_visitor5visitEP11ir_variable
>>>
>>> I haven't bisected yet to see if one of the recent GLSL changes is
>>> responsible...
>>>
>>> -Brian
>>
>> I can reproduce. I'll take a look.
>>
>> Thanks,
>> Matt
>
> Does this patch fix it for you?
>
> Matt

$ make>log
ar: creating libglapi.a
ar: creating libmesa.a
ar: libmesa.a: Error reading ../../src/glsl/.libs/: Is a directory
ar: creating libmesagallium.a
ar: libmesagallium.a: Error reading ../../src/glsl/.libs/: Is a directory
ar: creating libegl_glx.a
ar: creating libgallium.a

The build completes, but when I try to run anything:

glxinfo: symbol lookup error: /home/brian/mesa/lib/libGL.so.1: 
undefined symbol: _tnl_run_pipeline

And with lib/gallium/libGL:

glxinfo: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: 
undefined symbol: st_gl_api_create

I started with make realclean, ./autogen.sh, etc.

-Brian


More information about the mesa-dev mailing list