delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/12/13:03:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,TW_GJ,TW_YG,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Fri, 12 Aug 2011 13:02:41 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: I have a fork error when I compile
Message-ID: <20110812170241.GC29912@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <FDE58382B6F4064892CC79A0FD30D08DEF5142 AT mailserver DOT biap DOT local>
MIME-Version: 1.0
In-Reply-To: <FDE58382B6F4064892CC79A0FD30D08DEF5142@mailserver.biap.local>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Aug 12, 2011 at 11:05:33AM -0400, Michael Young wrote:
>(I don't think my first message went through so I'm trying again)

You don't have to guess.  The email archives are here:

http://cygwin.com/ml/cygwin/current/

>I have a windows 7 Professional 64 bit machine.?  I am trying to
>compile a simple hello world program and am getting fork errors.
>
>I have tried rebaseall, increasing the size of the Windows
>SharedSection in the registry, turning off my virus scanner, and
>changing the gcc and collect2 exectuables to Windows XP compatible
>mode.?  Nothing has solved the problem.
>
>The source code is:
>$ cat hello.c
>#include <stdio.h>
>main()
>{
>printf("hello world\n");
>}
>
>The errors I get are:
>$ gcc hello.c
>collect2: fork: Resource temporarily unavailable
>????? 0 [main] collect2 6036 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
>1063677 [main] collect2 6036 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
>3102613 [main] collect2 6036 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
>7147729 [main] collect2 6036 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
>
>I have enclosed the results of the cygcheck command as an attachement.? 
>
>Does anyone else have any other ideas of what to try?

Often just turning off your virus scanner isn't enough.  You have to
completely disable it.  Check for other BLODA too:

http://cygwin.com/acronyms/#BLODA

And, finally, if none of the above works check out:

http://cygwin.com/problems.html

cgf

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019