Hush 1.6.0 fork problem on non MMU
Martinb_ARM_NOMMU_KISSDVD
martinb at zeelandnet.nl
Mon Jun 4 21:14:37 UTC 2007
FYI
Sorry to bug you again but somehow i get:
/hdd/newscript # ./test2
hush: fork: Function not implemented
when I run the 1.6.0 hush
I do compile with the following options
make ARCH=arm CROSS_COMPILE=arm-uclinux-elf-
EXTRA_CFLAGS="-D__uClinux__ -DBB_NOMMU" LDFLAGS="-Wl,-elf2flt" install
and if i look it the source of hush.c (but i have no idea what im doing)
then the "if then" looks ok
so somehow busybox thinks BB_MMU is set, but it was not me
I think the problem is inside platform.h
if I replace the 3 forks with vfork then hush is running ok (for scripting,
not for telnet shell, see older message)
and I also can tell that finally the script:
#!./hush
PCLINK=`cut -d = -f3 /tmp/stage2.tmp`
echo pclink=$PCLINK
is working on my system, thanks
More information about the busybox
mailing list