Scott, I am not sure, but it looks like it is not linking in the SSL DLL 
library? 

Nadir K. Amra


"Scott McFadden" <[EMAIL PROTECTED]> wrote on 03/08/2007 01:20:04 
PM:

> I am attempting to compile the HEAD version of Axis C++ Client using
> the build.xml script.  All goes well until the 
> compileAxisHTTPTransportSSLChannel step.
> 
> (Win32 OpenSSL v0.9.8e) OPENSSL_HOME = c:\dev\c++\OpenSSL
> 
> What troubleshooting steps do I need to perform to track down the 
> linker error? 
> 
> 
> 
> This is where the ANT script fails:
> 
> compileAxisHTTPTransportSSLChannel:
> 
> buildVersionResource:
>      [copy] Copying 1 file to C:\dev\c++\Apache\axis\ws-axis\c\build
>        [cc] Starting dependency analysis for 2 files.
>        [cc] 2 files are up to date.
>        [cc] 0 files to be recompiled from dependency analysis.
>        [cc] 2 total files to be compiled.
>        [cc] URL.cpp
>        [cc] PlatformSpecificWindows.cpp
>        [cc] Generating Code...
>        [cc] Starting link
>        [cc]    Creating library HTTPSSLChannel.lib and object 
> HTTPSSLChannel.exp
> 
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> get_error referenced in function "protected: int __thiscall 
> HTTPSSLChannel::Read
> FromSocket(char *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> read referenced in function "protected: int __thiscall 
> HTTPSSLChannel::ReadFromS
> ocket(char *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> write referenced in function "protected: int __thiscall 
> HTTPSSLChannel::WriteToS
> ocket(char const *,int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> library_init referenced in function "protected: void __thiscall 
> HTTPSSLChannel::
> OpenSSL_Initialise(void)" ([EMAIL PROTECTED]@@IAEXXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> load_error_strings referenced in function "protected: void 
> __thiscall HTTPSSLCha
> nnel::OpenSSL_Initialise(void)" 
([EMAIL PROTECTED]@@IAEXXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> connect referenced in function "protected: bool __thiscall 
> HTTPSSLChannel::OpenS
> SL_Open(void)" ([EMAIL PROTECTED]@@IAE_NXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> set_fd referenced in function "protected: bool __thiscall 
> HTTPSSLChannel::OpenSS
> L_Open(void)" ([EMAIL PROTECTED]@@IAE_NXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> set_connect_state referenced in function "protected: bool __thiscall
> HTTPSSLChan
> nel::OpenSSL_Open(void)" ([EMAIL PROTECTED]@@IAE_NXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> new referenced in function "protected: bool __thiscall 
> HTTPSSLChannel::OpenSSL_O
> pen(void)" ([EMAIL PROTECTED]@@IAE_NXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> CTX_set_verify referenced in function "protected: bool __thiscall 
> HTTPSSLChannel
> ::OpenSSL_Open(void)" ([EMAIL PROTECTED]@@IAE_NXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _ERR_
> error_string referenced in function "protected: bool __thiscall 
> HTTPSSLChannel::
> OpenSSL_Open(void)" ([EMAIL PROTECTED]@@IAE_NXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _ERR_
> get_error referenced in function "protected: bool __thiscall 
> HTTPSSLChannel::Ope
> nSSL_Open(void)" ([EMAIL PROTECTED]@@IAE_NXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> CTX_new referenced in function "protected: bool __thiscall 
> HTTPSSLChannel::OpenS
> SL_Open(void)" ([EMAIL PROTECTED]@@IAE_NXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSLv
> 23_client_method referenced in function "protected: bool __thiscall 
> HTTPSSLChann
> el::OpenSSL_Open(void)" ([EMAIL PROTECTED]@@IAE_NXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _X509
> _NAME_oneline referenced in function "int __cdecl 
> cert_verify_callback(int,struc
> t x509_store_ctx_st *)" 
(?cert_verify_callback@@YAHHPAUx509_store_ctx_st@@@Z)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _X509
> _get_subject_name referenced in function "int __cdecl 
> cert_verify_callback(int,s
> truct x509_store_ctx_st *)" (?
> cert_verify_callback@@YAHHPAUx509_store_ctx_st@@@Z
> )
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _X509
> _STORE_CTX_get_current_cert referenced in function "int __cdecl 
> cert_verify_call
> back(int,struct x509_store_ctx_st *)" (?
> cert_verify_callback@@YAHHPAUx509_store_
> ctx_st@@@Z)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> CTX_free referenced in function "protected: int __thiscall 
> HTTPSSLChannel::OpenS
> SL_Close(void)" ([EMAIL PROTECTED]@@IAEHXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> free referenced in function "protected: int __thiscall 
> HTTPSSLChannel::OpenSSL_C
> lose(void)" ([EMAIL PROTECTED]@@IAEHXZ)
>        [cc] HTTPSSLChannel.obj : error LNK2019: unresolved external 
> symbol _SSL_
> shutdown referenced in function "protected: int __thiscall 
> HTTPSSLChannel::OpenS
> SL_Close(void)" ([EMAIL PROTECTED]@@IAEHXZ)
>        [cc] HTTPSSLChannel.dll : fatal error LNK1120: 20 unresolved 
externals
> 
> BUILD FAILED
> C:\dev\c++\Apache\axis\ws-axis\c\build.xml:245: The following error 
> occurred whi
> le executing this line:
> C:\dev\c++\Apache\axis\ws-axis\c\build.xml:234: The following error 
> occurred whi
> le executing this line:
> C:\dev\c++\Apache\axis\ws-axis\c\build.xml:181: The following error 
> occurred whi
> le executing this line:
> C:\dev\c++\Apache\axis\ws-axis\c\build\buildSSLChannel.xml:42: link 
> failed with
> return code 1120

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to