On Thu, Feb 02, 2006 at 10:36:49AM +0200, Juha JÃ???ykkÃ??? wrote: > > /usr/bin/make -C build-tree/heimdal-0.7.1 > [entering a few directories] > gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../lib/roken -I../lib/roken > -DHOST=\"i686-pc-linux-gnu\" -I/usr/include/et -D_FILE_OFFSET_BITS=64 -Wall > -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast > -Wmissing-declarations -Wnested-externs -g -O2 -c bits.c
Where does that "-DHOST=\"i686-pc-linux-gnu\" come from? Did you run configure on an i386 host, and then compiled it on an alpha or something? > /bin/sh ../libtool --mode=link gcc -Wall -Wmissing-prototypes > -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs > -g -O2 -o bits bits.o -lresolv -pthread > mkdir .libs > gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast > -Wmissing-declarations -Wnested-externs -g -O2 -o bits bits.o -lresolv > -pthread > /usr/lib/gcc-lib/alpha-linux/3.3.5/../../../crt1.o(.text+0x10): > ../sysdeps/alpha/elf/start.S:37: undefined reference to `main' I don't see what it should fail at this point. Looking at the buildd log of the last heimdal version, I see that following command getting run: gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2 -o bits bits.o -lresolv -pthread -lpthread Note that the only thing different is an additional -lpthread, but that was on the libtool command line there too, and trying without doesn't cause any problems for me. > The build, naturally, fails here. I think this bug is related to this: > http://lists.gnu.org/archive/html/bug-libtool/2002-12/msg00017.html I don't think it is. I suspect it's something else. And I suggest you start by looking at why you get i686-pc-linux-gnu there. I even think this isn't related to libtool at all. Anyway, could you please check the version of libtool you're using by looking at ./libtool in the build directory. Looking at the heimdal source package in Debian, it says: VERSION=1.5.6 TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 224 $" While the upstream source has: VERSION=1.5.2 TIMESTAMP=" (1.1220.2.60 2004/01/25 12:25:08)" Kurt

