Can't link with crtend.o

Alexander Gdalevich gdalevich@hotmail.com
Wed Feb 25 23:36:00 GMT 2004


Greetings!

I am trying to build an executable, but my linker complains about an
: undefined reference to `___do_global_ctors_aux'

This function is defined in crtend.o which I am including in the build...  
Furthermore, I am instructing linker to generate a map file, and according 
to the map file the code for crtend.o does get placed into the .text section 
of the output.

Why in the world does it not link?

Any ideas?


----------------------------------------------------------------
"Normal people ... believe that if it ain't broke, don't fix it. Engineers 
believe that if it ain't broke, it doesn't have enough features yet."

_________________________________________________________________
Store more e-mails with MSN Hotmail Extra Storage – 4 plans to choose from! 
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list