Hi,

When I try to build 32 bit Mesa on Arch Linux, I get the following error:

/usr/bin/mkdir -p ../../src/glsl/glcpp
/usr/bin/mkdir -p ../../src/glsl/glcpp
  YACC     glcpp/glcpp-parse.c
  LEX      glsl_lexer.cpp
  YACC     glsl_parser.cpp
  LEX      glcpp/glcpp-lex.c
make  all-recursive
make[3]: Entering directory `/home/user/src/mesa/src/glsl'
Making all in builtin_compiler
make[4]: Entering directory `/home/user/src/mesa/src/glsl/builtin_compiler'
  CXX      glsl_parser.lo
  CXX      glsl_lexer.lo
  CXX      ast_array_index.lo
  CXX      ast_expr.lo
glsl_parser.cpp: In function 'int
_mesa_glsl_parse(_mesa_glsl_parse_state*)':
glsl_parser.cpp:2616:41: error: 'scanner' was not declared in this scope

This error happens even if I try building at a commit 4 weeks ago. I'm sure
I was able to get Mesa to build atleast 1-2 weeks ago. I'm not sure if this
is a recent bug introduced in Mesa code, or if it's because of some other
software like bison/lex being buggy.

glsl_parser.cpp doesn't seem to be part of the source code, I'm guessing
it's automatically generated from glsl_parser.yy as part of the build
process. Any ideas on how I can resolve this problem?

-Sandeep
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to