Forum Discussion
Altera_Forum
Honored Contributor
16 years agoDE2 -- UART transmit and receive compiling error
Hi all, I'm using the DE2 kit, with Quartus II (using SOPC) and NIOS IDE software to make an UART communication. But the compilation was always failed. Does anyone know how I can work arou...
Altera_Forum
Honored Contributor
16 years agoi discovered exactly the same problem!
i also have to add that the filepointer fd is still NULL after fopen so i think this function fails too! the full error messages: --- Quote Start --- /var/opt/altera/9.0/nios2eds/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/lib/mno-hw-mul/libc.a(closer.o)(.text+0x18): In function `_close_r': /data/sc-build/build/nios2eds-gnutools-linux32-9.0/bin/nios2-gnutools/src/newlib/newlib/libc/reent/closer.c:53: warning: warning: close is not implemented and will always fail /var/opt/altera/9.0/nios2eds/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/lib/mno-hw-mul/libc.a(lseekr.o)(.text+0x20): In function `_lseek_r': /data/sc-build/build/nios2eds-gnutools-linux32-9.0/bin/nios2-gnutools/src/newlib/newlib/libc/reent/lseekr.c:58: warning: warning: lseek is not implemented and will always fail /var/opt/altera/9.0/nios2eds/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/lib/mno-hw-mul/libc.a(openr.o)(.text+0x20): In function `_open_r': /data/sc-build/build/nios2eds-gnutools-linux32-9.0/bin/nios2-gnutools/src/newlib/newlib/libc/reent/openr.c:59: warning: warning: open is not implemented and will always fail --- Quote End ---