OpenSSH 3.7 compile failure

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I'm receiving this same error on two seperate OpenBSD 3.3 systems ... any
advice?  Both systems are fairly vanilla installs


make obj - OK
make cleandir - OK
make depend - OK

cc -O2   -DHAVE_LOGIN_CAP -DBSD_AUTH -DKRB5 -I/usr/include/kerberosV -DGSSAP
I -I/usr/src/usr.bin/ssh/sshd/..  -DLIBWRAP  -c
cc   -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o
sshpty.o sshlogin.o servconf.o serverloop.o uidswap.o auth.o auth1.o auth2.o
auth-options.o session.o auth-chall.o auth2-chall.o groupaccess.o
auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o auth2-none.o
auth2-passwd.o auth2-pubkey.o monitor_mm.o monitor.o monitor_wrap.o
monitor_fdpass.o kexdhs.o kexgexs.o auth-krb5.o auth2-gss.o gss-serv.o
gss-serv-krb5.o -L/usr/src/usr.bin/ssh/sshd/../lib/obj -lssh -lgssapi -lkrb5
 -lcrypto -lutil -lz -ldes -lwrap
gss-serv-krb5.o: Undefined symbol `_gss_krb5_copy_ccache' referenced from
text segment
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/src/usr.bin/ssh/sshd (line 122 of /usr/share/mk/
*** Error code 1

Stop in /usr/src/usr.bin/ssh.

Re: OpenSSH 3.7 compile failure

Quoted text here. Click to load it
Quoted text here. Click to load it

If you can do without Kerberos, you can apparently do:
KERBEROS5=no make

There's also a patch for 3.3 at

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Site Timeline