Subject: Re: crypto-intl telnet build failure on pmax.
To: Simon Burge <simonb@netbsd.org>
From: Assar Westerlund <assar@sics.se>
List: current-users
Date: 02/28/2000 04:33:43
Simon Burge <simonb@netbsd.org> writes:
> Folks,
> 
> I'm getting the following failure building the heimdal telnet client on a pmax:
> 
> cc -o telnet authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o tn3270.o utilities.o -ltermcap -ltelnet -lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lipsec
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped

This seems bad?  ld isn't supposed to crash, is it?

> authenc.o: In function `net_encrypt':
> /NetBSD/src/usr.bin/telnet/../../crypto-intl/dist/heimdal/appl/telnet/telnet/authenc.c(.text+0xf0): undefined reference to `encrypt_output'
> commands.o: In function `display':
> /NetBSD/src/usr.bin/telnet/../../crypto-intl/dist/heimdal/appl/telnet/telnet/commands.c(.text+0x2c9c): undefined reference to `EncryptStatus'
> commands.o: In function `status':
> /NetBSD/src/usr.bin/telnet/../../crypto-intl/dist/heimdal/appl/telnet/telnet/commands.c(.text+0x4e3c): undefined reference to `encrypt_display'
> commands.o: In function `control':

These are supposed to be defined in encrypt.o in libtelnet.

> /NetBSD/src/usr.bin/telnet/../../crypto-intl/dist/heimdal/appl/telnet/telnet/commands.c(.data+0x328): undefined reference to `auth_togdebug'

And this in in auth.o in libtelnet.

> Any hints?  I'll try building the same on my -current i386 later
> today...

I don't have access to a pmax, but it seems to build fine on my i386.
I would try to figure out if ld crashing has anything to do with it
and/or if these symbols are actually defined in libtelnet.

/assar