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

$ 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@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
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to