[blfs-dev] GSteamer-0.10.36 and bison-3.0

Bruce Dubbs bruce.dubbs at gmail.com
Fri Aug 23 12:04:35 PDT 2013


John Burrell wrote:
> I get a similar error to that with GStreamer-1.0.9 -
>
>    GEN    grammar.tab.c
> ./grammar.y: warning: 37 shift/reduce conflicts [-Wconflicts-sr]
> ./grammar.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
>    CC     libgstparse_la-grammar.tab.lo
> grammar.tab.c: In function 'priv_gst_parse_yyparse':
> grammar.tab.c:1800:7: error: too few arguments to function 'priv_gst_parse_yylex
> '
>     if (yychar == YYEMPTY)
>         ^
> ./grammar.y:39:5: note: declared here
>   int priv_gst_parse_yylex (void * yylval_param , yyscan_t yyscanner);
>       ^
> make[4]: *** [libgstparse_la-grammar.tab.lo] Error 1
> make[3]: *** [all-recursive] Error 1

You need the current sed:

sed -i  -e '/YYLEX_PARAM/d'                                       \
         -e '/parse-param.*scanner/i %lex-param { void *scanner }' \
     gst/parse/grammar.y

   -- Bruce



More information about the blfs-dev mailing list