Subject: Re: building src/libexec/telnetd fails if MKKERBEROS4=no
To: None <current-users@netbsd.org>
From: Love <lha@stacken.kth.se>
List: current-users
Date: 12/21/2004 08:21:32
--=-=-=


Jukka Salmi <j+nbsd@2004.salmi.ch> writes:

> Hi,
>
> building src/libexec/telnetd fails if MKKERBEROS4 is set to 'no'
> (for both HEAD and netbsd-2-0 sources): I'm getting undefined
> references to des_new_random_key, des_ecb_encrypt, des_key_sched and
> des_init_random_number_generator. These symbols seem to be in libdes;
> however, -ldes is added to LDADD only if Kerberos IV is built.
>
> How should this problem be solved? Does the attached patch make
> sense?

Almost. You should add a new LDADD/DPADD pair after the k4 if-endif that
add libdes, since kerberos 4 still depend on libdes.

Also, if you move a LDADD entry, you need to move the DPADD entry too.

Love


--=-=-=
Content-Type: application/pgp-signature

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

iQIVAwUAQcfO/RZyDLTSep3UAQJ1LQ//X85Lq03I3bfkIike/eKV64eXh0OgnHOP
KbsW3fzDWVviiLjD1YBiAyQ4AbBGizbQ319zDMNIG4luKxVdFsU1zcdEH9O7wTiI
nrzFfIXsYzTe5wMOYiTetjvdOb50qvE1I2VIKEbm3UiKmMUdqbl1kjvcodDAxU9Z
jk2iYWk3qw4lxAazeJJevE8vsSG+aVpAtMpTTSKPRyFrrpJ41pjSlLax4sQD8zaR
Lf2MHeWGwDVCrLXNxh89uh+pyrCZ9KML2ODUXvDrNt20Uuj5NJr6N6xvwfzoU4+Y
4BLwYI3y73uyhu4P2Vdd54pMYeLibDW3n+5jfGUXch/r4eoeW968oY+Xa9rtDgLv
T9e/ERobBICJUVk9WKfmRv9SNu25RcTieMHnXftp3xCetzIcveikb7PlPP8ys8rk
zOlnNJhTxmZc39pL6eNZki1sqaPUtOJJb/hYDyTMs8ed3Y/TLaPlbzQ+4H4W8vQ7
v3aYanY9m+Pe2y9BxEw34ARY6aMhzbE8uWdFE4Qx/zm4aU9VKJwuhY4Y34IZA4Q1
bOBpWaEv22aEgidl1pvG4A0b+vZQQTQZNiHWFkco0xNmMbAtzQmWlAqhjuwGm7th
LE1/TW9d8iIwVrKtebwe8EVMSfWVwP/flSKsl84FVwt73NP7bC8weOZsg5hehPtB
XhyMFtrXnBY=
=dKe3
-----END PGP SIGNATURE-----
--=-=-=--