Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2000 22:33:22 +0900
From:      Barry Mishler <Barry.A.Mishler@poj.usace.army.mil>
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: buildworld error
Message-ID:  <39439522.CFE54F1D@poj.usace.army.mil>
References:  <Pine.BSF.4.21.0006101451280.60767-100000@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:
> 
> On Sat, 10 Jun 2000, Scott Michel wrote:
> 
> > /usr/obj/usr/src/secure/usr.sbin/sshd/../../lib/libssh/libssh.a(auth-skey.o): In function `skey_fake_keyinfo':
> > auth-skey.o(.text+0x2ae): undefined reference to `SHA1_Data'
> > auth-skey.o(.text+0x438): undefined reference to `SHA1_End'
> > auth-skey.o(.text+0x495): undefined reference to `SHA1_End'
> > *** Error code 1
> >
> > Anyone got a clue-by-four to hit me with?
> 
> Please try this patch:
> 
> Index: Makefile
> ===================================================================
> RCS file: /home/ncvs/src/secure/usr.sbin/sshd/Makefile,v
> retrieving revision 1.7
> diff -u -r1.7 Makefile
> --- Makefile    2000/05/15 05:26:50     1.7
> +++ Makefile    2000/06/10 21:50:46
> @@ -38,8 +38,8 @@
>  .endif # MAKE_KERBEROS5
> 
>  CFLAGS+= -DSKEY
> -LDADD+=        -lopie
> -DPADD+=        ${LIBOPIE}
> +LDADD+=        -lopie -lmd
> +DPADD+=        ${LIBOPIE} ${LIBMD}
> 
>  .include <bsd.prog.mk>
> 
> I'm not sure why libmd is being linked by default on my systems.
> 
> Kris
> 


I had the same original problem.  Used cvsup to get the latest --
including the Makefile (version "1.5.2.2 2000/06/11 05:32:11") which
corresponds to the above patch.  Now it now fails for me just a few
commands later with:

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.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


Don't want to butt in; just trying to provide the quickest possible
feedback following the OpenSSH merge.  Hope I don't annoy anyone.

Barry Mishler


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?39439522.CFE54F1D>