Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib make -f makefile.unix USE_UPNP=-
- /bin/sh ../share/genbuild.sh obj/build.h
- g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/napoly/git/Emerald/src -I/home/napoly/git/Emerald/src/obj -I/usr/local/ssl/include -DUSE_IPV6=1 -I/home/napoly/git/Emerald/src/leveldb/include -I/home/napoly/git/Emerald/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -MMD -MF obj/bitcoinrpc.d -o obj/bitcoinrpc.o bitcoinrpc.cpp
- In file included from bignum.h:12,
- from main.h:8,
- from wallet.h:13,
- from init.h:8,
- from bitcoinrpc.cpp:6:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- In file included from main.h:10,
- from wallet.h:13,
- from init.h:8,
- from bitcoinrpc.cpp:6:
- net.h:376:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
- ^
- In file included from wallet.h:13,
- from init.h:8,
- from bitcoinrpc.cpp:6:
- main.h:451:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("CTxOut(nValue=%"PRI64d".%08"PRI64d", scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,30).c_str());
- ^
- main.h:451:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("CTxOut(nValue=%"PRI64d".%08"PRI64d", scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,30).c_str());
- ^
- main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("CTransaction(hash=%s, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%u)\n",
- ^
- main.h:652:74: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("CTransaction(hash=%s, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%u)\n",
- ^
- main.h:1503:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("CBlock(hash=%s, input=%s, PoW=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu")\n",
- ^
- bitcoinrpc.cpp:358:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- "Content-Length: %"PRIszu"\r\n"
- ^
- bitcoinrpc.cpp:665:102: error: wrong number of template arguments (2, should be 1)
- static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- In file included from /usr/include/boost/asio.hpp:30,
- from bitcoinrpc.cpp:14:
- /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
- ^~~~~~~~~~~~~~~~~~~~~
- bitcoinrpc.cpp:665:104: error: template argument 1 is invalid
- static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- bitcoinrpc.cpp:675:95: error: wrong number of template arguments (2, should be 1)
- static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- In file included from /usr/include/boost/asio.hpp:30,
- from bitcoinrpc.cpp:14:
- /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
- ^~~~~~~~~~~~~~~~~~~~~
- bitcoinrpc.cpp:675:97: error: template argument 1 is invalid
- static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- bitcoinrpc.cpp: In function ‘void RPCListen(int, boost::asio::ssl::context&, bool)’:
- bitcoinrpc.cpp:680:91: error: base operand of ‘->’ is not a pointer
- AcceptedConnectionImpl<Protocol>* conn = new AcceptedConnectionImpl<Protocol>(acceptor->get_io_service(), context, fUseSSL);
- ^~
- bitcoinrpc.cpp:682:13: error: base operand of ‘->’ is not a pointer
- acceptor->async_accept(
- ^~
- bitcoinrpc.cpp: At global scope:
- bitcoinrpc.cpp:697:102: error: wrong number of template arguments (2, should be 1)
- static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- In file included from /usr/include/boost/asio.hpp:30,
- from bitcoinrpc.cpp:14:
- /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
- ^~~~~~~~~~~~~~~~~~~~~
- bitcoinrpc.cpp:697:104: error: template argument 1 is invalid
- static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
- ^
- bitcoinrpc.cpp: In function ‘void RPCAcceptHandler(int, boost::asio::ssl::context&, bool, AcceptedConnection*, const boost::system::error_code&)’:
- bitcoinrpc.cpp:704:60: error: base operand of ‘->’ is not a pointer
- if (error != asio::error::operation_aborted && acceptor->is_open())
- ^~
- bitcoinrpc.cpp:705:45: error: no matching function for call to ‘RPCListen(int&, boost::asio::ssl::context&, const bool&)’
- RPCListen(acceptor, context, fUseSSL);
- ^
- bitcoinrpc.cpp:675: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,
- ^~~~~~~~~
- bitcoinrpc.cpp:675:13: note: template argument deduction/substitution failed:
- bitcoinrpc.cpp:705:45: note: couldn't deduce template parameter ‘Protocol’
- RPCListen(acceptor, context, fUseSSL);
- ^
- bitcoinrpc.cpp: In function ‘void StartRPCThreads()’:
- bitcoinrpc.cpp:766: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 bitcoinrpc.cpp:23:
- /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
- bitcoinrpc.cpp:785:50: error: ‘class boost::asio::ssl::context’ has no member named ‘impl’
- SSL_CTX_set_cipher_list(rpc_ssl_context->impl(), strCiphers.c_str());
- ^~~~
- bitcoinrpc.cpp:808:54: 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);
- ^
- bitcoinrpc.cpp:675: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,
- ^~~~~~~~~
- bitcoinrpc.cpp:675:13: note: template argument deduction/substitution failed:
- bitcoinrpc.cpp:808:54: note: couldn't deduce template parameter ‘Protocol’
- RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
- ^
- bitcoinrpc.cpp:830: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);
- ^
- bitcoinrpc.cpp:675: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,
- ^~~~~~~~~
- bitcoinrpc.cpp:675:13: note: template argument deduction/substitution failed:
- bitcoinrpc.cpp:830:58: note: couldn't deduce template parameter ‘Protocol’
- RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
- ^
- bitcoinrpc.cpp: In function ‘json_spirit::Object CallRPC(const string&, const Array&)’:
- bitcoinrpc.cpp:1069:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’
- ssl::context context(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 bitcoinrpc.cpp:23:
- /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
- make: *** [makefile.unix:186: obj/bitcoinrpc.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement