On Wed, Jan 25, 2012 at 11:40 AM, Kevin H. Hobbs <[email protected]> wrote:
> My build of OSMesa from git is failing:
>
> ./autogen.sh \
>  --prefix=/home/kevin/mesa_osmesa/ \
>  --disable-dri \
>  --disable-glx \
>  --enable-osmesa

Unrelated (related to another thread recently) but, did you mean to
build Gallium (and whatever drivers configure determined your system
could build)? If you didn't want Gallium, you should use
--with-gallium-drivers=""

> /bin/sh ../../../../bin/mklib -o OSMesa -linker 'g++' -ldflags '' \
>        -major 8 -minor 0 -patch 0 \
>        -install ../../../../lib -cplusplus  \
>        -id /home/kevin/mesa_osmesa/lib/libOSMesa.8.dylib \
>        -L../../../../lib -lglapi -L../../../../lib  -lm -lpthread  -ldl
> osmesa.o ../../../../src/mesa/libmesa.a
> ../../../../src/mapi/glapi/libglapi.a ../../../../src/glsl/libglsl.a
> mklib: Making Linux shared library:  libOSMesa.so.8.0.0
> /usr/bin/ld: cannot find -lglapi

What git hash did you use? I can't reproduce this.

As with most Mesa build errors, you should do a `make clean` or `git
clean -dfx`.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to