Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CXX libbitcoin_server_a-rpcserver.o
- In file included from /usr/include/bits/libc-header-start.h:33,
- from /usr/include/stdint.h:26,
- from /usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h:9,
- from compat/endian.h:12,
- from serialize.h:9,
- from amount.h:9,
- from rpcserver.h:9,
- from rpcserver.cpp:6:
- /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
- # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
- ^~~~~~~
- rpcserver.cpp:507:102: error: wrong number of template arguments (2, should be 1)
- t::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- In file included from /usr/include/boost/asio.hpp:30,
- from rpcprotocol.h:15,
- from rpcserver.h:10,
- from rpcserver.cpp:6:
- /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
- class basic_socket_acceptor
- ^~~~~~~~~~~~~~~~~~~~~
- rpcserver.cpp:507:104: error: template argument 1 is invalid
- :shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- rpcserver.cpp:517:95: error: wrong number of template arguments (2, should be 1)
- t::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- In file included from /usr/include/boost/asio.hpp:30,
- from rpcprotocol.h:15,
- from rpcserver.h:10,
- from rpcserver.cpp:6:
- /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
- class basic_socket_acceptor
- ^~~~~~~~~~~~~~~~~~~~~
- rpcserver.cpp:517:97: error: template argument 1 is invalid
- :shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- rpcserver.cpp: In function ‘void RPCListen(int, boost::asio::ssl::context&, bool)’:
- rpcserver.cpp:522:109: error: base operand of ‘->’ is not a pointer
- nImpl<Protocol> > conn(new AcceptedConnectionImpl<Protocol>(acceptor->get_io_service(), context, fUseSSL));
- ^~
- rpcserver.cpp:524:13: error: base operand of ‘->’ is not a pointer
- acceptor->async_accept(
- ^~
- rpcserver.cpp: At global scope:
- rpcserver.cpp:540:102: error: wrong number of template arguments (2, should be 1)
- t::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- In file included from /usr/include/boost/asio.hpp:30,
- from rpcprotocol.h:15,
- from rpcserver.h:10,
- from rpcserver.cpp:6:
- /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
- class basic_socket_acceptor
- ^~~~~~~~~~~~~~~~~~~~~
- rpcserver.cpp:540:104: error: template argument 1 is invalid
- :shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- rpcserver.cpp: In function ‘void RPCAcceptHandler(int, boost::asio::ssl::context&, bool, boost::shared_ptr<AcceptedConnection>, const boost::system::error_code&)’:
- rpcserver.cpp:547:67: error: base operand of ‘->’ is not a pointer
- if (error != boost::asio::error::operation_aborted && acceptor->is_open())
- ^~
- rpcserver.cpp:548:45: error: no matching function for call to ‘RPCListen(int&, boost::asio::ssl::context&, const bool&)’
- RPCListen(acceptor, context, fUseSSL);
- ^
- rpcserver.cpp:517:13: note: candidate: ‘template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)’
- static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^~~~~~~~~
- rpcserver.cpp:517:13: note: template argument deduction/substitution failed:
- rpcserver.cpp:548:45: note: couldn't deduce template parameter ‘Protocol’
- RPCListen(acceptor, context, fUseSSL);
- ^
- rpcserver.cpp: In function ‘void StartRPCThreads()’:
- 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)’
- rpc_ssl_context = new ssl::context(*rpc_io_service, ssl::context::sslv23);
- ^
- In file included from /usr/include/boost/asio/ssl/context.hpp:757,
- from /usr/include/boost/asio/ssl.hpp:18,
- from rpcprotocol.h:16,
- from rpcserver.h:10,
- from rpcserver.cpp:6:
- /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: ‘boost::asio::ssl::context::context(boost::asio::ssl::context&&)’
- context::context(context&& other)
- ^~~~~~~
- /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided
- /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: ‘boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)’
- context::context(context::method m)
- ^~~~~~~
- /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided
- rpcserver.cpp:653:50: error: ‘class boost::asio::ssl::context’ has no member named ‘impl’
- SSL_CTX_set_cipher_list(rpc_ssl_context->impl(), strCiphers.c_str());
- ^~~~
- 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&)’
- RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
- ^
- rpcserver.cpp:517:13: note: candidate: ‘template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)’
- static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^~~~~~~~~
- rpcserver.cpp:517:13: note: template argument deduction/substitution failed:
- rpcserver.cpp:713:58: note: couldn't deduce template parameter ‘Protocol’
- RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
- ^
- In file included from util.h:18,
- from rpcserver.cpp:13:
- tinyformat.h: In static member function ‘static const char* tinyformat::detail::FormatIterator::streamStateFromFormat(std::ostream&, unsigned int&, const char*, int, int)’:
- tinyformat.h:785:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
- out.setf(std::ios::uppercase);
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- tinyformat.h:786:9: note: here
- case 'x': case 'p':
- ^~~~
- tinyformat.h:791:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
- out.setf(std::ios::uppercase);
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- tinyformat.h:792:9: note: here
- case 'e':
- ^~~~
- tinyformat.h:797:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
- out.setf(std::ios::uppercase);
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- tinyformat.h:798:9: note: here
- case 'f':
- ^~~~
- tinyformat.h:802:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
- out.setf(std::ios::uppercase);
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- tinyformat.h:803:9: note: here
- case 'g':
- ^~~~
- make[2]: *** [Makefile:4192: libbitcoin_server_a-rpcserver.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement