[Mesa-dev] build fails with current git

Andy Furniss andyqos at ukfsn.org
Thu Mar 3 03:44:53 PST 2011


Andy Furniss wrote:
> I am getting a build fail today -
>
> mklib: Making Linux static library: libglapi.a
> ar: creating libglapi.a
> make[2]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src/mapi/glapi'
> make[2]: Entering directory `/home/andy/Src/Mesa-git/mesa/src/glsl'
> flex --nounistd -oglcpp/glcpp-lex.c glcpp/glcpp-lex.l
> bison -v -o "glcpp/glcpp-parse.c" --defines=glcpp/glcpp-parse.h
> glcpp/glcpp-parse.y
> flex --nounistd -oglsl_lexer.cpp glsl_lexer.ll
> bison -v -o "glsl_parser.cpp" -p "_mesa_glsl_" --defines=glsl_parser.h
> glsl_parser.yy
> glcpp/glcpp-lex.l:55: unrecognized %option: extra-type
> glsl_lexer.ll:86: unrecognized %option: extra-type
> glsl_parser.yy: conflicts: 1 shift/reduce
> make[2]: *** No rule to make target `depend', needed by `default'. Stop.
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src/glsl'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src'
> make: *** [default] Error 1

Updating flex fixed it - though I also had to re-clone as make distclean 
wasn't enough to get rid of a link error.

r600_dri.so.tmp: undefined reference to `yylex_init_extra'


More information about the mesa-dev mailing list