[uClibc]enable to build simple executable

marco van den heuvel blacky at xanaxis.dyndns.org
Mon Jul 9 13:01:29 UTC 2001


Hi,

I've compiled uclibc without problems, but when I try to build a simple 
executable I get the following error :

/z/i386-linux-uclinux/usr/lib/libc.a(exit.o): In function `exit':
exit.o(.text+0x18): undefined reference to `_exit'
/z/i386-linux-uclinux/usr/lib/libc.a(_uClibc_fwrite.o): In function 
`_uClibc_fwrite':
_uClibc_fwrite.o(.text+0xe5): undefined reference to `write'
/z/i386-linux-uclinux/usr/lib/libc.a(isatty.o): In function `isatty':
isatty.o(.text+0x16): undefined reference to `ioctl'
/z/i386-linux-uclinux/usr/lib/libc.a(fseek.o): In function `fseek':
fseek.o(.text+0x78): undefined reference to `lseek'
collect2: ld returned 1 exit status

How can I get around this problem ?

Thanx in advance,

Signed, Marco van den Heuvel.







More information about the uClibc mailing list