Problems Compiling sshd - OpenSSH 3.8p1 on Tru64 UNIX V4.0F PK#7 (OSF)

Narendra Raavi narendra at spiff.mt.att.com
Sun Mar 28 05:10:48 EST 2004


I am trying to compile sshd 3.8p1 on Tru64 UNIX V4.0F Patch Level 7.
Previously I've compiled the entire 3.6.1p2 distribution with no problems.
The problem seems to occur when linking sshd. The linker is unable to find
xcrypt and shadow_pw functions (openbsd-compat/*.c). The libopenbsd-compat
seems to have built without errors. I configure as follows:
 
CC=cc CFLAGS=-O LDFLAGS=-non_shared ./configure --prefix=/opt/ssh
--with-prngd-socket =/var/run/egd-pool --with-ssl-dir=/opt/ssh
--with-zlib=/opt/zlib
 
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  loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o
-L. -Lopenbsd-compat/ -L/opt/ssh/lib -L/opt/zlib/lib -non_shared -lssh
-lopenbsd-compat   -lcrypto -lrt -lz  -lsecurity -ldb -lm -laud
ld:
Error: Undefined:
xcrypt
shadow_pw
*** Exit 1
Stop.

 
Any help debugging this would be appreciated.
 
Thank you,
 
N





More information about the openssh-unix-dev mailing list