On Fri, Mar 28, 2014, Jeff Trawick wrote:

> I think these functions are all new with 1.0.2, but maybe some aren't...
> 
> If so, was there a missing step to get them exported or set the linkage?
> 
> mod_ssl from httpd trunk fails like this:
> 
> Linking C shared library mod_ssl.so
>    Creating library mod_ssl.lib and object mod_ssl.exp
> ssl_engine_config.c.obj : error LNK2019: unresolved external symbol
> SSL_CONF_CTX_new referenced in function modssl_ctx_init
> ssl_engine_config.c.obj : error LNK2019: unresolved external symbol
> SSL_CONF_CTX_set_flags referenced in function modssl_ctx_init
> ssl_engine_config.c.obj : error LNK2019: unresolved external symbol
> SSL_CONF_cmd_value_type referenced in function ssl_cmd_SSLOpenSSLConfCmd
> ssl_engine_init.c.obj : error LNK2019: unresolved external symbol
> SSL_CTX_get0_certificate referenced in function ssl_init_server_certs
> ssl_engine_init.c.obj : error LNK2019: unresolved external symbol
> SSL_CONF_CTX_finish referenced in function ssl_init_server_ctx
> ssl_engine_init.c.obj : error LNK2019: unresolved external symbol
> SSL_CONF_CTX_free referenced in function ssl_init_server_ctx
> ssl_engine_init.c.obj : error LNK2019: unresolved external symbol
> SSL_CONF_CTX_set_ssl_ctx referenced in function ssl_init_server_ctx
> ssl_engine_init.c.obj : error LNK2019: unresolved external symbol
> SSL_CONF_cmd referenced in function ssl_init_server_ctx
> mod_ssl.so : fatal error LNK1120: 8 unresolved externals
> LINK Pass 1 failed. with 1120
> 
> OpenSSL built like this:
> 
> cd \Users\Trawick\git\openssl && perl Configure no-asm --prefix=$(PREFIX)
> VC-WIN64A
> cd \Users\Trawick\git\openssl && ms\do_win64a.bat
> cd \Users\Trawick\git\openssl && nmake /f ms\ntdll.mak
> cd \Users\Trawick\git\openssl && nmake /f ms\ntdll.mak test
> cd \Users\Trawick\git\openssl && nmake /f ms\ntdll.mak install
> 
> httpd built with cmake
> 

A bit confused by the subject line. The OpenSSL_1_0_0-stable branch is for
OpenSSL 1.0.0 releases. 

Those errors suggest you're compiling against the 1.0.2 headers but linking
against the 1.0.0 DLL. Not sure how that could happen.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to