From owner-freebsd-stable Sun Jun 11 12:39:31 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail.colba.net (mail.colba.net [207.107.221.4]) by hub.freebsd.org (Postfix) with ESMTP id 7CA2937B534 for ; Sun, 11 Jun 2000 12:39:16 -0700 (PDT) (envelope-from rmeyer@colba.net) Received: from freyja.asgard (bhd3-s35.mtl.colba.net [207.107.152.145]) by mail.colba.net (8.9.3/8.9.3) with SMTP id PAA07766; Sun, 11 Jun 2000 15:40:12 -0400 From: Ralf Meyer To: stable@freebsd.org Subject: Re: buildworld failure in openssh Date: Sun, 11 Jun 2000 15:42:43 -0400 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <86u2f089vx.fsf@gradius.myhome> In-Reply-To: <86u2f089vx.fsf@gradius.myhome> Cc: cjh@kr.FreeBSD.org MIME-Version: 1.0 Message-Id: <00061115452302.55613@freyja.asgard> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I faced the same problem after I cvsup'd last night. from cvsup.internat.freebsd.org. There obviously is a syntax error in /usr/src/crypto/openssh/session.c. The following patch should solve the problem, however I had no time to test this so far. Therefore, I also can't say wether there are more problems. Ralf --- /usr/src/crypto/openssh/session.c.ori Sat Jun 10 18:38:11 2000 +++ /usr/src/crypto/openssh/session.c Sun Jun 11 15:01:07 2000 @@ -857,14 +857,15 @@ extern char **environ; struct stat st; char *argv[10]; +#ifdef LOGIN_CAP + login_cap_t *lc; +#endif /* LOGIN_CAP */ /* login(1) is only called if we execute the login shell */ if (options.use_login && command != NULL) options.use_login = 0; #ifdef LOGIN_CAP - login_cap_t *lc; - lc = login_getpwclass(pw); if (lc == NULL) lc = login_getclassbyname(NULL, pw); On Sun, 11 Jun 2000, CHOI Junho wrote: > Hi, > > This is cvsupped 6/10 19PM GMT. I want to use new ssh 2 feature. > > Currently using 4-stable, secure part is from cvsup.internat.freebsd.org. > > FreeBSD gradius.myhome 4.0-STABLE FreeBSD 4.0-STABLE #9: Sun Jun 4 21:19:51 KST 2000 root@gradius.myhome:/usr/src/sys/compile/GRADIUS i386 > > > cc -O -pipe -DLIBWRAP -DLOGIN_ACCESS -I/usr/src/secure/usr.sbin/sshd/../../../usr.bin/login -DSKEY -I/usr/obj/usr/src/i386/usr/include -c /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/auth1.c > cc -O -pipe -DLIBWRAP -DLOGIN_ACCESS -I/usr/src/secure/usr.sbin/sshd/../../../usr.bin/login -DSKEY -I/usr/obj/usr/src/i386/usr/include -c /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/auth2.c > cc -O -pipe -DLIBWRAP -DLOGIN_ACCESS -I/usr/src/secure/usr.sbin/sshd/../../../usr.bin/login -DSKEY -I/usr/obj/usr/src/i386/usr/include -c /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c > /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c: In function `do_exec_pty': > /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:651: warning: passing arg 2 of `auth_ttyok' from incompatible pointer type > /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c: In function `do_child': > /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:866: syntax error before `*' > /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:868: `lc' undeclared (first use in this function) > /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:868: (Each undeclared identifier is reported only once > /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:868: for each function it appears in.) > *** Error code 1 > > Stop in /usr/src/secure/usr.sbin/sshd. > *** Error code 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message