This is the mail archive of the cygwin 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: I have a fork error when I compile


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


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