ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Theodore Han (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-10990) C++ module doesn't compile on ubuntu 18.04
Date Sun, 20 Jan 2019 09:36:00 GMT

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

Theodore Han updated IGNITE-10990:
----------------------------------
    Description: 
I followed up installation guide in [https://apacheignite-cpp.readme.io/docs/getting-started-1]

 

occurs this error when execute `make` command

 

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: {color:#ff0000}error: expression list treated
as compound expression in initializer [-fpermissive]{color}
 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: {color:#ff0000}error: expected ',' or ';'
before '{' token{color}
 {
 ^
 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: {color:#ff0000}error: variable or field
'OPENSSL_init_ssl' declared void{color}
 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: {color:#ff0000}error: 'ignite::odbc::ssl::OPENSSL_init_ssl'
cannot be used as a function{color}
 (void)SSL_library_init();
 ^
 src/ssl/secure_socket_client.cpp:208:25: {color:#ff0000}error: 'ignite::odbc::ssl::OPENSSL_init_ssl'
cannot be used as a function{color}
 SSL_load_error_strings();
 ^
 src/ssl/secure_socket_client.cpp:237:40: {color:#ff0000}error: 'SSL_CTRL_OPTIONS' was not
declared in this scope{color}
 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
 {color:#ff0000}Makefile:782: recipe for target 'src/ssl/secure_socket_client.lo' failed{color}
 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

 

 

 

  was:
I followed up installation guide in https://apacheignite-cpp.readme.io/docs/getting-started-1

 

occurs this error when `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: {color:#FF0000}error: expression list treated
as compound expression in initializer [-fpermissive]{color}
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: {color:#FF0000}error: expected ',' or ';'
before '{' token{color}
{
^
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: {color:#FF0000}error: variable or field 'OPENSSL_init_ssl'
declared void{color}
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: {color:#FF0000}error: 'ignite::odbc::ssl::OPENSSL_init_ssl'
cannot be used as a function{color}
(void)SSL_library_init();
^
src/ssl/secure_socket_client.cpp:208:25: {color:#FF0000}error: 'ignite::odbc::ssl::OPENSSL_init_ssl'
cannot be used as a function{color}
SSL_load_error_strings();
^
src/ssl/secure_socket_client.cpp:237:40: {color:#FF0000}error: 'SSL_CTRL_OPTIONS' was not
declared in this scope{color}
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
 {color:#FF0000}Makefile:782: recipe for target 'src/ssl/secure_socket_client.lo' failed{color}
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

 

 

 


> 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: 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
>  
>  
>            Reporter: Theodore Han
>            Priority: Minor
>              Labels: build, newbie
>
> I followed up installation guide in [https://apacheignite-cpp.readme.io/docs/getting-started-1]
>  
> occurs this error when execute `make` command
>  
> 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: {color:#ff0000}error: expression list
treated as compound expression in initializer [-fpermissive]{color}
>  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: {color:#ff0000}error: expected ','
or ';' before '{' token{color}
>  {
>  ^
>  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: {color:#ff0000}error: variable or field
'OPENSSL_init_ssl' declared void{color}
>  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: {color:#ff0000}error: 'ignite::odbc::ssl::OPENSSL_init_ssl'
cannot be used as a function{color}
>  (void)SSL_library_init();
>  ^
>  src/ssl/secure_socket_client.cpp:208:25: {color:#ff0000}error: 'ignite::odbc::ssl::OPENSSL_init_ssl'
cannot be used as a function{color}
>  SSL_load_error_strings();
>  ^
>  src/ssl/secure_socket_client.cpp:237:40: {color:#ff0000}error: 'SSL_CTRL_OPTIONS' was
not declared in this scope{color}
>  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
>  {color:#ff0000}Makefile:782: recipe for target 'src/ssl/secure_socket_client.lo' failed{color}
>  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
>  
>  
>  



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

Mime
View raw message