[uClibc]enable to build simple executable

Erik Andersen andersen at lineo.com
Tue Jul 10 16:52:28 UTC 2001


On Mon Jul 09, 2001 at 03:01:29PM +0200, marco van den heuvel wrote:
> 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 ?

How did you compile this executable?

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list