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

Laurent Carlier lordheavym at gmail.com
Mon Jul 29 00:23:14 PDT 2013


Le samedi 27 juillet 2013 18:03:44 Sandeep a écrit :
> 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

Because now ArchLinux uses bison 3.0 in testing

https://bugs.freedesktop.org/show_bug.cgi?id=67354

-- 
Laurent Carlier
ArchLinux Developer
http://www.archlinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130729/c2c5ee79/attachment-0001.pgp>


More information about the mesa-dev mailing list