[Mesa-dev] Error building Mesa 32 bit version on Arch Linux

Sandeep sandy.8925 at gmail.com
Sat Jul 27 18:03:44 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130727/75e0a14a/attachment.html>


More information about the mesa-dev mailing list