Advertisement
swanser

Full Build List

Jun 29th, 2021
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.94 KB | None | 0 0
  1. /bin/sh ../share/genbuild.sh obj/build.h
  2. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/magi/src -I/home/pi/magi/src/hash -I/home/pi/magi/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/pi/magi/src/leveldb/include -I/home/pi/magi/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -Ofast -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -MMD -MF obj/magirpc.d -o obj/magirpc.o magirpc.cpp
  3. In file included from bignum.h:12,
  4. from main.h:8,
  5. from wallet.h:13,
  6. from init.h:8,
  7. from magirpc.cpp:6:
  8. util.h:258:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  9. return strprintf("%"PRI64d, n);
  10. ^
  11. In file included from main.h:10,
  12. from wallet.h:13,
  13. from init.h:8,
  14. from magirpc.cpp:6:
  15. net.h:325:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  16. printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
  17. ^
  18. In file included from wallet.h:13,
  19. from init.h:8,
  20. from magirpc.cpp:6:
  21. main.h:770:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  22. str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d)\n",
  23. ^
  24. main.h:770:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  25. str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d)\n",
  26. ^
  27. main.h:1205:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  28. printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
  29. ^
  30. main.h:1468:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  31. return strprintf("CBlockIndex(nprev=%p, pnext=%p, nFile=%u, nBlockPos=%-6d nHeight=%d, nMint=%s, nMoneySupply=%s, nFlags=(%s)(%d)(%s), nStakeModifier=%016"PRI64x", nStakeModifierChecksum=%08x, hashProofOfStake=%s, prevoutStake=(%s), nStakeTime=%d merkle=%s, hashBlock=%s)",
  32. ^
  33. magirpc.cpp:373:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  34. "Content-Length: %"PRIszu"\r\n"
  35. ^
  36. In file included from magirpc.h:16,
  37. from magirpc.cpp:11:
  38. json/json_spirit_writer_template.h: In function ‘String_type json_spirit::non_printable_to_string(unsigned int)’:
  39. json/json_spirit_writer_template.h:31:50: warning: typedef ‘Char_type’ locally defined but not used [-Wunused-local-typedefs]
  40. typedef typename String_type::value_type Char_type;
  41. ^~~~~~~~~
  42. magirpc.cpp: In function ‘bool ClientAllowed(const boost::asio::ip::address&)’:
  43. magirpc.cpp:523:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  44. if (address.is_v6()
  45. ^~
  46. magirpc.cpp:528:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  47. std::string ipv4addr = address.to_string();
  48. ^~~
  49. magirpc.cpp: At global scope:
  50. magirpc.cpp:668:102: error: wrong number of template arguments (2, should be 1)
  51. static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  52. ^
  53. In file included from /usr/include/boost/asio.hpp:30,
  54. from magirpc.cpp:15:
  55. /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
  56. class basic_socket_acceptor
  57. ^~~~~~~~~~~~~~~~~~~~~
  58. magirpc.cpp:668:104: error: template argument 1 is invalid
  59. static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  60. ^
  61. magirpc.cpp:678:95: error: wrong number of template arguments (2, should be 1)
  62. static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  63. ^
  64. In file included from /usr/include/boost/asio.hpp:30,
  65. from magirpc.cpp:15:
  66. /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
  67. class basic_socket_acceptor
  68. ^~~~~~~~~~~~~~~~~~~~~
  69. magirpc.cpp:678:97: error: template argument 1 is invalid
  70. static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  71. ^
  72. magirpc.cpp: In function ‘void RPCListen(int, boost::asio::ssl::context&, bool)’:
  73. magirpc.cpp:683:91: error: base operand of ‘->’ is not a pointer
  74. AcceptedConnectionImpl<Protocol>* conn = new AcceptedConnectionImpl<Protocol>(acceptor->get_io_service(), context, fUseSSL);
  75. ^~
  76. magirpc.cpp:685:13: error: base operand of ‘->’ is not a pointer
  77. acceptor->async_accept(
  78. ^~
  79. magirpc.cpp: At global scope:
  80. magirpc.cpp:700:102: error: wrong number of template arguments (2, should be 1)
  81. static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  82. ^
  83. In file included from /usr/include/boost/asio.hpp:30,
  84. from magirpc.cpp:15:
  85. /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
  86. class basic_socket_acceptor
  87. ^~~~~~~~~~~~~~~~~~~~~
  88. magirpc.cpp:700:104: error: template argument 1 is invalid
  89. static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  90. ^
  91. magirpc.cpp: In function ‘void RPCAcceptHandler(int, boost::asio::ssl::context&, bool, AcceptedConnection*, const boost::system::error_code&)’:
  92. magirpc.cpp:710:17: error: base operand of ‘->’ is not a pointer
  93. && acceptor->is_open())
  94. ^~
  95. magirpc.cpp:711:45: error: no matching function for call to ‘RPCListen(int&, boost::asio::ssl::context&, const bool&)’
  96. RPCListen(acceptor, context, fUseSSL);
  97. ^
  98. magirpc.cpp:678:13: note: candidate: ‘template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)’
  99. static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  100. ^~~~~~~~~
  101. magirpc.cpp:678:13: note: template argument deduction/substitution failed:
  102. magirpc.cpp:711:45: note: couldn't deduce template parameter ‘Protocol’
  103. RPCListen(acceptor, context, fUseSSL);
  104. ^
  105. magirpc.cpp: In function ‘void ThreadRPCServer2(void*)’:
  106. magirpc.cpp:775:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’
  107. ssl::context context(io_service, ssl::context::sslv23);
  108. ^
  109. In file included from /usr/include/boost/asio/ssl/context.hpp:757,
  110. from /usr/include/boost/asio/ssl.hpp:18,
  111. from magirpc.cpp:24:
  112. /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: ‘boost::asio::ssl::context::context(boost::asio::ssl::context&&)’
  113. context::context(context&& other)
  114. ^~~~~~~
  115. /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided
  116. /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: ‘boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)’
  117. context::context(context::method m)
  118. ^~~~~~~
  119. /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided
  120. magirpc.cpp:791:41: error: ‘class boost::asio::ssl::context’ has no member named ‘impl’
  121. SSL_CTX_set_cipher_list(context.impl(), strCiphers.c_str());
  122. ^~~~
  123. magirpc.cpp:816:45: 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&)’
  124. RPCListen(acceptor, context, fUseSSL);
  125. ^
  126. magirpc.cpp:678:13: note: candidate: ‘template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)’
  127. static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  128. ^~~~~~~~~
  129. magirpc.cpp:678:13: note: template argument deduction/substitution failed:
  130. magirpc.cpp:816:45: note: couldn't deduce template parameter ‘Protocol’
  131. RPCListen(acceptor, context, fUseSSL);
  132. ^
  133. magirpc.cpp:842:49: 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&)’
  134. RPCListen(acceptor, context, fUseSSL);
  135. ^
  136. magirpc.cpp:678:13: note: candidate: ‘template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)’
  137. static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
  138. ^~~~~~~~~
  139. magirpc.cpp:678:13: note: template argument deduction/substitution failed:
  140. magirpc.cpp:842:49: note: couldn't deduce template parameter ‘Protocol’
  141. RPCListen(acceptor, context, fUseSSL);
  142. ^
  143. magirpc.cpp: In function ‘json_spirit::Object CallRPC(const string&, const Array&)’:
  144. magirpc.cpp:1085:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’
  145. ssl::context context(io_service, ssl::context::sslv23);
  146. ^
  147. In file included from /usr/include/boost/asio/ssl/context.hpp:757,
  148. from /usr/include/boost/asio/ssl.hpp:18,
  149. from magirpc.cpp:24:
  150. /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: ‘boost::asio::ssl::context::context(boost::asio::ssl::context&&)’
  151. context::context(context&& other)
  152. ^~~~~~~
  153. /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided
  154. /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: ‘boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)’
  155. context::context(context::method m)
  156. ^~~~~~~
  157. /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided
  158. make: *** [makefile.unix:188: obj/magirpc.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement