am eroare cu liburile : root@vps:/usr/local/lib/libssh2-1.8.0# gcc -o brute sursa.c -I /usr/local/include/ -L /usr/local/lib/libssh2-1.8.0 -static -lssh2 -lssl -lcrypto -ldl -lz -lpthread
sursa.c: In function 'check_sockets':
sursa.c:141:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(char *)inet_ntoa(connlist.addr.sin_addr));
^
sursa.c:156:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(char *)inet_ntoa(connlist.addr.sin_addr));
^
sursa.c: In function 'scanbclass':
sursa.c:403:5: warning: too many arguments for format [-Wformat-extra-args]
snprintf(outfile, sizeof(outfile) - 1, "scan.log", bclass, port);
^
sursa.c:403:5: warning: too many arguments for format [-Wformat-extra-args]
sursa.c:410:5: warning: too many arguments for format [-Wformat-extra-args]
printf("[-] Searching: ", bclass);
^
sursa.c:486:5: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'time_t' [-Wformat=]
printf("\n[!] Scanare completa In %u Secunde. [Avem aici %d ips]\n", (time(0) - scantime), tot);
^
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(channel.o): In function `libssh2_channel_x11_req_ex':
(.text+0x1ad3): undefined reference to `gcry_randomize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(transport.o): In function `_libssh2_transport_send':
(.text+0x9b5): undefined reference to `gcry_randomize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(transport.o): In function `_libssh2_transport_send':
(.text+0xb4f): undefined reference to `gcry_randomize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_new':
(.text+0x7e): undefined reference to `gcry_sexp_build'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_new':
(.text+0xa4): undefined reference to `gcry_sexp_build'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_verify':
(.text+0xf9): undefined reference to `gcry_md_hash_buffer'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_verify':
(.text+0x116): undefined reference to `gcry_sexp_build'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_verify':
(.text+0x12f): undefined reference to `gcry_sexp_build'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_verify':
(.text+0x144): undefined reference to `gcry_pk_verify'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_verify':
(.text+0x14f): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_verify':
(.text+0x159): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_verify':
(.text+0x18e): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_new':
(.text+0x203): undefined reference to `gcry_sexp_build'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_new':
(.text+0x24e): undefined reference to `gcry_sexp_build'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_sign':
(.text+0x777): undefined reference to `gcry_sexp_build'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_sign':
(.text+0x791): undefined reference to `gcry_pk_sign'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_sign':
(.text+0x79d): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_sign':
(.text+0x7b6): undefined reference to `gcry_sexp_find_token'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_rsa_sha1_sign':
(.text+0x7d2): undefined reference to `gcry_sexp_nth_data'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_sign':
(.text+0x8ac): undefined reference to `gcry_sexp_build'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_sign':
(.text+0x8c6): undefined reference to `gcry_pk_sign'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_sign':
(.text+0x8d2): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_sign':
(.text+0x912): undefined reference to `gcry_sexp_find_token'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_sign':
(.text+0x932): undefined reference to `gcry_sexp_nth_data'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_sign':
(.text+0x96f): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_sign':
(.text+0x980): undefined reference to `gcry_sexp_find_token'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_sign':
(.text+0x99c): undefined reference to `gcry_sexp_nth_data'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_sign':
(.text+0x9e0): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_sign':
(.text+0x9ef): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_verify':
(.text+0xa8e): undefined reference to `gcry_md_hash_buffer'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_verify':
(.text+0xab0): undefined reference to `gcry_sexp_build'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_verify':
(.text+0xadd): undefined reference to `gcry_sexp_build'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_verify':
(.text+0xaf3): undefined reference to `gcry_pk_verify'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_verify':
(.text+0xaff): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_verify':
(.text+0xb09): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_dsa_sha1_verify':
(.text+0xb3e): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_cipher_init':
(.text+0xb7b): undefined reference to `gcry_cipher_get_algo_keylen'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_cipher_init':
(.text+0xb8d): undefined reference to `gcry_cipher_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_cipher_init':
(.text+0xba0): undefined reference to `gcry_cipher_setkey'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_cipher_init':
(.text+0xbb1): undefined reference to `gcry_cipher_get_algo_blklen'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_cipher_init':
(.text+0xbc8): undefined reference to `gcry_cipher_setiv'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_cipher_init':
(.text+0xbe9): undefined reference to `gcry_cipher_setctr'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_cipher_init':
(.text+0xbfa): undefined reference to `gcry_cipher_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_cipher_init':
(.text+0xc05): undefined reference to `gcry_cipher_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_cipher_crypt':
(.text+0xc21): undefined reference to `gcry_cipher_decrypt'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(libgcrypt.o): In function `_libssh2_cipher_crypt':
(.text+0xc29): undefined reference to `gcry_cipher_encrypt'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(global.o): In function `libssh2_init':
(.text+0x36): undefined reference to `gcry_control'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_dss_dtor':
(.text+0x8): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_rsa_dtor':
(.text+0x28): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_dss_signv':
(.text+0xc4): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_dss_signv':
(.text+0xf1): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_dss_signv':
(.text+0x102): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_dss_signv':
(.text+0x124): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_dss_initPEM':
(.text+0x19f): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_dss_init':
(.text+0x20d): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_rsa_signv':
(.text+0x35c): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_rsa_signv':
(.text+0x381): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_rsa_signv':
(.text+0x392): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_rsa_signv':
(.text+0x3b4): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_rsa_initPEM':
(.text+0x43f): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(hostkey.o): In function `hostkey_method_ssh_rsa_init':
(.text+0x4a9): undefined reference to `gcry_sexp_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x161): undefined reference to `gcry_mpi_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x172): undefined reference to `gcry_mpi_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x183): undefined reference to `gcry_mpi_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x194): undefined reference to `gcry_mpi_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x23d): undefined reference to `gcry_mpi_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x248): undefined reference to `gcry_mpi_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x253): undefined reference to `gcry_mpi_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x25e): undefined reference to `gcry_mpi_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x28e): undefined reference to `gcry_mpi_randomize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x2a1): undefined reference to `gcry_mpi_powm'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x2aa): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x2b8): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x2d1): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x310): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x321): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o):(.text+0x334): more undefined references to `gcry_mpi_get_nbits' follow
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x359): undefined reference to `gcry_mpi_print'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x444): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x465): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x483): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x48f): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x4b7): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x576): undefined reference to `gcry_mpi_scan'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x5af): undefined reference to `gcry_mpi_powm'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x5b8): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x5c6): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x5e2): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x622): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x633): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o):(.text+0x642): more undefined references to `gcry_mpi_get_nbits' follow
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x66a): undefined reference to `gcry_mpi_print'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x67d): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x6b5): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x6d7): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x701): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x722): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x744): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o):(.text+0x75e): more undefined references to `gcry_md_write' follow
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x87e): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x89f): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x9fc): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xa08): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xa2f): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xa52): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xa6a): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xa7c): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xa99): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xab0): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xae5): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xaf8): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xb1d): undefined reference to `gcry_mpi_print'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xccc): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xcd8): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xcff): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xd22): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xd3a): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xd4c): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xd69): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xd80): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xddc): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xde8): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xe0e): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xe31): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xe49): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xe5d): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xe7a): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xe91): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xf8c): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xf98): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xfbf): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xfe2): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0xffa): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x100c): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1029): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1040): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x109c): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x10a8): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x10ce): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x10f1): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1109): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x111d): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x113a): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1151): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1173): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x117f): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x119e): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x129c): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x12a8): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x12cf): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x12f2): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x130a): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x131c): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1339): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1350): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1387): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1396): undefined reference to `gcry_mpi_get_nbits'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x13be): undefined reference to `gcry_mpi_print'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1578): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x158e): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `diffie_hellman_sha1':
(.text+0x1610): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group1_sha1_key_exchange':
(.text+0x16d8): undefined reference to `gcry_mpi_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group1_sha1_key_exchange':
(.text+0x16ef): undefined reference to `gcry_mpi_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group1_sha1_key_exchange':
(.text+0x1713): undefined reference to `gcry_mpi_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group1_sha1_key_exchange':
(.text+0x1721): undefined reference to `gcry_mpi_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group1_sha1_key_exchange':
(.text+0x1735): undefined reference to `gcry_mpi_set_ui'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group1_sha1_key_exchange':
(.text+0x1753): undefined reference to `gcry_mpi_scan'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha1_key_exchange':
(.text+0x17b3): undefined reference to `gcry_mpi_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha1_key_exchange':
(.text+0x17ca): undefined reference to `gcry_mpi_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha1_key_exchange':
(.text+0x17f3): undefined reference to `gcry_mpi_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha1_key_exchange':
(.text+0x1801): undefined reference to `gcry_mpi_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha1_key_exchange':
(.text+0x1902): undefined reference to `gcry_mpi_scan'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha1_key_exchange':
(.text+0x1924): undefined reference to `gcry_mpi_scan'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group14_sha1_key_exchange':
(.text+0x1a5e): undefined reference to `gcry_mpi_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group14_sha1_key_exchange':
(.text+0x1a75): undefined reference to `gcry_mpi_release'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group14_sha1_key_exchange':
(.text+0x1a93): undefined reference to `gcry_mpi_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group14_sha1_key_exchange':
(.text+0x1aa1): undefined reference to `gcry_mpi_new'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group14_sha1_key_exchange':
(.text+0x1ab5): undefined reference to `gcry_mpi_set_ui'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group14_sha1_key_exchange':
(.text+0x1ad3): undefined reference to `gcry_mpi_scan'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(kex.o): In function `_libssh2_kex_exchange':
(.text+0x246b): undefined reference to `gcry_randomize'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash':
(.text+0x79): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash':
(.text+0x8b): undefined reference to `gcry_md_setkey'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash':
(.text+0x9f): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash':
(.text+0xaf): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash':
(.text+0xbe): undefined reference to `gcry_md_get_algo'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash':
(.text+0xc5): undefined reference to `gcry_md_get_algo_dlen'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash':
(.text+0xd3): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash':
(.text+0xea): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash':
(.text+0x125): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash':
(.text+0x179): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash':
(.text+0x18b): undefined reference to `gcry_md_setkey'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash':
(.text+0x19f): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash':
(.text+0x1af): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash':
(.text+0x1be): undefined reference to `gcry_md_get_algo'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash':
(.text+0x1c5): undefined reference to `gcry_md_get_algo_dlen'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash':
(.text+0x1d3): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash':
(.text+0x1ea): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash':
(.text+0x225): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash':
(.text+0x2d9): undefined reference to `gcry_md_open'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash':
(.text+0x2eb): undefined reference to `gcry_md_setkey'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash':
(.text+0x2ff): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash':
(.text+0x30f): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash':
(.text+0x31e): undefined reference to `gcry_md_get_algo'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash':
(.text+0x325): undefined reference to `gcry_md_get_algo_dlen'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash':
(.text+0x333): undefined reference to `gcry_md_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash':
(.text+0x34a): undefined reference to `gcry_md_close'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash':
(.text+0x385): undefined reference to `gcry_md_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libssh2.a(crypt.o): In function `crypt_dtor':
(.text+0x1e): undefined reference to `gcry_cipher_close'
collect2: error: ld returned 1 exit status