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

Nios wont compile C program

Altera_Forum
Honored Contributor II
1,527 Views

I have just installed the Quartus and Nios2 on my computer, i tried running the my C program in Nios2 IDE that previously compiled and worked well at my uni lab. However this error appears now: 

 

**** Incremental build of configuration Debug for project hello_world_small_0 **** 

 

make -s all  

Creating generated_app.mk... 

Compiling alt_exception_muldiv.S... 

Compiling alt_exception_trap.S... 

6 [main] nios2-elf-gcc 5580 fork_copy: linked dll data/bss pass 0 failed, 0x576000..0x576264, done 0, windows pid 5044, Win32 error 487 

1017687 [main] nios2-elf-gcc 5580 fork_copy: linked dll data/bss pass 0 failed, 0x576000..0x576264, done 0, windows pid 2324, Win32 error 487 

3038565 [main] nios2-elf-gcc 5580 fork_copy: linked dll data/bss pass 0 failed, 0x576000..0x576264, done 0, windows pid 6176, Win32 error 487 

7067131 [main] nios2-elf-gcc 5580 fork_copy: linked dll data/bss pass 0 failed, 0x576000..0x576264, done 0, windows pid 6252, Win32 error 487 

nios2-elf-gcc: fork: Resource temporarily unavailable 

make[1]: *** [obj/alt_exception_trap.o] Error 1 

make: *** [system_project] Error 2 

Build completed 

 

can anyone tell me what is wrong and what can i do? 

my guess is the C library has errors or not identifiable by nios. 

 

thankyou.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
534 Views

Look at this (http://forum.niosforum.com/forum/index.php?showtopic=3651&hl=fork_copy) thread. 

 

Your issue is some sort of conflict between cygwin (which the Altera embedded tools depend upon) and one of your other processes. 

 

Cheers, 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
534 Views

Thanks..i didnt know that logitech background programs actually conflicts compilers. seems like im not gona use my logitech webcam much anymore. It worked fine after i close the two logitech programs in my task manager.

0 Kudos
Reply