ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Sapego (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-10990) C++ module doesn't compile on ubuntu 18.04
Date Mon, 21 Jan 2019 16:10:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-10990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Igor Sapego resolved IGNITE-10990.
----------------------------------
       Resolution: Duplicate
    Fix Version/s: 2.8

Resolving a ticket as a duplicate.

> C++ module doesn't compile on ubuntu 18.04
> ------------------------------------------
>
>                 Key: IGNITE-10990
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10990
>             Project: Ignite
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.7
>         Environment:  
>  
> {code:java}
> OS : ubuntu 18.04
> GCC: gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
> Configured with: ../src/configure v --with-pkgversion='Ubuntu 7.3.0-27ubuntu1~18.04'
--with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c+,go,brig,d,fortran,objc,obj-c+
--prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu
--enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib
--with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none
--without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
> Thread model: posix
> Boost 1.69
> {code}
>  
>            Reporter: Theodore Han
>            Priority: Minor
>              Labels: build, newbie
>             Fix For: 2.8
>
>
> I followed up installation guide in [https://apacheignite-cpp.readme.io/docs/getting-started-1]
>  
> occurs this error when execute `make` command
> {code:java}
> /root/tmp/apache-ignite-2.7.0-src/modules/platforms/cpp # make
> ...
> Making all in odbc
> make[2]: Entering directory '/root/tmp/apache-ignite-2.7.0-src/modules/platforms/cpp/odbc'
> Making all in include
> make[3]: Entering directory '/root/tmp/apache-ignite-2.7.0-src/modules/platforms/cpp/odbc/include'
> make[3]: Nothing to be done for 'all'.
> make[3]: Leaving directory '/root/tmp/apache-ignite-2.7.0-src/modules/platforms/cpp/odbc/include'
> make[3]: Entering directory '/root/tmp/apache-ignite-2.7.0-src/modules/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: 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);
> ^~~~~~~~~~~~~~~~
> src/ssl/secure_socket_client.cpp:237:40: note: suggested alternative: 'SQL_SCROLL_OPTIONS'
> ssl::SSL_CTX_ctrl(ctx, SSL_CTRL_OPTIONS, flags, NULL);
> ^~~~~~~~~~~~~~~~
> SQL_SCROLL_OPTIONS
> Makefile:782: 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/tmp/apache-ignite-2.7.0-src/modules/platforms/cpp/odbc'
> Makefile:812: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/root/tmp/apache-ignite-2.7.0-src/modules/platforms/cpp/odbc'
> Makefile:432: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/root/tmp/apache-ignite-2.7.0-src/modules/platforms/cpp'
> Makefile:364: recipe for target 'all' failed
> make: *** [all] Error 2
> {code}
>  
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message