Overview
Features
Download
Documentation
Community
Add-Ons & Services

Link Errors while compiling POCO Mail (SSL based) Sample.

Please post support and help requests here.

Link Errors while compiling POCO Mail (SSL based) Sample.

Postby stng » 24 Jun 2012, 08:42

Hi ,

I am compiling in release_static_md configuration , but facing these unexpected errors:

Code: Select all
Microsoft (R) Visual Studio Version 9.0.21022.8.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Build started: Project: Mail, Configuration: release_static_md Win32 ------
1>Linking...
1>PocoNetSSLmd.lib(SSLManager.obj) : error LNK2019: unresolved external symbol _X509_verify_cert_error_string referenced in function "private: static int __cdecl Poco::Net::SSLManager::verifyCallback(bool,int,struct x509_store_ctx_st *)" (?verifyCallback@SSLManager@Net@Poco@@CAH_NHPAUx509_store_ctx_st@@@Z)
1>PocoNetSSLmd.lib(Utility.obj) : error LNK2001: unresolved external symbol _X509_verify_cert_error_string
1>PocoNetSSLmd.lib(SSLManager.obj) : error LNK2019: unresolved external symbol _X509_STORE_CTX_get_error referenced in function "private: static int __cdecl Poco::Net::SSLManager::verifyCallback(bool,int,struct x509_store_ctx_st *)" (?verifyCallback@SSLManager@Net@Poco@@CAH_NHPAUx509_store_ctx_st@@@Z)
1>PocoNetSSLmd.lib(SSLManager.obj) : error LNK2019: unresolved external symbol _X509_STORE_CTX_get_error_depth referenced in function "private: static int __cdecl Poco::Net::SSLManager::verifyCallback(bool,int,struct x509_store_ctx_st *)" (?verifyCallback@SSLManager@Net@Poco@@CAH_NHPAUx509_store_ctx_st@@@Z)
1>PocoNetSSLmd.lib(SSLManager.obj) : error LNK2019: unresolved external symbol _X509_STORE_CTX_get_current_cert referenced in function "private: static int __cdecl Poco::Net::SSLManager::verifyCallback(bool,int,struct x509_store_ctx_st *)" (?verifyCallback@SSLManager@Net@Poco@@CAH_NHPAUx509_store_ctx_st@@@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_ctrl referenced in function "public: __thiscall Poco::Net::Context::Context(enum Poco::Net::Context::Usage,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Poco::Net::Context::VerificationMode,int,bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Context@Net@Poco@@QAE@W4Usage@012@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@11W4VerificationMode@012@H_N1@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_set_verify_depth referenced in function "public: __thiscall Poco::Net::Context::Context(enum Poco::Net::Context::Usage,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Poco::Net::Context::VerificationMode,int,bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Context@Net@Poco@@QAE@W4Usage@012@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@11W4VerificationMode@012@H_N1@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_set_cipher_list referenced in function "public: __thiscall Poco::Net::Context::Context(enum Poco::Net::Context::Usage,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Poco::Net::Context::VerificationMode,int,bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Context@Net@Poco@@QAE@W4Usage@012@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@11W4VerificationMode@012@H_N1@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_set_verify referenced in function "public: __thiscall Poco::Net::Context::Context(enum Poco::Net::Context::Usage,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Poco::Net::Context::VerificationMode,int,bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Context@Net@Poco@@QAE@W4Usage@012@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@11W4VerificationMode@012@H_N1@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_use_certificate_chain_file referenced in function "public: __thiscall Poco::Net::Context::Context(enum Poco::Net::Context::Usage,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Poco::Net::Context::VerificationMode,int,bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Context@Net@Poco@@QAE@W4Usage@012@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@11W4VerificationMode@012@H_N1@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_use_PrivateKey_file referenced in function "public: __thiscall Poco::Net::Context::Context(enum Poco::Net::Context::Usage,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Poco::Net::Context::VerificationMode,int,bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Context@Net@Poco@@QAE@W4Usage@012@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@11W4VerificationMode@012@H_N1@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_set_default_verify_paths referenced in function "public: __thiscall Poco::Net::Context::Context(enum Poco::Net::Context::Usage,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Poco::Net::Context::VerificationMode,int,bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Context@Net@Poco@@QAE@W4Usage@012@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@11W4VerificationMode@012@H_N1@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_free referenced in function "public: __thiscall Poco::Net::Context::Context(enum Poco::Net::Context::Usage,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Poco::Net::Context::VerificationMode,int,bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Context@Net@Poco@@QAE@W4Usage@012@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@11W4VerificationMode@012@H_N1@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_load_verify_locations referenced in function "public: __thiscall Poco::Net::Context::Context(enum Poco::Net::Context::Usage,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Poco::Net::Context::VerificationMode,int,bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Context@Net@Poco@@QAE@W4Usage@012@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@11W4VerificationMode@012@H_N1@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_use_certificate referenced in function "public: void __thiscall Poco::Net::Context::useCertificate(class Poco::Crypto::X509Certificate const &)" (?useCertificate@Context@Net@Poco@@QAEXABVX509Certificate@Crypto@3@@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_use_RSAPrivateKey referenced in function "public: void __thiscall Poco::Net::Context::usePrivateKey(class Poco::Crypto::RSAKey const &)" (?usePrivateKey@Context@Net@Poco@@QAEXABVRSAKey@Crypto@3@@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_set_session_id_context referenced in function "public: void __thiscall Poco::Net::Context::enableSessionCache(bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?enableSessionCache@Context@Net@Poco@@QAEX_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_set_timeout referenced in function "public: void __thiscall Poco::Net::Context::setSessionTimeout(long)" (?setSessionTimeout@Context@Net@Poco@@QAEXJ@Z)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_get_timeout referenced in function "public: long __thiscall Poco::Net::Context::getSessionTimeout(void)const " (?getSessionTimeout@Context@Net@Poco@@QBEJXZ)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_flush_sessions referenced in function "public: void __thiscall Poco::Net::Context::flushSessionCache(void)" (?flushSessionCache@Context@Net@Poco@@QAEXXZ)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_set_default_passwd_cb referenced in function "private: void __thiscall Poco::Net::Context::createSSLContext(void)" (?createSSLContext@Context@Net@Poco@@AAEXXZ)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _ERR_error_string referenced in function "private: void __thiscall Poco::Net::Context::createSSLContext(void)" (?createSSLContext@Context@Net@Poco@@AAEXXZ)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _ERR_get_error referenced in function "private: void __thiscall Poco::Net::Context::createSSLContext(void)" (?createSSLContext@Context@Net@Poco@@AAEXXZ)
1>PocoNetSSLmd.lib(Utility.obj) : error LNK2001: unresolved external symbol _ERR_get_error
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2001: unresolved external symbol _ERR_get_error
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _TLSv1_server_method referenced in function "private: void __thiscall Poco::Net::Context::createSSLContext(void)" (?createSSLContext@Context@Net@Poco@@AAEXXZ)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _TLSv1_client_method referenced in function "private: void __thiscall Poco::Net::Context::createSSLContext(void)" (?createSSLContext@Context@Net@Poco@@AAEXXZ)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSLv23_server_method referenced in function "private: void __thiscall Poco::Net::Context::createSSLContext(void)" (?createSSLContext@Context@Net@Poco@@AAEXXZ)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSLv23_client_method referenced in function "private: void __thiscall Poco::Net::Context::createSSLContext(void)" (?createSSLContext@Context@Net@Poco@@AAEXXZ)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _SSL_CTX_new referenced in function "private: void __thiscall Poco::Net::Context::createSSLContext(void)" (?createSSLContext@Context@Net@Poco@@AAEXXZ)
1>PocoNetSSLmd.lib(Context.obj) : error LNK2019: unresolved external symbol _TLSv1_method referenced in function "private: void __thiscall Poco::Net::Context::createSSLContext(void)" (?createSSLContext@Context@Net@Poco@@AAEXXZ)
1>PocoNetSSLmd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _X509_NAME_get_text_by_NID referenced in function "public: static bool __cdecl Poco::Net::X509Certificate::verify(class Poco::Crypto::X509Certificate const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?verify@X509Certificate@Net@Poco@@SA_NABV1Crypto@3@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2001: unresolved external symbol _X509_NAME_get_text_by_NID
1>PocoNetSSLmd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _X509_get_subject_name referenced in function "public: static bool __cdecl Poco::Net::X509Certificate::verify(class Poco::Crypto::X509Certificate const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?verify@X509Certificate@Net@Poco@@SA_NABV1Crypto@3@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2001: unresolved external symbol _X509_get_subject_name
1>PocoNetSSLmd.lib(Utility.obj) : error LNK2019: unresolved external symbol _ERR_error_string_n referenced in function "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Poco::Net::Utility::getLastError(void)" (?getLastError@Utility@Net@Poco@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2001: unresolved external symbol _ERR_error_string_n
1>PocoNetSSLmd.lib(Utility.obj) : error LNK2019: unresolved external symbol _ERR_clear_error referenced in function "public: static void __cdecl Poco::Net::Utility::clearErrorStack(void)" (?clearErrorStack@Utility@Net@Poco@@SAXXZ)
1>PocoNetSSLmd.lib(SecureStreamSocketImpl.obj) : error LNK2019: unresolved external symbol _X509_free referenced in function "public: bool __thiscall Poco::Net::SecureStreamSocketImpl::havePeerCertificate(void)const " (?havePeerCertificate@SecureStreamSocketImpl@Net@Poco@@QBE_NXZ)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2001: unresolved external symbol _X509_free
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_set_accept_state referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::acceptSSL(void)" (?acceptSSL@SecureSocketImpl@Net@Poco@@IAEXXZ)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_set_bio referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::acceptSSL(void)" (?acceptSSL@SecureSocketImpl@Net@Poco@@IAEXXZ)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _BIO_free referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::acceptSSL(void)" (?acceptSSL@SecureSocketImpl@Net@Poco@@IAEXXZ)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2001: unresolved external symbol _BIO_free
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_new referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::acceptSSL(void)" (?acceptSSL@SecureSocketImpl@Net@Poco@@IAEXXZ)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _BIO_int_ctrl referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::acceptSSL(void)" (?acceptSSL@SecureSocketImpl@Net@Poco@@IAEXXZ)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _BIO_new referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::acceptSSL(void)" (?acceptSSL@SecureSocketImpl@Net@Poco@@IAEXXZ)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2001: unresolved external symbol _BIO_new
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _BIO_s_socket referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::acceptSSL(void)" (?acceptSSL@SecureSocketImpl@Net@Poco@@IAEXXZ)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_free referenced in function __catch$?connectSSL@SecureSocketImpl@Net@Poco@@IAEX_N@Z$0
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_set_connect_state referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::connectSSL(bool)" (?connectSSL@SecureSocketImpl@Net@Poco@@IAEX_N@Z)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_connect referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::connectSSL(bool)" (?connectSSL@SecureSocketImpl@Net@Poco@@IAEX_N@Z)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_set_session referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::connectSSL(bool)" (?connectSSL@SecureSocketImpl@Net@Poco@@IAEX_N@Z)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_ctrl referenced in function "protected: void __thiscall Poco::Net::SecureSocketImpl::connectSSL(bool)" (?connectSSL@SecureSocketImpl@Net@Poco@@IAEX_N@Z)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_shutdown referenced in function "public: void __thiscall Poco::Net::SecureSocketImpl::shutdown(void)" (?shutdown@SecureSocketImpl@Net@Poco@@QAEXXZ)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_get_shutdown referenced in function "public: void __thiscall Poco::Net::SecureSocketImpl::shutdown(void)" (?shutdown@SecureSocketImpl@Net@Poco@@QAEXXZ)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_write referenced in function "public: int __thiscall Poco::Net::SecureSocketImpl::sendBytes(void const *,int,int)" (?sendBytes@SecureSocketImpl@Net@Poco@@QAEHPBXHH@Z)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_read referenced in function "public: int __thiscall Poco::Net::SecureSocketImpl::receiveBytes(void *,int,int)" (?receiveBytes@SecureSocketImpl@Net@Poco@@QAEHPAXHH@Z)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_pending referenced in function "public: int __thiscall Poco::Net::SecureSocketImpl::available(void)const " (?available@SecureSocketImpl@Net@Poco@@QBEHXZ)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_do_handshake referenced in function "public: int __thiscall Poco::Net::SecureSocketImpl::completeHandshake(void)" (?completeHandshake@SecureSocketImpl@Net@Poco@@QAEHXZ)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_get_peer_certificate referenced in function "protected: long __thiscall Poco::Net::SecureSocketImpl::verifyPeerCertificateImpl(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?verifyPeerCertificateImpl@SecureSocketImpl@Net@Poco@@IAEJABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_get_error referenced in function "protected: int __thiscall Poco::Net::SecureSocketImpl::handleError(int)" (?handleError@SecureSocketImpl@Net@Poco@@IAEHH@Z)
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_SESSION_free referenced in function "public: class Poco::AutoPtr<class Poco::Net::Session> __thiscall Poco::Net::SecureSocketImpl::currentSession(void)" (?currentSession@SecureSocketImpl@Net@Poco@@QAE?AV?$AutoPtr@VSession@Net@Poco@@@3@XZ)
1>PocoNetSSLmd.lib(Session.obj) : error LNK2001: unresolved external symbol _SSL_SESSION_free
1>PocoNetSSLmd.lib(SecureSocketImpl.obj) : error LNK2019: unresolved external symbol _SSL_get1_session referenced in function "public: class Poco::AutoPtr<class Poco::Net::Session> __thiscall Poco::Net::SecureSocketImpl::currentSession(void)" (?currentSession@SecureSocketImpl@Net@Poco@@QAE?AV?$AutoPtr@VSession@Net@Poco@@@3@XZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _CRYPTO_set_dynlock_destroy_callback referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::initialize(void)" (?initialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _CRYPTO_set_dynlock_lock_callback referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::initialize(void)" (?initialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _CRYPTO_set_dynlock_create_callback referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::initialize(void)" (?initialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _CRYPTO_set_locking_callback referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::initialize(void)" (?initialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _CRYPTO_num_locks referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::initialize(void)" (?initialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _RAND_seed referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::initialize(void)" (?initialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _OPENSSL_add_all_algorithms_noconf referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::initialize(void)" (?initialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _SSL_load_error_strings referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::initialize(void)" (?initialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _SSL_library_init referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::initialize(void)" (?initialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _OPENSSL_config referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::initialize(void)" (?initialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _ERR_free_strings referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::uninitialize(void)" (?uninitialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(OpenSSLInitializer.obj) : error LNK2019: unresolved external symbol _EVP_cleanup referenced in function "public: static void __cdecl Poco::Crypto::OpenSSLInitializer::uninitialize(void)" (?uninitialize@OpenSSLInitializer@Crypto@Poco@@SAXXZ)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _X509_dup referenced in function "public: __thiscall Poco::Crypto::X509Certificate::X509Certificate(class Poco::Crypto::X509Certificate const &)" (??0X509Certificate@Crypto@Poco@@QAE@ABV012@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _PEM_read_bio_X509 referenced in function "protected: void __thiscall Poco::Crypto::X509Certificate::load(class std::basic_istream<char,struct std::char_traits<char> > &)" (?load@X509Certificate@Crypto@Poco@@IAEXAAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _BIO_new_mem_buf referenced in function "protected: void __thiscall Poco::Crypto::X509Certificate::load(class std::basic_istream<char,struct std::char_traits<char> > &)" (?load@X509Certificate@Crypto@Poco@@IAEXAAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _BIO_ctrl referenced in function "protected: void __thiscall Poco::Crypto::X509Certificate::load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?load@X509Certificate@Crypto@Poco@@IAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _BIO_s_file referenced in function "protected: void __thiscall Poco::Crypto::X509Certificate::load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?load@X509Certificate@Crypto@Poco@@IAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _PEM_write_bio_X509 referenced in function "public: void __thiscall Poco::Crypto::X509Certificate::save(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?save@X509Certificate@Crypto@Poco@@QBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _BIO_s_mem referenced in function "public: void __thiscall Poco::Crypto::X509Certificate::save(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?save@X509Certificate@Crypto@Poco@@QBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _X509_NAME_oneline referenced in function "protected: void __thiscall Poco::Crypto::X509Certificate::init(void)" (?init@X509Certificate@Crypto@Poco@@IAEXXZ)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _X509_get_issuer_name referenced in function "protected: void __thiscall Poco::Crypto::X509Certificate::init(void)" (?init@X509Certificate@Crypto@Poco@@IAEXXZ)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _GENERAL_NAMES_free referenced in function "public: void __thiscall Poco::Crypto::X509Certificate::extractNames(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::set<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &)const " (?extractNames@X509Certificate@Crypto@Poco@@QBEXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$set@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@5@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _ASN1_STRING_length referenced in function "public: void __thiscall Poco::Crypto::X509Certificate::extractNames(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::set<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &)const " (?extractNames@X509Certificate@Crypto@Poco@@QBEXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$set@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@5@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _ASN1_STRING_data referenced in function "public: void __thiscall Poco::Crypto::X509Certificate::extractNames(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::set<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &)const " (?extractNames@X509Certificate@Crypto@Poco@@QBEXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$set@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@5@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _sk_value referenced in function "public: void __thiscall Poco::Crypto::X509Certificate::extractNames(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::set<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &)const " (?extractNames@X509Certificate@Crypto@Poco@@QBEXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$set@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@5@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _sk_num referenced in function "public: void __thiscall Poco::Crypto::X509Certificate::extractNames(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::set<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &)const " (?extractNames@X509Certificate@Crypto@Poco@@QBEXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$set@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@5@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _X509_get_ext_d2i referenced in function "public: void __thiscall Poco::Crypto::X509Certificate::extractNames(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::set<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &)const " (?extractNames@X509Certificate@Crypto@Poco@@QBEXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$set@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@5@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _EVP_PKEY_free referenced in function "public: bool __thiscall Poco::Crypto::X509Certificate::issuedBy(class Poco::Crypto::X509Certificate const &)const " (?issuedBy@X509Certificate@Crypto@Poco@@QBE_NABV123@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _X509_verify referenced in function "public: bool __thiscall Poco::Crypto::X509Certificate::issuedBy(class Poco::Crypto::X509Certificate const &)const " (?issuedBy@X509Certificate@Crypto@Poco@@QBE_NABV123@@Z)
1>PocoCryptomd.lib(X509Certificate.obj) : error LNK2019: unresolved external symbol _X509_get_pubkey referenced in function "public: bool __thiscall Poco::Crypto::X509Certificate::issuedBy(class Poco::Crypto::X509Certificate const &)const " (?issuedBy@X509Certificate@Crypto@Poco@@QBE_NABV123@@Z)
1>bin\static_md\Mail.exe : fatal error LNK1120: 85 unresolved externals
1>Build log was saved at "file://d:\Users\cow\Downloads\Compressed\poco-1.4.3p1-all\poco-1.4.3p1-all\NetSSL_OpenSSL\samples\Mail\obj\release_static_md\BuildLog.htm"
1>Mail - 96 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========


Please Help !

Any clue will also be highly appreciated.

Thanks !
stng
 
Posts: 2
Joined: 24 Jun 2012, 08:36

Re: Link Errors while compiling POCO Mail (SSL based) Sample

Postby alex » 24 Jun 2012, 15:49

Your build environment must contain path to OpenSSL libraries.
alex
 
Posts: 1143
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Link Errors while compiling POCO Mail (SSL based) Sample

Postby stng » 24 Jun 2012, 19:35

Paths are there i had set the correct paths in buildwin.cmd
stng
 
Posts: 2
Joined: 24 Jun 2012, 08:36

Re: Link Errors while compiling POCO Mail (SSL based) Sample

Postby alex » 25 Jun 2012, 00:23

Without seeing your build environment, it's hard to tell what the problem is other than the right libraries (or version thereof) obviously are not found to be linked with.
alex
 
Posts: 1143
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to Support

Who is online

Users browsing this forum: killerbot and 2 guests