ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Sapego <isap...@apache.org>
Subject Re: ODBC driver compile error
Date Thu, 01 Mar 2018 11:31:24 GMT
What is your OpenSSL version?

Best Regards,
Igor

On Thu, Mar 1, 2018 at 2:21 PM, bagsiur <radoslaw.andraszyk@gmail.com>
wrote:

> ok, here are whole console logs:
>
> make[3]: Entering directory '/root/ignite/modules/platforms/cpp/odbc'
> [0/1251]
>   CXX      src/ssl/secure_socket_client.lo
> In file included from ./include/ignite/odbc/ssl/ssl_bindings.h:21:0,
>                  from src/ssl/secure_socket_client.cpp:25:
> ./include/ignite/odbc/ssl/ssl_bindings.h:132:24: error:
> 'ignite::odbc::ssl::OPENSSL_init_ssl' declared as an 'inline' variable
>              inline int SSL_library_init()
>                         ^
> ./include/ignite/odbc/ssl/ssl_bindings.h:132:24: error: expression list
> treated as compound expression in initializer [-fpermissive]
>              inline int SSL_library_init()
>                         ^
> In file included from src/ssl/secure_socket_client.cpp:25:0:
> ./include/ignite/odbc/ssl/ssl_bindings.h:133:13: error: expected ',' or
> ';'
> before '{' token
>              {
>              ^
> In file included from ./include/ignite/odbc/ssl/ssl_bindings.h:21:0,
>                  from src/ssl/secure_socket_client.cpp:25:
> ./include/ignite/odbc/ssl/ssl_bindings.h:141:25: error: variable or field
> 'OPENSSL_init_ssl' declared void
>              inline void SSL_load_error_strings()
>                          ^
> src/ssl/secure_socket_client.cpp: In static member function 'static void*
> ignite::odbc::ssl::SecureSocketClient::MakeContext(const string&, const
> string&, const string&, ignite::odbc::diagnostic::Diagnosable&)':
> src/ssl/secure_socket_client.cpp:269:31: error:
> 'ignite::odbc::ssl::OPENSSL_init_ssl' cannot be used as a function
>                          (void)SSL_library_init();
>                                ^
> src/ssl/secure_socket_client.cpp:271:25: error:
> 'ignite::odbc::ssl::OPENSSL_init_ssl' cannot be used as a function
>                          SSL_load_error_strings();
>                          ^
> src/ssl/secure_socket_client.cpp:300:40: error: 'SSL_CTRL_OPTIONS' was not
> declared in this scope
>                  ssl::SSL_CTX_ctrl(ctx, SSL_CTRL_OPTIONS, flags, NULL);
>                                         ^~~~~~~~~~~~~~~~
> Makefile:720: recipe for target 'src/ssl/secure_socket_client.lo' failed
> make[3]: *** [src/ssl/secure_socket_client.lo] Error 1
> make[3]: Leaving directory '/root/ignite/modules/platforms/cpp/odbc'
> Makefile:748: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/root/ignite/modules/platforms/cpp/odbc'
> Makefile:426: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/root/ignite/modules/platforms/cpp'
> Makefile:358: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Mime
View raw message