kex.c:(.text+0x17f8): undefined reference to `mbedtls_mpi_read_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha256_key_exchange': kex.c:(.text+0x1be0): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x1bf8): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x1d3c): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x1d4c): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x1da0): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x1dc8): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x1dd8): undefined reference to `mbedtls_mpi_write_binary' kex.c:(.text+0x1f64): undefined reference to `mbedtls_md_update' kex.c:(.text+0x1fa8): undefined reference to `mbedtls_md_update' kex.c:(.text+0x1fec): undefined reference to `mbedtls_md_update' kex.c:(.text+0x205c): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x2094): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x20a4): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x20e8): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x2110): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x2124): undefined reference to `mbedtls_mpi_write_binary' kex.c:(.text+0x216c): undefined reference to `mbedtls_md_update' kex.c:(.text+0x2188): undefined reference to `mbedtls_md_update' kex.c:(.text+0x21b0): undefined reference to `mbedtls_md_update' kex.c:(.text+0x21cc): undefined reference to `mbedtls_md_update' kex.c:(.text+0x21e8): undefined reference to `mbedtls_md_update' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o):kex.c:(.text+0x21f8): more undefined references to `mbedtls_md_update' follow /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash': mac.c:(.text+0x88): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x98): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0xb4): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0xc0): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0xc8): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash': mac.c:(.text+0x120): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x130): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x14c): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x158): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x160): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash': mac.c:(.text+0x1b8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x1c8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x1e4): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x1f0): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x1f8): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_sha2_512_hash': mac.c:(.text+0x250): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x260): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x27c): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x288): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x290): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_sha2_256_hash': mac.c:(.text+0x2e8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x2f8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x314): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x320): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x328): undefined reference to `mbedtls_md_free' collect2: error: ld returned 1 exit status make[4]: *** [tests/ThreadTest] Error 1 make[3]: *** [tests/CMakeFiles/ThreadTest.dir/all] Error 2 In file included from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/validators/datatype/DatatypeValidator.hpp:30:0, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/framework/XMLAttr.hpp:28, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/framework/XMLValidator.hpp:25, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/sax2/SAX2XMLReader.hpp:27, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/sax2/XMLReaderFactory.hpp:25, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XSTSHarness.hpp:37, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XMLHarnessHandlers.hpp:26, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XMLHarnessHandlers.cpp:25: /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/validators/schema/SchemaSymbols.hpp:33:25: warning: 'class xercesc_3_2::SchemaSymbols' only defines private constructors and has no friends [-Wctor-dtor-privacy] class VALIDATORS_EXPORT SchemaSymbols ^~~~~~~~~~~~~ In file included from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/framework/psvi/XSObject.hpp:26:0, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/framework/psvi/XSTypeDefinition.hpp:25, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/framework/psvi/XSSimpleTypeDefinition.hpp:25, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/validators/datatype/DatatypeValidator.hpp:32, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/framework/XMLAttr.hpp:28, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/framework/XMLValidator.hpp:25, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/sax2/SAX2XMLReader.hpp:27, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/sax2/XMLReaderFactory.hpp:25, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XSTSHarness.hpp:37, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XMLHarnessHandlers.hpp:26, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XMLHarnessHandlers.cpp:25: /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/framework/psvi/XSConstants.hpp:56:24: warning: 'class xercesc_3_2::XSConstants' only defines private constructors and has no friends [-Wctor-dtor-privacy] class XMLPARSER_EXPORT XSConstants ^~~~~~~~~~~ In file included from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XSTSHarness.hpp:40:0, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XMLHarnessHandlers.hpp:26, from /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XMLHarnessHandlers.cpp:25: /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/util/XMLURL.hpp: In member function 'const XMLCh* xercesc_3_2::XMLURL::getURLText() const': /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/src/xercesc/util/XMLURL.hpp:277:19: warning: cast from type 'const xercesc_3_2::XMLURL*' to type 'xercesc_3_2::XMLURL*' casts away qualifiers [-Wcast-qual] ((XMLURL*)this)->buildFullText(); ^~~~ /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XMLHarnessHandlers.cpp: In constructor 'XMLHarnessHandlers::XMLHarnessHandlers(const XMLCh*, const XMLCh*)': /home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/tests/src/XSTSHarness/XMLHarnessHandlers.cpp:40:62: warning: cast from type 'const XMLCh* {aka const char16_t*}' to type 'void*' casts away qualifiers [-Wcast-qual] fParser->setProperty(XMLUni::fgXercesScannerName, (void*)scanner); ^~~~~~~ /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(hostkey.o): In function `hostkey_method_ssh_rsa_signv': hostkey.c:(.text+0xa0): undefined reference to `mbedtls_md_update' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(knownhost.o): In function `knownhost_check': knownhost.c:(.text+0x724): undefined reference to `mbedtls_md_hmac_update' knownhost.c:(.text+0x730): undefined reference to `mbedtls_md_hmac_finish' knownhost.c:(.text+0x738): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_pub_priv_key.isra.2': mbedtls.c:(.text+0x10): undefined reference to `mbedtls_pk_get_type' mbedtls.c:(.text+0x20): undefined reference to `mbedtls_pk_free' mbedtls.c:(.text+0x68): undefined reference to `mbedtls_mpi_size' mbedtls.c:(.text+0x78): undefined reference to `mbedtls_mpi_size' mbedtls.c:(.text+0xd0): undefined reference to `mbedtls_mpi_write_binary' mbedtls.c:(.text+0xec): undefined reference to `mbedtls_mpi_write_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_init': mbedtls.c:(.text+0x148): undefined reference to `mbedtls_entropy_init' mbedtls.c:(.text+0x150): undefined reference to `mbedtls_ctr_drbg_init' mbedtls.c:(.text+0x168): undefined reference to `mbedtls_ctr_drbg_seed' mbedtls.c:(.text+0x180): undefined reference to `mbedtls_ctr_drbg_free' mbedtls.c:(.text+0x194): undefined reference to `mbedtls_entropy_func' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_free': mbedtls.c:(.text+0x1a4): undefined reference to `mbedtls_ctr_drbg_free' mbedtls.c:(.text+0x1b0): undefined reference to `mbedtls_entropy_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_random': mbedtls.c:(.text+0x1c8): undefined reference to `mbedtls_ctr_drbg_random' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_cipher_init': mbedtls.c:(.text+0x1fc): undefined reference to `mbedtls_cipher_info_from_type' mbedtls.c:(.text+0x20c): undefined reference to `mbedtls_cipher_init' mbedtls.c:(.text+0x218): undefined reference to `mbedtls_cipher_setup' mbedtls.c:(.text+0x23c): undefined reference to `mbedtls_cipher_setkey' mbedtls.c:(.text+0x254): undefined reference to `mbedtls_cipher_set_iv' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_cipher_crypt': mbedtls.c:(.text+0x2a4): undefined reference to `mbedtls_cipher_reset' mbedtls.c:(.text+0x2c8): undefined reference to `mbedtls_cipher_update' mbedtls.c:(.text+0x2e4): undefined reference to `mbedtls_cipher_finish' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_cipher_dtor': mbedtls.c:(.text+0x320): undefined reference to `mbedtls_cipher_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_hash_init': mbedtls.c:(.text+0x338): undefined reference to `mbedtls_md_info_from_type' mbedtls.c:(.text+0x348): undefined reference to `mbedtls_md_init' mbedtls.c:(.text+0x35c): undefined reference to `mbedtls_md_setup' mbedtls.c:(.text+0x37c): undefined reference to `mbedtls_md_hmac_starts' mbedtls.c:(.text+0x390): undefined reference to `mbedtls_md_starts' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_hash_final': mbedtls.c:(.text+0x3a8): undefined reference to `mbedtls_md_finish' mbedtls.c:(.text+0x3b4): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_hash': mbedtls.c:(.text+0x3d8): undefined reference to `mbedtls_md_info_from_type' mbedtls.c:(.text+0x3f0): undefined reference to `mbedtls_md' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_bignum_init': mbedtls.c:(.text+0x420): undefined reference to `mbedtls_mpi_init' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_bignum_free': mbedtls.c:(.text+0x438): undefined reference to `mbedtls_mpi_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_new_private': mbedtls.c:(.text+0x47c): undefined reference to `mbedtls_rsa_init' mbedtls.c:(.text+0x484): undefined reference to `mbedtls_pk_init' mbedtls.c:(.text+0x494): undefined reference to `mbedtls_pk_parse_keyfile' mbedtls.c:(.text+0x4a4): undefined reference to `mbedtls_pk_free' mbedtls.c:(.text+0x4ac): undefined reference to `mbedtls_rsa_free' mbedtls.c:(.text+0x4d4): undefined reference to `mbedtls_pk_get_type' mbedtls.c:(.text+0x4e8): undefined reference to `mbedtls_rsa_copy' mbedtls.c:(.text+0x4f0): undefined reference to `mbedtls_pk_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_new_private_frommemory': mbedtls.c:(.text+0x534): undefined reference to `mbedtls_pk_init' mbedtls.c:(.text+0x54c): undefined reference to `mbedtls_pk_parse_key' mbedtls.c:(.text+0x55c): undefined reference to `mbedtls_pk_free' mbedtls.c:(.text+0x564): undefined reference to `mbedtls_rsa_free' mbedtls.c:(.text+0x58c): undefined reference to `mbedtls_pk_get_type' mbedtls.c:(.text+0x5a0): undefined reference to `mbedtls_rsa_copy' mbedtls.c:(.text+0x5a8): undefined reference to `mbedtls_pk_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_sha1_verify': mbedtls.c:(.text+0x60c): undefined reference to `mbedtls_rsa_pkcs1_verify' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_sha1_sign': mbedtls.c:(.text+0x670): undefined reference to `mbedtls_rsa_pkcs1_sign' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_free': mbedtls.c:(.text+0x6b4): undefined reference to `mbedtls_rsa_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_new': mbedtls.c:(.text+0x6fc): undefined reference to `mbedtls_rsa_init' mbedtls.c:(.text+0x70c): undefined reference to `mbedtls_mpi_read_binary' mbedtls.c:(.text+0x740): undefined reference to `mbedtls_mpi_read_binary' mbedtls.c:(.text+0x758): undefined reference to `mbedtls_mpi_read_binary' mbedtls.c:(.text+0x770): undefined reference to `mbedtls_mpi_read_binary' mbedtls.c:(.text+0x788): undefined reference to `mbedtls_mpi_read_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o):mbedtls.c:(.text+0x7a0): more undefined references to `mbedtls_mpi_read_binary' follow /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_new': mbedtls.c:(.text+0x7c0): undefined reference to `mbedtls_rsa_check_privkey' mbedtls.c:(.text+0x7f8): undefined reference to `mbedtls_mpi_read_binary' mbedtls.c:(.text+0x808): undefined reference to `mbedtls_mpi_size' mbedtls.c:(.text+0x824): undefined reference to `mbedtls_rsa_check_pubkey' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_pub_priv_keyfile': mbedtls.c:(.text+0x840): undefined reference to `mbedtls_pk_init' mbedtls.c:(.text+0x850): undefined reference to `mbedtls_pk_parse_keyfile' mbedtls.c:(.text+0x864): undefined reference to `mbedtls_strerror' mbedtls.c:(.text+0x86c): undefined reference to `mbedtls_pk_free' mbedtls.c:(.text+0x8a8): undefined reference to `mbedtls_pk_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_pub_priv_keyfilememory': mbedtls.c:(.text+0x8c0): undefined reference to `mbedtls_pk_init' mbedtls.c:(.text+0x8d8): undefined reference to `mbedtls_pk_parse_key' mbedtls.c:(.text+0x8ec): undefined reference to `mbedtls_strerror' mbedtls.c:(.text+0x8f4): undefined reference to `mbedtls_pk_free' mbedtls.c:(.text+0x92c): undefined reference to `mbedtls_pk_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_dh_key_pair': mbedtls.c:(.text+0x994): undefined reference to `mbedtls_mpi_fill_random' mbedtls.c:(.text+0x9c0): undefined reference to `mbedtls_mpi_exp_mod' mbedtls.c:(.text+0x9e0): undefined reference to `mbedtls_mpi_set_bit' mbedtls.c:(.text+0xa08): undefined reference to `mbedtls_mpi_set_bit' mbedtls.c:(.text+0xa1c): undefined reference to `mbedtls_mpi_set_bit' mbedtls.c:(.text+0xa28): undefined reference to `mbedtls_ctr_drbg_random' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_dh_secret': mbedtls.c:(.text+0xa48): undefined reference to `mbedtls_mpi_exp_mod' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_dh_dtor': mbedtls.c:(.text+0xa64): undefined reference to `mbedtls_mpi_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(bcrypt_pbkdf.o)[ 94%] Linking CXX executable XSTSHarness : In function `bcrypt_pbkdf': bcrypt_pbkdf.c:(.text+0x1fc): undefined reference to `mbedtls_md_update' bcrypt_pbkdf.c:(.text+0x258): undefined reference to `mbedtls_md_update' bcrypt_pbkdf.c:(.text+0x300): undefined reference to `mbedtls_md_update' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `diffie_hellman_sha1': kex.c:(.text+0x26c): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x27c): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x2cc): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x2f4): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x304): undefined reference to `mbedtls_mpi_write_binary' kex.c:(.text+0x4a0): undefined reference to `mbedtls_md_update' kex.c:(.text+0x4e4): undefined reference to `mbedtls_md_update' kex.c:(.text+0x528): undefined reference to `mbedtls_md_update' kex.c:(.text+0x598): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x5d0): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x5e0): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x624): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x64c): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x660): undefined reference to `mbedtls_mpi_write_binary' kex.c:(.text+0x6a8): undefined reference to `mbedtls_md_update' kex.c:(.text+0x6c4): undefined reference to `mbedtls_md_update' kex.c:(.text+0x6e8): undefined reference to `mbedtls_md_update' kex.c:(.text+0x704): undefined reference to `mbedtls_md_update' kex.c:(.text+0x720): undefined reference to `mbedtls_md_update' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o):kex.c:(.text+0x730): more undefined references to `mbedtls_md_update' follow /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha1_key_exchange': kex.c:(.text+0x12fc): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x1314): undefined reference to `mbedtls_mpi_read_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group1_sha1_key_exchange': kex.c:(.text+0x1730): undefined reference to `mbedtls_mpi_lset' kex.c:(.text+0x1740): undefined reference to `mbedtls_mpi_read_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group14_sha1_key_exchange': kex.c:(.text+0x17e8): undefined reference to `mbedtls_mpi_lset' kex.c:(.text+0x17f8): undefined reference to `mbedtls_mpi_read_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha256_key_exchange': kex.c:(.text+0x1be0): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x1bf8): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x1d3c): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x1d4c): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x1da0): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x1dc8): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x1dd8): undefined reference to `mbedtls_mpi_write_binary' kex.c:(.text+0x1f64): undefined reference to `mbedtls_md_update' kex.c:(.text+0x1fa8): undefined reference to `mbedtls_md_update' kex.c:(.text+0x1fec): undefined reference to `mbedtls_md_update' kex.c:(.text+0x205c): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x2094): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x20a4): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x20e8): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x2110): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x2124): undefined reference to `mbedtls_mpi_write_binary' kex.c:(.text+0x216c): undefined reference to `mbedtls_md_update' kex.c:(.text+0x2188): undefined reference to `mbedtls_md_update' kex.c:(.text+0x21b0): undefined reference to `mbedtls_md_update' kex.c:(.text+0x21cc): undefined reference to `mbedtls_md_update' kex.c:(.text+0x21e8): undefined reference to `mbedtls_md_update' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o):kex.c:(.text+0x21f8): more undefined references to `mbedtls_md_update' follow /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash': mac.c:(.text+0x88): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x98): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0xb4): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0xc0): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0xc8): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash': mac.c:(.text+0x120): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x130): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x14c): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x158): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x160): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash': mac.c:(.text+0x1b8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x1c8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x1e4): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x1f0): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x1f8): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_sha2_512_hash': mac.c:(.text+0x250): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x260): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x27c): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x288): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x290): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_sha2_256_hash': mac.c:(.text+0x2e8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x2f8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x314): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x320): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x328): undefined reference to `mbedtls_md_free' collect2: error: ld returned 1 exit status make[4]: *** [tests/XSerializerTest] Error 1 make[3]: *** [tests/CMakeFiles/XSerializerTest.dir/all] Error 2 /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(hostkey.o): In function `hostkey_method_ssh_rsa_signv': hostkey.c:(.text+0xa0): undefined reference to `mbedtls_md_update' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(knownhost.o): In function `knownhost_check': knownhost.c:(.text+0x724): undefined reference to `mbedtls_md_hmac_update' knownhost.c:(.text+0x730): undefined reference to `mbedtls_md_hmac_finish' knownhost.c:(.text+0x738): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_pub_priv_key.isra.2': mbedtls.c:(.text+0x10): undefined reference to `mbedtls_pk_get_type' mbedtls.c:(.text+0x20): undefined reference to `mbedtls_pk_free' mbedtls.c:(.text+0x68): undefined reference to `mbedtls_mpi_size' mbedtls.c:(.text+0x78): undefined reference to `mbedtls_mpi_size' mbedtls.c:(.text+0xd0): undefined reference to `mbedtls_mpi_write_binary' mbedtls.c:(.text+0xec): undefined reference to `mbedtls_mpi_write_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_init': mbedtls.c:(.text+0x148): undefined reference to `mbedtls_entropy_init' mbedtls.c:(.text+0x150): undefined reference to `mbedtls_ctr_drbg_init' mbedtls.c:(.text+0x168): undefined reference to `mbedtls_ctr_drbg_seed' mbedtls.c:(.text+0x180): undefined reference to `mbedtls_ctr_drbg_free' mbedtls.c:(.text+0x194): undefined reference to `mbedtls_entropy_func' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_free': mbedtls.c:(.text+0x1a4): undefined reference to `mbedtls_ctr_drbg_free' mbedtls.c:(.text+0x1b0): undefined reference to `mbedtls_entropy_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_random': mbedtls.c:(.text+0x1c8): undefined reference to `mbedtls_ctr_drbg_random' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_cipher_init': mbedtls.c:(.text+0x1fc): undefined reference to `mbedtls_cipher_info_from_type' mbedtls.c:(.text+0x20c): undefined reference to `mbedtls_cipher_init' mbedtls.c:(.text+0x218): undefined reference to `mbedtls_cipher_setup' mbedtls.c:(.text+0x23c): undefined reference to `mbedtls_cipher_setkey' mbedtls.c:(.text+0x254): undefined reference to `mbedtls_cipher_set_iv' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_cipher_crypt': mbedtls.c:(.text+0x2a4): undefined reference to `mbedtls_cipher_reset' mbedtls.c:(.text+0x2c8): undefined reference to `mbedtls_cipher_update' mbedtls.c:(.text+0x2e4): undefined reference to `mbedtls_cipher_finish' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_cipher_dtor': mbedtls.c:(.text+0x320): undefined reference to `mbedtls_cipher_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_hash_init': mbedtls.c:(.text+0x338): undefined reference to `mbedtls_md_info_from_type' mbedtls.c:(.text+0x348): undefined reference to `mbedtls_md_init' mbedtls.c:(.text+0x35c): undefined reference to `mbedtls_md_setup' mbedtls.c:(.text+0x37c): undefined reference to `mbedtls_md_hmac_starts' mbedtls.c:(.text+0x390): undefined reference to `mbedtls_md_starts' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_hash_final': mbedtls.c:(.text+0x3a8): undefined reference to `mbedtls_md_finish' mbedtls.c:(.text+0x3b4): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_hash': mbedtls.c:(.text+0x3d8): undefined reference to `mbedtls_md_info_from_type' mbedtls.c:(.text+0x3f0): undefined reference to `mbedtls_md' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_bignum_init': mbedtls.c:(.text+0x420): undefined reference to `mbedtls_mpi_init' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_bignum_free': mbedtls.c:(.text+0x438): undefined reference to `mbedtls_mpi_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_new_private': mbedtls.c:(.text+0x47c): undefined reference to `mbedtls_rsa_init' mbedtls.c:(.text+0x484): undefined reference to `mbedtls_pk_init' mbedtls.c:(.text+0x494): undefined reference to `mbedtls_pk_parse_keyfile' mbedtls.c:(.text+0x4a4): undefined reference to `mbedtls_pk_free' mbedtls.c:(.text+0x4ac): undefined reference to `mbedtls_rsa_free' mbedtls.c:(.text+0x4d4): undefined reference to `mbedtls_pk_get_type' mbedtls.c:(.text+0x4e8): undefined reference to `mbedtls_rsa_copy' mbedtls.c:(.text+0x4f0): undefined reference to `mbedtls_pk_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_new_private_frommemory': mbedtls.c:(.text+0x534): undefined reference to `mbedtls_pk_init' mbedtls.c:(.text+0x54c): undefined reference to `mbedtls_pk_parse_key' mbedtls.c:(.text+0x55c): undefined reference to `mbedtls_pk_free' mbedtls.c:(.text+0x564): undefined reference to `mbedtls_rsa_free' mbedtls.c:(.text+0x58c): undefined reference to `mbedtls_pk_get_type' mbedtls.c:(.text+0x5a0): undefined reference to `mbedtls_rsa_copy' mbedtls.c:(.text+0x5a8): undefined reference to `mbedtls_pk_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_sha1_verify': mbedtls.c:(.text+0x60c): undefined reference to `mbedtls_rsa_pkcs1_verify' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_sha1_sign': mbedtls.c:(.text+0x670): undefined reference to `mbedtls_rsa_pkcs1_sign' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_free': mbedtls.c:(.text+0x6b4): undefined reference to `mbedtls_rsa_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_new': mbedtls.c:(.text+0x6fc): undefined reference to `mbedtls_rsa_init' mbedtls.c:(.text+0x70c): undefined reference to `mbedtls_mpi_read_binary' mbedtls.c:(.text+0x740): undefined reference to `mbedtls_mpi_read_binary' mbedtls.c:(.text+0x758): undefined reference to `mbedtls_mpi_read_binary' mbedtls.c:(.text+0x770): undefined reference to `mbedtls_mpi_read_binary' mbedtls.c:(.text+0x788): undefined reference to `mbedtls_mpi_read_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o):mbedtls.c:(.text+0x7a0): more undefined references to `mbedtls_mpi_read_binary' follow /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_rsa_new': mbedtls.c:(.text+0x7c0): undefined reference to `mbedtls_rsa_check_privkey' mbedtls.c:(.text+0x7f8): undefined reference to `mbedtls_mpi_read_binary' mbedtls.c:(.text+0x808): undefined reference to `mbedtls_mpi_size' mbedtls.c:(.text+0x824): undefined reference to `mbedtls_rsa_check_pubkey' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_pub_priv_keyfile': mbedtls.c:(.text+0x840): undefined reference to `mbedtls_pk_init' mbedtls.c:(.text+0x850): undefined reference to `mbedtls_pk_parse_keyfile' mbedtls.c:(.text+0x864): undefined reference to `mbedtls_strerror' mbedtls.c:(.text+0x86c): undefined reference to `mbedtls_pk_free' mbedtls.c:(.text+0x8a8): undefined reference to `mbedtls_pk_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_mbedtls_pub_priv_keyfilememory': mbedtls.c:(.text+0x8c0): undefined reference to `mbedtls_pk_init' mbedtls.c:(.text+0x8d8): undefined reference to `mbedtls_pk_parse_key' mbedtls.c:(.text+0x8ec): undefined reference to `mbedtls_strerror' mbedtls.c:(.text+0x8f4): undefined reference to `mbedtls_pk_free' mbedtls.c:(.text+0x92c): undefined reference to `mbedtls_pk_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_dh_key_pair': mbedtls.c:(.text+0x994): undefined reference to `mbedtls_mpi_fill_random' mbedtls.c:(.text+0x9c0): undefined reference to `mbedtls_mpi_exp_mod' mbedtls.c:(.text+0x9e0): undefined reference to `mbedtls_mpi_set_bit' mbedtls.c:(.text+0xa08): undefined reference to `mbedtls_mpi_set_bit' mbedtls.c:(.text+0xa1c): undefined reference to `mbedtls_mpi_set_bit' mbedtls.c:(.text+0xa28): undefined reference to `mbedtls_ctr_drbg_random' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_dh_secret': mbedtls.c:(.text+0xa48): undefined reference to `mbedtls_mpi_exp_mod' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mbedtls.o): In function `_libssh2_dh_dtor': mbedtls.c:(.text+0xa64): undefined reference to `mbedtls_mpi_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(bcrypt_pbkdf.o): In function `bcrypt_pbkdf': bcrypt_pbkdf.c:(.text+0x1fc): undefined reference to `mbedtls_md_update' bcrypt_pbkdf.c:(.text+0x258): undefined reference to `mbedtls_md_update' bcrypt_pbkdf.c:(.text+0x300): undefined reference to `mbedtls_md_update' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `diffie_hellman_sha1': kex.c:(.text+0x26c): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x27c): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x2cc): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x2f4): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x304): undefined reference to `mbedtls_mpi_write_binary' kex.c:(.text+0x4a0): undefined reference to `mbedtls_md_update' kex.c:(.text+0x4e4): undefined reference to `mbedtls_md_update' kex.c:(.text+0x528): undefined reference to `mbedtls_md_update' kex.c:(.text+0x598): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x5d0): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x5e0): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x624): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x64c): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x660): undefined reference to `mbedtls_mpi_write_binary' kex.c:(.text+0x6a8): undefined reference to `mbedtls_md_update' kex.c:(.text+0x6c4): undefined reference to `mbedtls_md_update' kex.c:(.text+0x6e8): undefined reference to `mbedtls_md_update' kex.c:(.text+0x704): undefined reference to `mbedtls_md_update' kex.c:(.text+0x720): undefined reference to `mbedtls_md_update' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o):kex.c:(.text+0x730): more undefined references to `mbedtls_md_update' follow /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha1_key_exchange': kex.c:(.text+0x12fc): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x1314): undefined reference to `mbedtls_mpi_read_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group1_sha1_key_exchange': kex.c:(.text+0x1730): undefined reference to `mbedtls_mpi_lset' kex.c:(.text+0x1740): undefined reference to `mbedtls_mpi_read_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group14_sha1_key_exchange': kex.c:(.text+0x17e8): undefined reference to `mbedtls_mpi_lset' kex.c:(.text+0x17f8): undefined reference to `mbedtls_mpi_read_binary' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o): In function `kex_method_diffie_hellman_group_exchange_sha256_key_exchange': kex.c:(.text+0x1be0): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x1bf8): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x1d3c): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x1d4c): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x1da0): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x1dc8): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x1dd8): undefined reference to `mbedtls_mpi_write_binary' kex.c:(.text+0x1f64): undefined reference to `mbedtls_md_update' kex.c:(.text+0x1fa8): undefined reference to `mbedtls_md_update' kex.c:(.text+0x1fec): undefined reference to `mbedtls_md_update' kex.c:(.text+0x205c): undefined reference to `mbedtls_mpi_read_binary' kex.c:(.text+0x2094): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x20a4): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x20e8): undefined reference to `mbedtls_mpi_bitlen' kex.c:(.text+0x2110): undefined reference to `mbedtls_mpi_size' kex.c:(.text+0x2124): undefined reference to `mbedtls_mpi_write_binary' kex.c:(.text+0x216c): undefined reference to `mbedtls_md_update' kex.c:(.text+0x2188): undefined reference to `mbedtls_md_update' kex.c:(.text+0x21b0): undefined reference to `mbedtls_md_update' kex.c:(.text+0x21cc): undefined reference to `mbedtls_md_update' kex.c:(.text+0x21e8): undefined reference to `mbedtls_md_update' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(kex.o):kex.c:(.text+0x21f8): more undefined references to `mbedtls_md_update' follow /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_ripemd160_hash': mac.c:(.text+0x88): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x98): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0xb4): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0xc0): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0xc8): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_md5_hash': mac.c:(.text+0x120): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x130): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x14c): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x158): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x160): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_sha1_hash': mac.c:(.text+0x1b8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x1c8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x1e4): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x1f0): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x1f8): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_sha2_512_hash': mac.c:(.text+0x250): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x260): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x27c): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x288): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x290): undefined reference to `mbedtls_md_free' /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssh2.a(mac.o): In function `mac_method_hmac_sha2_256_hash': mac.c:(.text+0x2e8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x2f8): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x314): undefined reference to `mbedtls_md_hmac_update' mac.c:(.text+0x320): undefined reference to `mbedtls_md_hmac_finish' mac.c:(.text+0x328): undefined reference to `mbedtls_md_free' collect2: error: ld returned 1 exit status make[4]: *** [tests/XSTSHarness] Error 1 make[3]: *** [tests/CMakeFiles/XSTSHarness.dir/all] Error 2 make[2]: *** [all] Error 2 make[1]: *** [/home/buildroot/autobuild/run/instance-0/output/build/xerces-3.2.2/.stamp_built] Error 2 make: *** [_all] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-0/buildroot'