fork: can't reserve memory for stack
Benoit Mangez <[email protected]> Wed, 29 Sep 2010 12:48:03 +0200
| Newsgroups | gmane.comp.gnu.mingw.msys |
|---|---|
| Message-ID | <[email protected]> |
Hello all,
I'm new to msys/mingw and I got some issues while trying to compile under
WinXP64.
I've an Ant script to compile native libraries and use them in a java
program.
I got the following message (ant output) :
[echo] executing: ../../../configure --prefix=/c/msys/local
[exec] C:\msys\1.0\bin\sh.exe: *** fork: can't reserve memory for stack
0x4D0000 - 0x6D0000, Win32 error 0
[exec] 0 [main] sh 3964 sync_with_child: child 4268(0x25C) died
before initialization with status code 0x1
[exec] 54763 [main] sh 3964 sync_with_child: *** child state waiting
for longjmp
[exec] ../../../configure: fork: Resource temporarily unavailable
My configuration :
- msysCORE-1.0.15-1
- mingw-w64-v1.0-20100604
- winXP pro x64 SP2
According the following page :
http://omgili.com/mailinglist/cygwin/cygwin/com/4A378E841080605gmxnet.html
I tried to run rebaseall and peflagsall in dash, but I had a similar issue :
/bin/rebaseall
C:\msys\1.0\bin\dash.exe: *** fork: can't reserve memory for stack 0x420000
- 0x620000, Win32 error 0
/bin/peflagsall
C:\msys\1.0\bin\dash.exe: *** fork: can't reserve memory for stack 0x420000
- 0x620000, Win32 error 0
I also try to run msys using cmd-32 bits (according a workaround to a
similar issue :
http://wiki.mozilla-x86-64.com/MSYS_and_Cygwin_on_x64_%28AMD64%29)
but it didn't solve my problem: I still have exactly the same message.
Any help would be very appreciated.
Ben.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mingw-msys mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-msys