Hello,

For some reason I am unable to get openssh to install.  I have tried
earlier versions and get the same result.

gcc -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
-Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign
-Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv
-fno-builtin-memset -fstack-protector-strong -fPIE   -I. -I. 
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DSSHDIR=\"/etc/ssh\"
-D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/libexec/ssh-keysign\"
-D_PATH_SSH_PKCS11_HELPER=\"/usr/libexec/ssh-pkcs11-helper\"
-D_PATH_SSH_PIDDIR=\"/var/run\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/lib/sshd\" -DHAVE_CONFIG_H -c mux.c -o
mux.o
mux.c: In function ‘muxserver_listen’:
mux.c:1307:7: warning: implicit declaration of function
‘arc4random_uniform’; did you mean ‘arc4random_stir’?
[-Wimplicit-function-declaration]
   r = arc4random_uniform(26+26+10);
       ^~~~~~~~~~~~~~~~~~
       arc4random_stir
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o
sshconnect2.o mux.o -L. -Lopenbsd-compat/  -Wl,-z,relro -Wl,-z,now
-Wl,-z,noexecstack -fstack-protector-strong -pie  -lssh -lopenbsd-compat 
-lcrypto -ldl -lutil -lz  -lcrypt -lresolv
./libssh.a(sshkey.o): In function `sshkey_size':
/opt/sources/openssh-7.6p1/sshkey.c:275: undefined reference to `DSA_bits'
./libssh.a(cipher.o): In function `cipher_get_keyiv':
/opt/sources/openssh-7.6p1/cipher.c:492: undefined reference to
`EVP_CIPHER_CTX_iv'
./libssh.a(cipher.o): In function `cipher_set_keyiv':
/opt/sources/openssh-7.6p1/cipher.c:526: undefined reference to
`EVP_CIPHER_CTX_iv'
./libssh.a(cipher.o): In function `cipher_get_keycontext':
/opt/sources/openssh-7.6p1/cipher.c:549: undefined reference to
`EVP_CIPHER_impl_ctx_size'
/opt/sources/openssh-7.6p1/cipher.c:552: undefined reference to
`EVP_CIPHER_CTX_get_cipher_data'
./libssh.a(cipher.o): In function `cipher_set_keycontext':
/opt/sources/openssh-7.6p1/cipher.c:568: undefined reference to
`EVP_CIPHER_impl_ctx_size'
/opt/sources/openssh-7.6p1/cipher.c:569: undefined reference to
`EVP_CIPHER_CTX_get_cipher_data'
./libssh.a(ssh-pkcs11.o): In function `pkcs11_rsa_wrap':
/opt/sources/openssh-7.6p1/ssh-pkcs11.c:329: undefined reference to
`RSA_meth_get_finish'
/opt/sources/openssh-7.6p1/ssh-pkcs11.c:331: undefined reference to
`RSA_meth_get_flags'
collect2: error: ld returned 1 exit status
make: *** [Makefile:164: ssh] Error 1

Regards,

Christopher.

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to