Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Nios wont compile C program

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.

2 Replies