Subject: Re: /rescue/* currently does not seem to link without patentented crypo algorithms
To: Frank Kardel <kardel@ntp.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 01/19/2005 09:21:38
--GmIAiBEz2jSsbeLA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 18, 2005 at 07:14:48PM +0100, Frank Kardel wrote:
  | Hi *,
  |=20
  | currently my build of -current fails like this:
  | ...
  |     compile  ssh/sshconnect.o
  |     compile  ssh/sshconnect1.o
  |     compile  ssh/sshconnect2.o
  |     compile  obj.i386/rescue.o
  |        link  obj.i386/rescue
  | /src/NetBSD/BUILD.i386/usr/lib/libcrypto.a(m_mdc2.o)(.text+0xe): warnin=
g: MDC2 is a patented algorithm; link against libcrypto_mdc2.a
  |
  | : warning: warning: reference to obsolete getfsstat(); use getvfsstat()
  | ssh.cro(.text+0x65ff): In function `try_krb4_authentication':
  | : undefined reference to `tkt_string'
  | ssh.cro(.text+0x6628): In function `try_krb4_authentication':
  | : undefined reference to `krb_get_phost'
  | ssh.cro(.text+0x6640): In function `try_krb4_authentication':
  | : undefined reference to `krb_realmofhost'
  | ssh.cro(.text+0x6679): In function `try_krb4_authentication':
  | : undefined reference to `krb_mk_req'
  | ssh.cro(.text+0x6687): In function `try_krb4_authentication':
  | : undefined reference to `krb_err_txt'
  | ssh.cro(.text+0x66a9): In function `try_krb4_authentication':
  | : undefined reference to `krb_get_cred'
  | ...
  |=20
  | patented libs are not built by configuration - this seems the be the pr=
oblem here - is anybody seeing
  | this pattern or did I miss something?

The warnings about the patented algorithms can be ignored.

The problem here appears to be that your build of rescue/ssh is trying
to build with kerberos contrary to what the rescue build is trying to do.

Do you build with any MKxxx or USE_xxx variables overridden ?

--GmIAiBEz2jSsbeLA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFB7YvypBhtmn8zJHIRAsvcAJ9u5Dhr0I5bOAVqVUN89C4vJiBL/wCfa/8V
YaOy5s1Tf4gGEd37lyLDh+w=
=iefu
-----END PGP SIGNATURE-----

--GmIAiBEz2jSsbeLA--