Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 1999 19:58:12 -0500 (EST)
From:      "Chris D. Faulhaber" <jedgar@fxp.org>
To:        ports@freebsd.org, green@freebsd.org
Subject:   OpenSSH and 3.2-STABLE
Message-ID:  <Pine.BSF.4.20.9911101942190.10141-100000@earth.fxp>

next in thread | raw e-mail | index | archive | help
We have an internal production server running 3.2-STABLE (from around June
4th).  After installing OpenSSH on my 3.3-STABLE workstation, I
decided to install it on the server (from ports cvsupped a few minutes
ago)....with the following result:

cc -O2 -pipe
-I/usr/ports/security/openssh/work/ssh/ssh/.. -I/usr/local/include
-I/usr/ports/security/openssh/work/ssh/ssh/.. -I/usr/local/include
-I/usr/local/usr/include  -o ssh ssh.o sshconnect.o log-client.o
readconf.o clientloop.o  -L/usr/ports/security/openssh/work/ssh/ssh/../lib
-lssh -L/usr/ports/security/openssh/work/ssh/ssh/../lib -lssh -lutil -lz
-L/usr/local/lib -lcrypto -lRSAglue -lrsaref
ssh.o: In function `main':
ssh.o(.text+0x10e9): undefined reference to `strlcpy'
sshconnect.o: In function `read_yes_or_no':
sshconnect.o(.text+0xf3b): undefined reference to `strlcpy'
/usr/ports/security/openssh/work/ssh/ssh/../lib/libssh.a(channels.o): In
function `auth_input_request_forwarding':
channels.o(.text+0x1f06): undefined reference to `strlcpy'
/usr/ports/security/openssh/work/ssh/ssh/../lib/libssh.a(canohost.o): In
function `get_remote_hostname':
canohost.o(.text+0xcf): undefined reference to `strlcpy'
canohost.o(.text+0x17d): undefined reference to `strlcpy'
/usr/ports/security/openssh/work/ssh/ssh/../lib/libssh.a(canohost.o)(.text+0x1f0): more
undefined references to `strlcpy' follow
*** Error code 1

Stop.
*** Error code 1

According to strlcpy(3):

HISTORY
     strlcpy() and strlcat() functions first appeared in OpenBSD 2.4, and
made their appearance in FreeBSD 3.3.

Is there any graceful workaround for < 3.3 (backport/patches), and/or 
should this be marked BROKEN for < 330000?

-----
Chris D. Faulhaber               |  You can ISO9001 certify the process of 
System/Network Administrator,    |  shooting yourself in the foot, so long
Reality Check Information, Inc.  |  as the process is documented and reliably
<jedgar@fxp.org>                 |  produces the proper result.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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