[uClibc]uclibc 0.99 atexit problem again

Erik Andersen andersen at codepoet.org
Fri Feb 8 15:45:32 UTC 2002


On Fri Feb 08, 2002 at 07:06:57PM +0600, Ziyan Maraikar wrote:
> I've downloaded and built uClibc-0.99 an successfully cross-compiled it using 
> the arm-elf toolchain and uClinux 2.0.38 kernel by modifying  the 
> Config.cross.arm.uclinux config file. However when I try to build a simple 
> hello world using arm-uclibc-gcc wrapper it gives the following error:
> 
> /opt/tools/H-i686-pc-linux-gnu/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o): 
> In function `__do_global_ctors':
> __main.o(.text+0xbc): undefined reference to `atexit'
> collect2: ld returned 1 exit status
> 
> I tried explictly specifying libraries and thee library and include paths 
> using -lc -L and -I to no avail. Any help is apprciated.

The arm-uclibc-gcc wrapper is not intended for, and will not
work with uClinux.  You need to obtain the uClinux arm-elf
toolchain and use that,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list