Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

Problem with build project in NIOS2

Altera_Forum
Honored Contributor II
1,008 Views

I am facing problem to build my project using NIOS 2. 

My OS is win7 and the NIOS 2 version is 9.1 

 

When I build my project, I keep receiving this fatal error message. 

 

ake -s all includes  

5 [main] ? (5652) c:\altera\91\quartus\bin\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x7A0000, top 0x7B0000, reserve_size 61440, allocsize 65536, page_const 4096 

3 [main] sh 5884 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 

/bin/sh: fork: Resource temporarily unavailable 

make: *** No rule to make target `/bin/gtf/generated_app.mk.gtf', needed by `/cygdrive/c/altera/Project/NiosIIlab1/hello_world_0/hello_world_0_syslib/Debug/system_description/../obj/generated_app.mk-t'. Stop. 

 

Another repeated error message is like this 

 

5 [main] ? (5476) c:\altera\91\quartus\bin\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x680000, top 0x690000, reserve_size 61440, allocsize 65536, page_const 4096 

3 [main] sh 4628 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 

/bin/sh: fork: Resource temporarily unavailable 

 

I am not sure what is the cause of this problem. I have tried to turn off my antivirus software but the problem persists.. I have tried so many times to rebuild my project but the problem is still there.... 

Can anyone help with this??
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
297 Views

There are some problems with cygwin and some antivirus tools or Logitech webcam drivers (see here (http://cygwin.com/ml/cygwin/2008-03/msg00651.html)). Try disabling them if you have any of those.

0 Kudos
Reply