[Mesa-dev] OSMesa glapi linlking

Eric Anholt eric at anholt.net
Tue Jan 31 09:36:40 PST 2012


On Tue, 31 Jan 2012 10:50:51 -0500, "Kevin H. Hobbs" <hobbsk at ohio.edu> wrote:
> On 01/31/2012 09:53 AM, Brian Paul wrote:
> > 
> > Kevin,
> > 
> > I just pushed a couple osmesa fixes to master and the 8.0 branch.  Can 
> > you give it a try?
> > 
> > Thinks seem to fix things on the 8.0 branch but I'm unable to verify 
> > on master due to some other regressions ATM.
> > 
> > -Brian
> > 
> 
> [kevin at bubbles mesa]$ git branch
> * 8.0
>   master
> [kevin at bubbles mesa]$ make
> make[1]: Entering directory `/home/kevin/mesa/src'
> Making sources for autoconf
> gmake[2]: Entering directory `/home/kevin/mesa/src/mapi/glapi'
> gmake[2]: Nothing to be done for `default'.
> gmake[2]: Leaving directory `/home/kevin/mesa/src/mapi/glapi'
> gmake[2]: Entering directory `/home/kevin/mesa/src/glsl'
> g++ -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp  -fPIC
> -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DHAVE_MINCORE
> -DHAVE_LIBUDEV -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0208
> -DFEATURE_GL=1 -fvisibility=hidden   -c -o glsl_lexer.o glsl_lexer.cc
> In file included from glsl_parser_extras.h:35:0,
>                  from ast.h:30,
>                  from glsl_lexer.ll:27:
> glsl_symbol_table.h:32:34: fatal error: program/symbol_table.h: No such
> file or directory
> compilation terminated.
> gmake[2]: *** [glsl_lexer.o] Error 1
> gmake[2]: Leaving directory `/home/kevin/mesa/src/glsl'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/home/kevin/mesa/src'
> make: *** [default] Error 1

I found this was due to the old build system picking up the new build
system's generated glsl_lexer.cc that was left in my tree, even though
the old build system doesn't mention that file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120131/51518231/attachment.pgp>


More information about the mesa-dev mailing list