On Fri, Feb 03, 2006 at 09:12:12AM +0200, Juha Jäykkä wrote: > /bin/sh ../libtool --debug --mode=link gcc -Wall -Wmissing-prototypes > -Wpointer-arith -Wbad-function-cast -Wmissing-declarations > -Wnested-externs -g -O2 -o bits bits.o -lresolv -pthread -lpthread &> > libtool.debug > > where libtool.debug is attached. > > > which shows the failure, including all output, for me please? Also > > nm object.o > > of the object that fails to link. > > I should have put this already in the first report, since this is really > fishy: > > ~> nm bits.o > 0000000000000000 r > 0000000000000000 t > 0000000000000520 t > 0000000000000a30 t > U > U > U > U > U > U > 0000000000000af0 T > U > U > U > U > > No wonder it does not find main? Where did all the symbol names go?
If you manually compile bits.o without using libtool, do you have the same problem? Kurt