[uClibc]undefined reference to atexit

Fabrice Gautier Fabrice_Gautier at sdesigns.com
Tue Nov 27 01:50:02 UTC 2001


> -----Original Message-----
> From: David McCullough [mailto:davidm at snapgear.com]
> Subject: Re: [uClibc]undefined reference to atexit
> 
> 
> Try adding -lgcc -lc -lgcc,
> 
> I think the problem is that libgcc is the one referencing atexit
> and libgcc is linked in after libc all the libc references have been
> resolved.

Indeed ! Thanks

Actually, I just added "-lc" at the end of the arm-uclibc-ld wrapper. I
guess this should go in the arm-uclibc-gcc wrapper however.

Thanks again
-- 
Fabrice Gautier, 
Fabrice_Gautier at sdesigns.com





More information about the uClibc mailing list