On Mon, Mar 9, 2009 at 4:01 PM, Michael Unterkalmsteiner <[email protected]> wrote: > Hi, > I'd like to build a toolchain for mips with nommu (using buildroot-2009.02 and > uClibc-0.9.30). I get the following error: > > [...] > CC libc/stdio/tmpnam.o > CC libc/stdio/tmpnam_r.o > CC libc/stdio/popen.o > libc/stdio/popen.c:45: error: 'fork' undeclared here (not in a function) > libc/stdio/popen.c:45: warning: type defaults to 'int' in declaration of > 'fork' > libc/stdio/popen.c: In function 'popen': > libc/stdio/popen.c:100: error: called object 'fork' is not a function > [...] > > The problematic part in popen.c is: > > [...] > /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
You should check if you are using right kernel headers while building uclibc. Thx -Khem _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
