This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 248292 - C code won't compile
Summary: C code won't compile
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-31 06:22 UTC by ddeeepakk
Modified: 2014-11-17 15:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snapshot of tools installed on my system. (240.83 KB, image/jpeg)
2014-10-31 06:22 UTC, ddeeepakk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ddeeepakk 2014-10-31 06:22:59 UTC
Created attachment 150175 [details]
snapshot of tools installed on my system.

Hi,

On my windows 7 system, I am trying to test/run a 'c' program but on compiling a simple "hello world" program I am getting following error in output window :

      0 [main] make 6092 fork: child -1 - forked process 7464 died unexpectedly, retry 0, exit code 0xC0000005, errno 11
make: vfork: Resource temporarily unavailable


BUILD FAILED (exit value 2, total time: 2s)


I have cygwin 4.x toolchain installed. Environment variables updated. Can you please help in debugging the issue. I have no clue how to start debugging this.
Comment 1 ilia 2014-11-11 09:26:14 UTC
Hi,

Try to install NetBeans 8.0.1 (you will be suggested to use a NB 7.2 userdir at the first launch: disagree, you need a fresh one). Does it solve the problem?

If not, please reproduce this issue and attach a NetBeans log file (http://wiki.netbeans.org/FaqLogMessagesFile) here. The log will help to start debugging this issue.
Comment 2 ddeeepakk 2014-11-17 15:27:43 UTC
Hi,

I was able to resolve the issue by modifying the cygwin installed on my system. The error was due to problem in 64-bit cygwin installation. I re-installed the 32 bit version and now I am able to compile my codes.

Thanks