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 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: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 >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