Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2000 15:42:43 -0400
From:      Ralf Meyer <rmeyer@colba.net>
To:        stable@freebsd.org
Cc:        cjh@kr.FreeBSD.org
Subject:   Re: buildworld failure in openssh
Message-ID:  <00061115452302.55613@freyja.asgard>
In-Reply-To: <86u2f089vx.fsf@gradius.myhome>
References:  <86u2f089vx.fsf@gradius.myhome>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00061115452302.55613>