problems running busybox's shell with gcc4.7
Stephan Raue
mailinglists at openelec.tv
Fri Mar 23 07:23:19 UTC 2012
Hi all,
i try to update a embedded distro running busybox-1.19.4 to gcc-4.7. i
run busybox in a initramfs to tun my init shell script.
with gcc-4.7 i get errors (and later a kernel panic because this shell
script breaks with errors) in "for...do...done" and "case...in...esac"
loops:
/init: line 48: syntax error: unexpected ")"
or:
/init: line 130: syntax error: unexpected word (expecting "do")
the complete script you will find here:
https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/initramfs/sysutils/busybox-initramfs/scripts/init
what can be the problem here? with gcc-4.6.x it is working
thanks
Stephan
More information about the busybox
mailing list