Hi all,
I have a question about OpenSSH configuration. In Makefile there is defined
LIBS=$(LIBCRYPTO), but the problem is that the version of OpenSSL that I'm
using holds only the version LIBCRYPT. When adding LIBCRYPT to the Makefile
I get:
sshd.elf2flt: In function `key_regeneration_alarm':
/.../ssh/sshd.c:252: undefined reference to `RSA_free'
/.../ssh/sshd.c:253: undefined reference to `RSA_new'
/.../ssh/sshd.c:256: undefined reference to `RSA_free'
/.../ssh/sshd.c:257: undefined reference to `RSA_new'
sshd.elf2flt: In function `destroy_sensitive_data':
/.../ssh/sshd.c:399: undefined reference to `RSA_free'
/.../ssh/sshd.c:401: undefined reference to `RSA_free'
/.../ssh/sshd.c:403: undefined reference to `RSA_free'
sshd.elf2flt: In function `main':
/.../ssh/sshd.c:559: undefined reference to `RSA_new'
/.../ssh/sshd.c:599: undefined reference to `BN_num_bits'
/opt/uClinux-dist/user/ssh/sshd.c:599: undefined reference to `BN_num_bits'
/.../ssh/sshd.c:603: undefined reference to `BN_num_bits'
/.../ssh/sshd.c:664: undefined reference to `RSA_new'
/.../ssh/sshd.c:665: undefined reference to `RSA_new'
sshd.elf2flt: In function `do_ssh1_kex':
/.../ssh/sshd.c:1077: undefined reference to `BN_num_bits'
/opt/uClinux-dist/user/ssh/sshd.c:1082: undefined reference to
`BN_num_bits'
/.../ssh/sshd.c:1122: undefined reference to `BN_num_bits'
/opt/uClinux-dist/user/ssh/sshd.c:1122: undefined reference to
`BN_num_bits'
/.../ssh/sshd.c:1143: undefined reference to `BN_new'
/.../ssh/sshd.c:1155: undefined reference to `BN_cmp'
/.../ssh/sshd.c:1157: undefined reference to `BN_num_bits'
/opt/uClinux-dist/user/ssh/sshd.c:1157: undefined reference to
`BN_num_bits'
/.../ssh/sshd.c:1159: undefined reference to `BN_num_bits'
/.../ssh/sshd.c:1159: undefined reference to `BN_num_bits'
/.../ssh/sshd.c:1171: undefined reference to `BN_num_bits'
...
Firts of all, are these libraries even compatible? and if are what could be
the cause of this mistake.
Thanks in advance