This is the mail archive of the
cygwin
mailing list for the Cygwin project.
g++ build error, collect2, forked process died unexpectedly
- From: KG <circuitsman at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 22 Feb 2013 14:52:51 -0500
- Subject: g++ build error, collect2, forked process died unexpectedly
Hello All,
I recently installed Netbeans and Cygwin on my Windows 7 64-bit
laptop. To test that everything was working fine I tried to build &
run one of the example projects in Netbeans but I always get the same
error messages. Below is what gets reported in the output window...
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory
`/cygdrive/c/Users/kgoodspe/Documents/NetBeansProjects/Welcome_2'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk
dist/Debug/Cygwin_4.x-Windows/welcome_2.exe
make[2]: Entering directory
`/cygdrive/c/Users/kgoodspe/Documents/NetBeansProjects/Welcome_2'
mkdir -p dist/Debug/Cygwin_4.x-Windows
g++ -o dist/Debug/Cygwin_4.x-Windows/welcome_2
build/Debug/Cygwin_4.x-Windows/welcome.o
0 [main] collect2 4596 fork: child -1 - forked process 6224 died
unexpectedly, retry 0, exit code -1073741515, errno 11
1027780 [main] collect2 4596 fork: child -1 - forked process 2044 died
unexpectedly, retry 0, exit code -1073741515, errno 11
3051544 [main] collect2 4596 fork: child -1 - forked process 6616 died
unexpectedly, retry 0, exit code -1073741515, errno 11
7079618 [main] collect2 4596 fork: child -1 - forked process 6632 died
unexpectedly, retry 0, exit code -1073741515, errno 11
collect2: vfork: Resource temporarily unavailable
nbproject/Makefile-Debug.mk:62: recipe for target
`dist/Debug/Cygwin_4.x-Windows/welcome_2.exe' failed
make[2]: *** [dist/Debug/Cygwin_4.x-Windows/welcome_2.exe] Error 1
make[2]: Leaving directory
`/cygdrive/c/Users/kgoodspe/Documents/NetBeansProjects/Welcome_2'
nbproject/Makefile-Debug.mk:59: recipe for target `.build-conf' failed
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory
`/cygdrive/c/Users/kgoodspe/Documents/NetBeansProjects/Welcome_2'
nbproject/Makefile-impl.mk:39: recipe for target `.build-impl' failed
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 37s)
I found and read the FAQ,
http://cygwin.com/faq-nochunks.html#faq.using.fixing-fork-failures,
but this particular fork error isn't in the bulleted list and the only
program listed in the BLODA
(http://cygwin.com/faq-nochunks.html#faq.using.bloda) I have installed
is Windows Defender which as far as I know isn't running. I may have
had Google desktop installed at one point, but not anymore. I tried
running rebaseall and peflagsall and the error still persists. Any
ideas what the issue could be? Maybe some other program I have
installed is causing this error?
As a test I installed Netbeans and Cygwin in XP Mode and in there the
example project builds and runs just fine.
Thanks for any help you guys/gals can give.
- Kevin
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple