This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Cannot fork: Resource temporarily unavailable


> I am trying to rebuild the Cygwin tools under W98 and keep getting this
> error message when running make:
>
> Cannot fork: Resource temporarily unavailable.
> Despite rebooting the machine and ensuring that sufficient swap space is
> available this continues to recur.
>
> This is the extract from the make.log
>
> fi
> make[2]: Leaving directory `/obj/i686-pc-cygwin/libiberty'
> make[1]: Leaving directory `/obj/i686-pc-cygwin/libiberty'
> Configuring in i686-pc-cygwin/winsup
> loading cache ../config.cache
> checking host system type... i686-pc-cygwin
> checking target system type... i686-pc-cygwin
> checking build system type... i686-pc-cygwin
> checking for gcc... (cached)  gcc -L/obj/i686-pc-cygwin/winsup
> -L/obj/i686-pc-cygwin/winsup/cygwin
> -L/obj/i686-pc-cygwin/winsup/w32api/lib
> -isystem /src/winsup/include -isystem /src/winsup/cygwin/include -isystem
> /src/winsup/w32api/include -isystem /src/newlib/libc/sys/cygwin -isystem
> /src/newlib/libc/sys/cygwin32 -B/obj/i686-pc-cygwin/newlib/ -isystem
> /obj/i686-pc-cygwin/newlib/targ-include -isystem /src/newlib/libc/include
> checking whether we are using GNU C... (cached) yes
> checking whether  gcc -L/obj/i686-pc-cygwin/winsup
> -L/obj/i686-pc-cygwin/winsup/cygwin
> -L/obj/i686-pc-cygwin/winsup/w32api/lib
> -isystem /src/winsup/include -isystem /src/winsup/cygwin/include -isystem
> /src/winsup/w32api/include -isystem /src/newlib/libc/sys/cygwin -isystem
> /src/newlib/libc/sys/cygwin32 -B/obj/i686-pc-cygwin/newlib/ -isystem
> /obj/i686-pc-cygwin/newlib/targ-include -isystem /src/newlib/libc/include
> accepts -g... (cached) yes
> checking for g++...  c++ -L/obj/i686-pc-cygwin/winsup
> -L/obj/i686-pc-cygwin/winsup/cygwin
> -L/obj/i686-pc-cygwin/winsup/w32api/lib
> -isystem /src/winsup/include -isystem /src/winsup/cygwin/include -isystem
> /src/winsup/w32api/include -isystem /src/newlib/libc/sys/cygwin -isystem
> /src/newlib/libc/sys/cygwin32 -B/obj/i686-pc-cygwin/newlib/ -isystem
> /obj/i686-pc-cygwin/newlib/targ-include -isystem /src/newlib/libc/include
> checking whether make sets ${MAKE}... (cached) yes
> updating cache ../config.cache
> creating ./config.status
> /src/winsup/configure: Cannot fork: Resource temporarily unavailable
> /src/winsup/configure: Cannot fork: Resource temporarily unavailable
> make: *** [configure-target-winsup] Error 1
>
> Can anyone offer me any advice.
> Thanks.

This may happen because you have some other process which is opening the
process handle for new processes (such as a virus checker) but not closing
it. Try closing all running programs and then compiling again. Remember that
on Windows 98 not all processes show up in task manager so you will need
some other kind of process explorer to close them or remove them from the
RunServices registry key. Please report back and tell us if this solves the
problem or not.

Chris


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]