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

Bruno Jacquet maxijac at free.fr
Mon Jul 29 00:11:05 PDT 2013


Hi, check this out:
https://bugs.freedesktop.org/show_bug.cgi?id=67398

A solution is to downgrade to bison 2.7.

-- 
Bruno

----- Mail original -----
De: "Sandeep" <sandy.8925 at gmail.com>
À: mesa-dev at lists.freedesktop.org
Envoyé: Dimanche 28 Juillet 2013 03:03:44
Objet: [Mesa-dev] Error building Mesa 32 bit version on Arch Linux



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 at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list