I have been asked to upgrade OpenSSH on an OpenBSD 4.1 server from 4.6 
to 5.1.  I have followed the instructions at 
http://www.openssh.org/openbsd.html and am getting the error below 
during 'make'.  I have downloaded the source and the patch as 
instructed and followed these instructions to the letter:

# cd /usr/src/usr.bin
# tar xvfz .../openssh-5.1.tgz
# cd ssh
# patch -p0 < /path/to/openssh43_5.1.patch
# make obj
# make cleandir
# make depend
# make

Here are the results.  I don't know what the 'arc4random_uniform' error 
indicates, if someone can point me in the right direction, I'd 
appreciate the help.
===
cc   -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o 
sshconnect1.o sshconnect2.o 
mux.o -L/usr/src/usr.bin/ssh/ssh/../lib/obj -lssh -lgssapi -lkrb5 -lcrypto -lz 
-ldes
/usr/src/usr.bin/ssh/ssh/../lib/obj/libssh.a(dh.o)(.text+0x438): In 
function `choose_dh':
/usr/src/usr.bin/ssh/dh.c:166: undefined reference to 
`arc4random_uniform'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/src/usr.bin/ssh/ssh (line 95 of /usr/share/mk/bsd.prog.mk).
*** Error code 1
===

thanks,

--charlie

-- 
------------------------------------------------------------------------
Charles Farinella 
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
voice: 603.924.6079   fax: 603.924.8668

Reply via email to