Altera_Forum
Honored Contributor
21 years agoProblem with libc.a
Hi All,
I've got my Linux v1.1 up and running beautifully, but as soon as I try to compile ANYTHING that was not supplied by either ALTERA or MICROTRINIX I run into the same snag over and over again. libc.a – and it always gives the same error http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wacko.gif (Now If I were a cool hacker with a black belt in mystic karate I would probably have fixed the problem, but I’m still learning and don’t have much of a clue.) I can compile all the software in Linux and Cygwin natively but no luck in cross-compiling Ok that was a long intro here is the problem – does ANY-One know how I can work around it? Thanks in advance <div class='quotetop'>QUOTE </div> --- Quote Start --- /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc -lib/nios2-elf/3.3.3/../../../../nios2-elf/lib/libc.a(closer.o): In function `_c lose_r': closer.o(.text+0x20): warning: _close is not implemented and will always fail /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc -lib/nios2-elf/3.3.3/../../../../nios2-elf/lib/libc.a(fstatr.o): In function `_f stat_r': fstatr.o(.text+0x28): warning: _fstat is not implemented and will always fail /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc -lib/nios2-elf/3.3.3/../../../../nios2-elf/lib/libc.a(makebuf.o): In function `_ _smakebuf': makebuf.o(.text+0xf8): warning: isatty is not implemented and will always fail /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc -lib/nios2-elf/3.3.3/../../../../nios2-elf/lib/libc.a(lseekr.o): In function `_l seek_r': lseekr.o(.text+0x2c): warning: _lseek is not implemented and will always fail /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc -lib/nios2-elf/3.3.3/../../../../nios2-elf/lib/libc.a(readr.o): In function `_re ad_r': readr.o(.text+0x2c): warning: _read is not implemented and will always fail /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc -lib/nios2-elf/3.3.3/../../../../nios2-elf/lib/libc.a(writer.o): In function `_w rite_r': writer.o(.text+0x2c): warning: _write is not implemented and will always fail /cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc -lib/nios2-elf/3.3.3/../../../../nios2-elf/lib/libnosys.a(nosys_crt0.o): In func tion `__start_2':[/b] --- Quote End ---