[gst-devel] Installation error

Clark, Rob rob at ti.com
Sun Feb 21 03:16:08 CET 2010


On Feb 20, 2010, at 5:54 PM, Clark, Rob wrote:

> 
> On Dec 11, 2009, at 3:33 PM, Stefan Kost wrote:
> 
>> Am 10.12.2009 16:38, schrieb Mailing List SVR:
>>> In data giovedì 10 dicembre 2009 14:34:06, Mailing List SVR ha scritto:
>>> : > Hi,
>>>> 
>>>> I'm experiencing this installation error:
>>>> 
[snip]
>>>> 
>>>> root at beagleboard:~/gstreamer/gstreamer-0.10.25# make
>>>> Making all in pkgconfig
>>>> Making all in gst
>>>> Making all in parse
>>>> CC    lex._gst_parse_yy.o
>>>> ./grammar.y: conflicts: 37 shift/reduce, 5 reduce/reduce
>>> 
>>> the file grammar.tab.c is not created why?
>>> 
>>> 
>>>> make[4]: *** [grammar.tab.c] Error 141
>>>> make[3]: *** [all-recursive] Error 1
>>>> make[2]: *** [all] Error 2
>>>> make[1]: *** [all-recursive] Error 1
>>>> make: *** [all] Error 2
>>>> 
>>>> I'm building on arm
>>>> 
>>>> what's wrong?
>>>> 
>> 
>> what versions of bison and flex do you have, are they sufficiently up to date
>> and working?
>> 
>> ensonic at hoshi:~:> bison --version
>> bison (GNU Bison) 2.3
>> ensonic at hoshi:~:> flex --version
>> flex 2.5.35
> 
> 
> fwiw, I get the exact same error building on ARM..
> 
> on my desktop (where I have flex v2.5.35), it builds fine.  So I'm not entirely sure if it is about flex version, or some problem w/ flex/bison on ARM?
> 
> 
> 
> ai at TouchBook:~/src/gstreamer$ bison --version
> bison (GNU Bison) 2.3
> ai at TouchBook:~/src/gstreamer$ flex --version
> flex 2.5.31
> 



interesting thing is that I get the same grammar.output in both cases.. but when I build on ARM I get no grammar.tab.c..

comparing the output from

  strace /usr/bin/bison -d -v -p_gst_parse_yy ./grammar.y

on desktop and on ARM, it looks like bison is forking off some process, and this child dies on ARM..  (forking off an m4 process, perhaps??)


---------
open("/usr/share/bison/m4sugar/m4sugar.m4", O_RDONLY) = 3
close(3)                                = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
pipe([3, 4])                            = 0
pipe([5, 6])                            = 0
vfork()                                 = 18281
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
close(6)                                = 0
fcntl64(4, F_GETFL)                     = 0x1 (flags O_WRONLY)
fstat64(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
_llseek(4, 0, 0xbe8b8a08, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(4, "m4_init()\nm4_define([b4_actions]"..., 4096) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++








More information about the gstreamer-devel mailing list