Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 8.28 KB | None | 0 0
  1.   CXX      libbitcoin_server_a-rpcserver.o
  2. In file included from /usr/include/bits/libc-header-start.h:33,
  3.                  from /usr/include/stdint.h:26,
  4.                  from /usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h:9,
  5.                  from compat/endian.h:12,
  6.                  from serialize.h:9,
  7.                  from amount.h:9,
  8.                  from rpcserver.h:9,
  9.                  from rpcserver.cpp:6:
  10. /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  11.  #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
  12.     ^~~~~~~
  13. rpcserver.cpp:507:102: error: wrong number of template arguments (2, should be 1)
  14.  t::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  15.                                                                      ^
  16.  
  17. In file included from /usr/include/boost/asio.hpp:30,
  18.                  from rpcprotocol.h:15,
  19.                  from rpcserver.h:10,
  20.                  from rpcserver.cpp:6:
  21. /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
  22.  class basic_socket_acceptor
  23.        ^~~~~~~~~~~~~~~~~~~~~
  24. rpcserver.cpp:507:104: error: template argument 1 is invalid
  25.  :shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  26.                                                                      ^
  27.  
  28. rpcserver.cpp:517:95: error: wrong number of template arguments (2, should be 1)
  29.  t::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  30.                                                                      ^
  31.  
  32. In file included from /usr/include/boost/asio.hpp:30,
  33.                  from rpcprotocol.h:15,
  34.                  from rpcserver.h:10,
  35.                  from rpcserver.cpp:6:
  36. /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
  37.  class basic_socket_acceptor
  38.        ^~~~~~~~~~~~~~~~~~~~~
  39. rpcserver.cpp:517:97: error: template argument 1 is invalid
  40.  :shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  41.                                                                      ^
  42.  
  43. rpcserver.cpp: In function ‘void RPCListen(int, boost::asio::ssl::context&, bool):
  44. rpcserver.cpp:522:109: error: base operand of ‘->’ is not a pointer
  45.  nImpl<Protocol> > conn(new AcceptedConnectionImpl<Protocol>(acceptor->get_io_service(), context, fUseSSL));
  46.                                                                      ^~
  47.  
  48. rpcserver.cpp:524:13: error: base operand of ‘->’ is not a pointer
  49.      acceptor->async_accept(
  50.              ^~
  51. rpcserver.cpp: At global scope:
  52. rpcserver.cpp:540:102: error: wrong number of template arguments (2, should be 1)
  53.  t::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  54.                                                                      ^
  55.  
  56. In file included from /usr/include/boost/asio.hpp:30,
  57.                  from rpcprotocol.h:15,
  58.                  from rpcserver.h:10,
  59.                  from rpcserver.cpp:6:
  60. /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
  61.  class basic_socket_acceptor
  62.        ^~~~~~~~~~~~~~~~~~~~~
  63. rpcserver.cpp:540:104: error: template argument 1 is invalid
  64.  :shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  65.                                                                      ^
  66.  
  67. rpcserver.cpp: In function ‘void RPCAcceptHandler(int, boost::asio::ssl::context&, bool, boost::shared_ptr<AcceptedConnection>, const boost::system::error_code&):
  68. rpcserver.cpp:547:67: error: base operand of ‘->’ is not a pointer
  69.      if (error != boost::asio::error::operation_aborted && acceptor->is_open())
  70.                                                                    ^~
  71. rpcserver.cpp:548:45: error: no matching function for call to ‘RPCListen(int&, boost::asio::ssl::context&, const bool&)
  72.          RPCListen(acceptor, context, fUseSSL);
  73.                                              ^
  74. rpcserver.cpp:517:13: note: candidate: ‘template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)
  75.  static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  76.              ^~~~~~~~~
  77. rpcserver.cpp:517:13: note:   template argument deduction/substitution failed:
  78. rpcserver.cpp:548:45: note:   couldn't deduce template parameter ‘Protocol’
  79.         RPCListen(acceptor, context, fUseSSL);
  80.                                             ^
  81. rpcserver.cpp: In function ‘void StartRPCThreads()’:
  82. rpcserver.cpp:634:77: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’
  83.     rpc_ssl_context = new ssl::context(*rpc_io_service, ssl::context::sslv23);
  84.                                                                             ^
  85. In file included from /usr/include/boost/asio/ssl/context.hpp:757,
  86.                 from /usr/include/boost/asio/ssl.hpp:18,
  87.                 from rpcprotocol.h:16,
  88.                 from rpcserver.h:10,
  89.                 from rpcserver.cpp:6:
  90. /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: ‘boost::asio::ssl::context::context(boost::asio::ssl::context&&)’
  91. context::context(context&& other)
  92. ^~~~~~~
  93. /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note:   candidate expects 1 argument, 2 provided
  94. /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: ‘boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)’
  95. context::context(context::method m)
  96. ^~~~~~~
  97. /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note:   candidate expects 1 argument, 2 provided
  98. rpcserver.cpp:653:50: error: ‘class boost::asio::ssl::context’ has no member named ‘impl’
  99.         SSL_CTX_set_cipher_list(rpc_ssl_context->impl(), strCiphers.c_str());
  100.                                                  ^~~~
  101. rpcserver.cpp:713:58: error: no matching function for call to ‘RPCListen(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp> >&, boost::asio::ssl::context&, const bool&)’
  102.             RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
  103.                                                          ^
  104. rpcserver.cpp:517:13: note: candidate: ‘template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)’
  105. static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  106.             ^~~~~~~~~
  107. rpcserver.cpp:517:13: note:   template argument deduction/substitution failed:
  108. rpcserver.cpp:713:58: note:   couldn't deduce template parameter ‘Protocol’
  109.              RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
  110.                                                           ^
  111. In file included from util.h:18,
  112.                  from rpcserver.cpp:13:
  113. tinyformat.h: In static member function ‘static const char* tinyformat::detail::FormatIterator::streamStateFromFormat(std::ostream&, unsigned int&, const char*, int, int):
  114. tinyformat.h:785:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  115.              out.setf(std::ios::uppercase);
  116.              ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  117. tinyformat.h:786:9: note: here
  118.          case 'x': case 'p':
  119.          ^~~~
  120. tinyformat.h:791:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  121.              out.setf(std::ios::uppercase);
  122.              ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  123. tinyformat.h:792:9: note: here
  124.          case 'e':
  125.          ^~~~
  126. tinyformat.h:797:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  127.              out.setf(std::ios::uppercase);
  128.              ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  129. tinyformat.h:798:9: note: here
  130.          case 'f':
  131.          ^~~~
  132. tinyformat.h:802:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  133.              out.setf(std::ios::uppercase);
  134.              ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  135. tinyformat.h:803:9: note: here
  136.          case 'g':
  137.          ^~~~
  138. make[2]: *** [Makefile:4192: libbitcoin_server_a-rpcserver.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement