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

Brian Paul brianp at vmware.com
Tue Jan 31 06:30:35 PST 2012


On 01/31/2012 07:12 AM, Brian Paul 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...

Bisecting isn't working too well.  Compilation fails at intermediate 
steps with:

gmake[2]: Entering directory `/home/brian/mesa/src/glsl'
g++ -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp  -fPIC 
-D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_XSHM 
-DHAVE_MINCORE -DHAVE_LIBUDEV -D__STDC_CONSTANT_MACROS 
-DHAVE_LLVM=0x0300  -DFEATURE_GL=1 -fvisibility=hidden   -c -o 
glsl_lexer.o glsl_lexer.cc
In file included from glsl_parser_extras.h:35:0,
                  from ast.h:30,
                  from glsl_lexer.ll:27:
glsl_symbol_table.h:32:34: fatal error: program/symbol_table.h: No 
such file or directory
compilation terminated.
gmake[2]: *** [glsl_lexer.o] Error 1


Grrr.

-Brian


More information about the mesa-dev mailing list