Hi all,
I've been trying to compile the ODBC Driver under a fairly standard
Debian system. Ignite installed from the deb on the Ignite website,
although I've also tried the latest GIT release with the same results.
Google found another user with a similar issue back in March on this
list, but no resolution was reported back.
The make fails with the following errors listed below. Is there
particular gcc/g++/openssl version requirement which isn't obvious?
Any pointers would be appreciated,
Linus
Making all in include
make[3]: Entering directory
'/usr/share/apache-ignite/platforms/cpp/odbc/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/usr/share/apache-ignite/platforms/cpp/odbc/include'
make[3]: Entering directory '/usr/share/apache-ignite/platforms/cpp/odbc'
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:133: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:133: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:134: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:142: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:206:31: error:
‘ignite::odbc::ssl::OPENSSL_init_ssl’ cannot be used as a function
(void)SSL_library_init();
^
src/ssl/secure_socket_client.cpp:208:25: error:
‘ignite::odbc::ssl::OPENSSL_init_ssl’ cannot be used as a function
SSL_load_error_strings();
^
src/ssl/secure_socket_client.cpp:237:40: error: ‘SSL_CTRL_OPTIONS’ was
not declared in this scope
ssl::SSL_CTX_ctrl(ctx, SSL_CTRL_OPTIONS, flags, NULL);
--
Magrathea Telecommunications Ltd Tel: 0345 004 0040 +44 118 321 0321
5 Commerce Park, Theale, RG7 4AB ENGLAND. Registered Company 4260485