Altera_Forum
Honored Contributor
16 years agoNios II linking errors
Hello!
I was debuggina program with the Nios II IDE 9.1(Sofywrae building tools for eclipse) and suddenly it hangs. Well it was not the first time, so I just restarted it, but... Trying to cimple it again I got the following link error: /cygdrive/e/altera/91/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/lib/libc.a(closer.o)(.text+0x18): In function `_close_r': /build/nios2eds-gnutools-win32-9.1/bin/nios2-gnutools/src/newlib/newlib/libc/reent/closer.c:53: undefined reference to `close' collect2: ld returned 1 exit status make: *** [FinalEthernetPort.elf] Error 1 I didn't do anything, it's the same source ode than before, the same flags. Why is this happening?