[Mesa-dev] breakage from "Make shared-glapi the default"
Ian Romanick
idr at freedesktop.org
Thu Aug 9 09:55:23 PDT 2012
On 08/09/2012 08:09 AM, Brian Paul wrote:
> As of commit 9f7b3d171306ed2ae588e1a4145c5a364cf986ff, when I try to
> configure and build with:
>
> $ CFLAGS=-g ./autogen.sh --enable-xlib-glx --with-x
> --disable-driglx-direct --disable-dri --enable-debug --enable-gles1
> --enable-gles2 --enable-openvg --enable-gallium-egl --enable-xa
> --enable-xorg
configure should probably disable shared-glapi when DRI is not used
since it doesn't make any sense in that case. I overlooked that case.
:( Maybe Matt can fix that...
> $ make
> [...]
>
> gmake[5]: Entering directory
> `/home/brian/projects/Mesa-llvm/mesa/src/mesa/drivers/x11'
> CCLD libGL.la
> /usr/bin/ld: cannot find -l-Wl,-soname
> /usr/bin/ld: cannot find libGL.so.1: No such file or directory
> collect2: ld returned 1 exit status
> gmake[5]: *** [libGL.la] Error 1
>
>
> In src/mesa/drivers/x11/Makefile.am, commenting out these lines:
>
> if HAVE_SHARED_GLAPI
> lib at GL_LIB@_la_LDFLAGS += -L$(top_builddir)/$(LIB_DIR) -l$(GLAPI_LIB)
> endif
>
> fixes the compilation issue but at runtime there's an undefined symbol:
>
> $ ./gears
> ./gears: symbol lookup error:
> /home/brian/projects/Mesa-llvm/mesa/lib/libGL.so.1: undefined symbol:
> _glapi_Dispatch
>
> Can someone take a look at this please?
>
> -Brian
>
More information about the mesa-dev
mailing list