[gst-devel] Installation error

Clark, Rob rob at ti.com
Sun Feb 21 03:30:54 CET 2010


On Feb 20, 2010, at 8:16 PM, Clark, Rob wrote:

> 
> On Feb 20, 2010, at 5:54 PM, Clark, Rob wrote:
> 
> 
> 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 +++
> 
> 


ahh, looks like a problem in angstrom...  strace -f tells me:

[pid 19028] execve("/OE/angstrom-dev/staging/x86_64-linux/usr/bin/m4", ["/OE/angstrom-dev/staging/x86_64-"..., "/usr/share/bison/m4sugar/m4sugar"..., "-", "/usr/share/bison/yacc.c"], [/* 19 vars */]) = -1 ENOENT (No such file or directory)


so bison is trying to execute m4 from the path where it was on the host computer where bison was cross-compiled.. rather than /usr/bin/m4..

some symlink hackery gets me past this..

BR,
-R









More information about the gstreamer-devel mailing list