Subject: bin/10254: login(1) doesn't build with crypto-intl and -DKERBEROS5
To: None <>
From: Bernd Ernesti <>
List: netbsd-bugs
Date: 06/01/2000 09:54:13
>Number:         10254
>Category:       bin
>Synopsis:       login(1) doesn't build with crypto-intl and -DKERBEROS5
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 01 09:55:00 PDT 2000
>Originator:     Bernd Ernesti
>Release:        NetBSD-current 1-June-2000 1600 GMT
System: NetBSD 1.4Z NetBSD 1.4Z (ARRESUM) #439: Thu Jun 1 14:56:00 MEST 2000 i386

	basesrc/usr.bin/login doesn't build anymore when you use crypto-intl
	and have 'KERBEROS5 = yes' (and 'KERBEROS = yes') in /etc/mk.conf:

cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -DLOGIN_CAP -DSKEY -I/usr/include/krb5               -DKERBEROS5 -c /src/usr.bin/login/login.c
cc1: warnings being treated as errors
/src/usr.bin/login/login.c: In function `login_get_kconf':
/src/usr.bin/login/login.c:766: warning: passing arg 2 of `krb5_get_default_realm' from incompatible pointer type
/src/usr.bin/login/login.c:770: warning: implicit declaration of function `krb5_appdefault_boolean'

	Hmmm, looks like login(1) won't link if this failure is fixed.
	crypto-intl/usr.bin/login/k5login.c is unchanged so it doesn't contain
	the changes from basesrc/usr.bin/login/k5login.c.
	cd basesrc/usr.bin/login && make