[uClibc]undefined reference to atexit

Fabrice Gautier Fabrice_Gautier at sdesigns.com
Tue Nov 27 01:12:55 UTC 2001


Hi,

I've compiled uClibC for arm succesfully, but every time i try to build
something i get the error:

.../gcc-2.95.3/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'

However i have verified and atexit is present in libc.a and, using verbose
mode, arm-uclinux-ld sucessfully open the correct libc.a. I don't
understand...

I'm using arm-elf-gcc 2.95.3

Thanks

-- 
Fabrice Gautier
Software Engineer, Sigma Designs
Fabrice_Gautier at sdesigns.com






More information about the uClibc mailing list