[uClibc]uclibc 0.99 atexit problem again

Ziyan Maraikar ziyan at matrix.mediasolv.com
Fri Feb 8 13:06:57 UTC 2002


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.

Ziyan Maraikar
ziyan at myrealbox.com






More information about the uClibc mailing list