[Mesa-dev] Problem building current git with osmesa and no gallium

Alexander Neundorf neundorf at kde.org
Thu Mar 10 13:17:04 PST 2011


I'm trying to build current git mesa with under Linux, 32bit, gcc 4.2.3 with 
the following configure-call:
./configure --with-driver=osmesa --enable-static --disable-gallium --disable-egl --disable-glu

This runs, but then the build fails:
hammer:~/src/packages/Mesa-git$ make
make[1]: Entering directory `/home/alex/src/packages/Mesa-git/src'
Making sources for autoconf
gmake[2]: Entering directory `/home/alex/src/packages/Mesa-git/src/mapi/glapi'
gmake[2]: Nothing to be done for `default'.
gmake[2]: Leaving directory `/home/alex/src/packages/Mesa-git/src/mapi/glapi'
gmake[2]: Entering directory `/home/alex/src/packages/Mesa-git/src/glsl'
flex --nounistd -oglcpp/glcpp-lex.c  glcpp/glcpp-lex.l
glcpp/glcpp-lex.l:59: unrecognized %option: extra-type
gmake[2]: *** No rule to make target `depend', needed by `default'.  Stop.
gmake[2]: Leaving directory `/home/alex/src/packages/Mesa-git/src/glsl'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/alex/src/packages/Mesa-git/src'
make: *** [default] Error 1

While at it (sorry for newbie questions), do I need gallium (maybe swrast) 
when I want only osmesa rendering into a software buffer ?


More information about the mesa-dev mailing list