> To answer my own question, no sooner had I hit 'send' than I noticed the > patch number indicated 4.3. I have downloaded OpenSSH 5.0, the > appropriate 4.1 -> 5.0 patch and all is well.
Well I am getting the exact same compilation error as you, on a fresh OpenBSD 4.3 box, when tying to compile OpenSSH 5.1 with the patch for 4.3. 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 Stop in /usr/src/usr.bin/ssh (line 48 of /usr/share/mk/bsd.subdir.mk). Anyone else has been experiencing this?