Mailing List Archive

Fail to compile on FreeBSD 3.3
I had some problem when I compiled openssh-1.2.2 on FreeBSD 3.3 with enable skey option like this:

./configure --with-tcp-wrappers --with-skey
..
....
......
gcc -o sshd sshd.o auth-rhosts.o auth-krb4.o auth-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o servconf.o serverloop.o bsd-login.o md5crypt.o -L. -L/usr/local/ssl/lib -lssh -lz -lcrypto -lutil -lpam -lskey -lwrap
sshd.o: In function `do_authloop':
/usr/local/src/openssh-1.2.2/sshd.c(.text+0x1d68): undefined reference to `skey_keyinfo'
/usr/local/src/openssh-1.2.2/sshd.c(.text+0x1d8a): undefined reference to `skey_fake_keyinfo'
/usr/local/src/openssh-1.2.2/sshd.c(.text+0x1e52): undefined reference to `skey_haskey'
/usr/local/src/openssh-1.2.2/sshd.c(.text+0x1e64): undefined reference to `skey_passcheck'
sshd.o: In function `do_fake_authloop':
/usr/local/src/openssh-1.2.2/sshd.c(.text+0x1fff): undefined reference to `skey_fake_keyinfo'
*** Error code 1

Stop.

How can I solve it, please help?

Regards,
Phen.
Re: Fail to compile on FreeBSD 3.3 [ In reply to ]
Siriphen Wikaisuksakul <phen@school.net.th> wrote:

> I had some problem when I compiled openssh-1.2.2 on FreeBSD 3.3

Use the port (ports/security/openssh).

> with enable skey option like this:

OpenSSH's S/key support on FreeBSD is broken due to differences in
libskey between FreeBSD and OpenBSD. This may get fixed eventually
in libskey.

> [Alternative: text/html]

Don't.

--
Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de