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 -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page