[opkg] "fork(): not implemented on no-mmu systems"

Gilles codecomplete at free.fr
Sat Apr 9 08:15:39 UTC 2011


Hello

	After cross-compiling opkg for a non-MMU CPU, the linker displays
the following warning:

==============
...
LINK  opkg-cl

../libopkg/.libs/libopkg.so: warning: fork: this function is not
implemented on no-mmu systems

Making all in tests

  CC    libopkg_test.o

  LINK  libopkg_test


../libopkg/.libs/libopkg.a(libbb_la-gz_open.o): In function `gz_open':

/tmp/opkg-576/libbb/gz_open.c:47: warning: fork: this function is not
implemented on no-mmu systems
==============

I'm told that this means that calling fork() will fail, but the
importance of this call depends on how the source code works (I guess
that means whether replacing this with vfork() is either very simple
or would require a significant rewrite):

http://docs.blackfin.uclinux.org/doku.php?id=living_without_forks
http://docs.blackfin.uclinux.org/doku.php?id=porting_applications

Does someone know more about this issue when cross-compiling opkg?

Thank you.



More information about the busybox mailing list