[uClibc]Help: Undefined reference to 'atext'

Zi Zi rcam at hotmail.com
Wed Oct 3 04:18:58 UTC 2001


I downloaded the snapshot of uClibc and follow the README to do the 
configuration and build the "arm-uclibc-" toolchain.
However, I use it to compile a simple program and get the following error.

******************************************************************
/crosstools/arm/lib/gcc-lib/arm-elf/2.95.2/libgcc.a(__main.o): In function 
'__do_global_ctors':
__main.o(.text+0xbc): undefined reference to 'atexit'
collect2: ld returned 1 exit status
******************************************************************

I am new to uClibc. I have just finished the compilation of uClinux kernel 
and want to put the application on it.
The platform used is Atmel EB63 eval board (ARM).

Please give me a help on the issue.
Thanks
Zi Zi


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp






More information about the uClibc mailing list