John Burrell | 23 Aug 20:53 2013
Picon

GSteamer-0.10.36 and bison-3.0

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
make[3]: Leaving directory `/usr/src/multimedia/gstreamer0/gstreamer-0.10.36/gst
'
make[2]: *** [all] Error 2

jb. 		 	   		  
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Bruce Dubbs | 23 Aug 21:04 2013
Picon

Re: GSteamer-0.10.36 and bison-3.0

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

(Continue reading)

John Burrell | 23 Aug 21:29 2013
Picon

Re: GSteamer-0.10.36 and bison-3.0

----------------------------------------
> Date: Fri, 23 Aug 2013 14:04:35 -0500
> From: bruce.dubbs <at> gmail.com
> To: blfs-dev <at> linuxfromscratch.org
> Subject: Re: [blfs-dev] GSteamer-0.10.36 and bison-3.0

>
> You need the current sed:
>
> sed -i -e '/YYLEX_PARAM/d' \
> -e '/parse-param.*scanner/i %lex-param { void *scanner }' \
> gst/parse/grammar.y
>
Thanks - that fixed it.

jb. 		 	   		  
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Gmane