[blfs-dev] webkitgtk-2.0.4 and Bison-3.0

John Burrell john_burrell at hotmail.com
Sat Aug 24 09:49:42 PDT 2013

It looks as though Bison-3.0 is causing webkitgtk to fail as well.

After about 2.5 hrs of compilation I got:

DerivedSources/ANGLE/glslang.cpp: In function 'int yylex(YYSTYPE*, yyscan_t)':
DerivedSources/ANGLE/glslang.cpp:157:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define yyleng yyg->yyleng_r
DerivedSources/ANGLE/glslang.cpp:1137:25: note: in expansion of macro 'yyleng'
    for ( yyl = 0; yyl < yyleng; ++yyl )
DerivedSources/ANGLE/glslang.cpp: In function 'yy_buffer_state* yy_scan_bytes(const char*, yy_size_t, yyscan_t)':
DerivedSources/ANGLE/glslang.cpp:2543:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for ( i = 0; i < _yybytes_len; ++i )
DerivedSources/ANGLE/glslang_tab.cpp: In function 'int yyparse(TParseContext*)':
DerivedSources/ANGLE/glslang_tab.cpp:1785:30: error: too few arguments to function 'int yylex(YYSTYPE*, void*)'
       yychar = yylex (&yylval);
DerivedSources/ANGLE/glslang_tab.cpp:279:12: note: declared here
 extern int yylex(YYSTYPE* yylval_param, void* yyscanner);
make[1]: *** [DerivedSources/ANGLE/libWebCore_la-glslang_tab.lo] Error 1
make: *** [all] Error 2

Similar error to that with GStreamer I think.

According to

"It can be fixed by editing line 1786 in DerivedSources/ANGLE/glslang_tab.cpp

change line 1786 from:

yychar = yylex (&yyval);


void* somevariablex;

yychar = yylex (&yyval, somevariablex);"

But I haven't tried that yet. The thought of waiting another 2.5 hrs to find out is a little daunting.


More information about the blfs-dev mailing list