On Tue, Jan 31, 2012 at 9:32 AM, Matt Turner <matts...@gmail.com> wrote: > On Tue, Jan 31, 2012 at 2:12 PM, Brian Paul <bri...@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
diff --git a/configure.ac b/configure.ac index 8af2456..0e03af7 100644 --- a/configure.ac +++ b/configure.ac @@ -401,6 +401,7 @@ GLESv1_CM_LIB_NAME='lib$(GLESv1_CM_LIB).'${LIB_EXTENSION} GLESv2_LIB_NAME='lib$(GLESv2_LIB).'${LIB_EXTENSION} VG_LIB_NAME='lib$(VG_LIB).'${LIB_EXTENSION} GLAPI_LIB_NAME='lib$(GLAPI_LIB).'${LIB_EXTENSION} +GLSL_LIB_NAME='libglsl.'${LIB_EXTENSION} GL_LIB_GLOB=${LIB_PREFIX_GLOB}'$(GL_LIB)'${LIB_VERSION_SEPARATOR}'*'${LIB_EXTENSION}'*' GLU_LIB_GLOB=${LIB_PREFIX_GLOB}'$(GLU_LIB)'${LIB_VERSION_SEPARATOR}'*'${LIB_EXTENSION}'*' @@ -420,6 +421,7 @@ AC_SUBST([GLESv1_CM_LIB_NAME]) AC_SUBST([GLESv2_LIB_NAME]) AC_SUBST([VG_LIB_NAME]) AC_SUBST([GLAPI_LIB_NAME]) +AC_SUBST([GLSL_LIB_NAME]) AC_SUBST([GL_LIB_GLOB]) AC_SUBST([GLU_LIB_GLOB]) diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak index 0768890..aadbf41 100644 --- a/src/mesa/sources.mak +++ b/src/mesa/sources.mak @@ -368,7 +368,7 @@ COMMON_DRIVER_OBJECTS = $(COMMON_DRIVER_SOURCES:.c=.o) ### Other archives/libraries GLSL_LIBS = \ - $(TOP)/src/glsl/libglsl.la + $(TOP)/src/glsl/.libs/$(GLSL_LIB_NAME) ### Include directories
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev