libc/sysdeps/linux/common/vfork.c:13: error: `fork' undeclared here (not in a function)

Matt Williams williams.mjw at gmail.com
Thu Jun 15 16:35:00 UTC 2006


Hello,
     Anyone ever seen this error. I know what it means, but I'm not sure how
to fix it.  I'm trying to compile the lastest snapshot of buildroot.

Current kernel version is 2.4.31

Using kernel headers from 2.4.31 for architecture 'mips'
        provided in directory
/usr/src/hmm2/buildroot/toolchain_build_mipsel/linux/

  CC libc/sysdeps/linux/common/vfork.os
libc/sysdeps/linux/common/vfork.c:13: error: `fork' undeclared here (not in
a function)
libc/sysdeps/linux/common/vfork.c:13: warning: type defaults to `int' in
declaration of `fork'
libc/sysdeps/linux/common/vfork.c: In function `__vfork':
libc/sysdeps/linux/common/vfork.c:18: error: called object is not a function
make[2]: *** [libc/sysdeps/linux/common/vfork.os] Error 1
make[1]: *** [lib/libc.so.0] Error 2
make[1]: Leaving directory
`/usr/src/hmm2/buildroot/toolchain_build_mipsel/uClibc'
make: *** [/usr/src/hmm2/buildroot/toolchain_build_mipsel/uClibc/lib/libc.a]
Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20060615/7a9ecac8/attachment-0001.htm 


More information about the uClibc mailing list