/u/NetBSD/src/usr.bin/login/login.c: In function 'main': /u/NetBSD/src/usr.bin/login/login.c:245:14: error: 'instance' undeclared (first use in this function) /u/NetBSD/src/usr.bin/login/login.c:245:14: note: each undeclared identifier is reported only once for each function it appears in Reading the code, I think the right fix is to #ifdef KERBEROS5 the assignment of *argv to instance. So instead of: if (*argv) { username = instance = *argv; ask = 0; } else ask = 1; I would write if (*argv) { username = *argv; #ifdef KERBEROS5 instance = username; #endif ask = 0; } else ask = 1;
Attachment:
pgpEvIZ7WBV34.pgp
Description: PGP signature