Guest User

Error 2

a guest
Jan 17th, 2021
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Making all in src
  2. make[1]: Entering directory '/usr/local/src/bitcoin-0.10.0/src'
  3. make[2]: Entering directory '/usr/local/src/bitcoin-0.10.0/src'
  4. CXX bitcoind-bitcoind.o
  5. In file included from /usr/include/openssl/bio.h:20,
  6. from /usr/include/openssl/conf.h:13,
  7. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  8. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  9. from /usr/include/boost/asio/ssl/context.hpp:27,
  10. from /usr/include/boost/asio/ssl.hpp:19,
  11. from rpcprotocol.h:16,
  12. from rpcserver.h:10,
  13. from bitcoind.cpp:7:
  14. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In constructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::do_init()’:
  15. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:43:23: error: expected id-expression before ‘(’ token
  16. 43 | mutexes_.resize(::CRYPTO_num_locks());
  17. | ^~~~~~~~~~~~~~~~
  18. In file included from /usr/include/boost/asio/ssl/detail/openssl_init.hpp:100,
  19. from /usr/include/boost/asio/ssl/context.hpp:29,
  20. from /usr/include/boost/asio/ssl.hpp:19,
  21. from rpcprotocol.h:16,
  22. from rpcserver.h:10,
  23. from bitcoind.cpp:7:
  24. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:46:66: error: expected id-expression before ‘;’ token
  25. 46 | ::CRYPTO_set_locking_callback(&do_init::openssl_locking_func);
  26. | ^
  27. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:47:56: error: expected id-expression before ‘;’ token
  28. 47 | ::CRYPTO_set_id_callback(&do_init::openssl_id_func);
  29. | ^
  30. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In destructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()’:
  31. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:64:32: error: expected id-expression before ‘;’ token
  32. 64 | ::CRYPTO_set_id_callback(0);
  33. | ^
  34. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:65:37: error: expected id-expression before ‘;’ token
  35. 65 | ::CRYPTO_set_locking_callback(0);
  36. | ^
  37. In file included from /usr/include/openssl/engine.h:25,
  38. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:22,
  39. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  40. from /usr/include/boost/asio/ssl/context.hpp:27,
  41. from /usr/include/boost/asio/ssl.hpp:19,
  42. from rpcprotocol.h:16,
  43. from rpcserver.h:10,
  44. from bitcoind.cpp:7:
  45. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:66:7: error: expected id-expression before ‘while’
  46. 66 | ::ERR_free_strings();
  47. | ^~~~~~~~~~~~~~~~
  48. In file included from /usr/include/openssl/x509.h:18,
  49. from /usr/include/openssl/ssl.h:20,
  50. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
  51. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  52. from /usr/include/boost/asio/ssl/context.hpp:27,
  53. from /usr/include/boost/asio/ssl.hpp:19,
  54. from rpcprotocol.h:16,
  55. from rpcserver.h:10,
  56. from bitcoind.cpp:7:
  57. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:68:7: error: expected id-expression before ‘while’
  58. 68 | ::EVP_cleanup();
  59. | ^~~~~~~~~~~
  60. In file included from /usr/include/openssl/bio.h:20,
  61. from /usr/include/openssl/conf.h:13,
  62. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  63. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  64. from /usr/include/boost/asio/ssl/context.hpp:27,
  65. from /usr/include/boost/asio/ssl.hpp:19,
  66. from rpcprotocol.h:16,
  67. from rpcserver.h:10,
  68. from bitcoind.cpp:7:
  69. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:69:7: error: expected id-expression before ‘while’
  70. 69 | ::CRYPTO_cleanup_all_ex_data();
  71. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  72. In file included from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:22,
  73. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  74. from /usr/include/boost/asio/ssl/context.hpp:27,
  75. from /usr/include/boost/asio/ssl.hpp:19,
  76. from rpcprotocol.h:16,
  77. from rpcserver.h:10,
  78. from bitcoind.cpp:7:
  79. /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:72:7: error: expected id-expression before ‘while’
  80. 72 | ::ENGINE_cleanup();
  81. | ^~~~~~~~~~~~~~
  82. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  83. from /usr/include/boost/asio/ssl.hpp:19,
  84. from rpcprotocol.h:16,
  85. from rpcserver.h:10,
  86. from bitcoind.cpp:7:
  87. /usr/include/boost/asio/ssl/impl/context.ipp: In constructor ‘boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)’:
  88. /usr/include/boost/asio/ssl/impl/context.ipp:81:31: error: ‘::SSLv2_method’ has not been declared; did you mean ‘SSLv23_method’?
  89. 81 | handle_ = ::SSL_CTX_new(::SSLv2_method());
  90. | ^~~~~~~~~~~~
  91. | SSLv23_method
  92. /usr/include/boost/asio/ssl/impl/context.ipp:84:31: error: ‘::SSLv2_client_method’ has not been declared; did you mean ‘SSLv23_client_method’?
  93. 84 | handle_ = ::SSL_CTX_new(::SSLv2_client_method());
  94. | ^~~~~~~~~~~~~~~~~~~
  95. | SSLv23_client_method
  96. /usr/include/boost/asio/ssl/impl/context.ipp:87:31: error: ‘::SSLv2_server_method’ has not been declared; did you mean ‘SSLv23_server_method’?
  97. 87 | handle_ = ::SSL_CTX_new(::SSLv2_server_method());
  98. | ^~~~~~~~~~~~~~~~~~~
  99. | SSLv23_server_method
  100. /usr/include/boost/asio/ssl/impl/context.ipp:91:31: error: ‘::SSLv3_method’ has not been declared; did you mean ‘SSLv23_method’?
  101. 91 | handle_ = ::SSL_CTX_new(::SSLv3_method());
  102. | ^~~~~~~~~~~~
  103. | SSLv23_method
  104. /usr/include/boost/asio/ssl/impl/context.ipp:94:31: error: ‘::SSLv3_client_method’ has not been declared; did you mean ‘SSLv23_client_method’?
  105. 94 | handle_ = ::SSL_CTX_new(::SSLv3_client_method());
  106. | ^~~~~~~~~~~~~~~~~~~
  107. | SSLv23_client_method
  108. /usr/include/boost/asio/ssl/impl/context.ipp:97:31: error: ‘::SSLv3_server_method’ has not been declared; did you mean ‘SSLv23_server_method’?
  109. 97 | handle_ = ::SSL_CTX_new(::SSLv3_server_method());
  110. | ^~~~~~~~~~~~~~~~~~~
  111. | SSLv23_server_method
  112. /usr/include/boost/asio/ssl/impl/context.ipp: In destructor ‘boost::asio::ssl::context::~context()’:
  113. /usr/include/boost/asio/ssl/impl/context.ipp:197:16: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  114. 197 | if (handle_->default_passwd_callback_userdata)
  115. | ^~
  116. In file included from /usr/include/openssl/crypto.h:25,
  117. from /usr/include/openssl/bio.h:20,
  118. from /usr/include/openssl/conf.h:13,
  119. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  120. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  121. from /usr/include/boost/asio/ssl/context.hpp:27,
  122. from /usr/include/boost/asio/ssl.hpp:19,
  123. from rpcprotocol.h:16,
  124. from rpcserver.h:10,
  125. from bitcoind.cpp:7:
  126. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  127. 149 | typedef struct ssl_ctx_st SSL_CTX;
  128. | ^~~~~~~~~~
  129. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  130. from /usr/include/boost/asio/ssl.hpp:19,
  131. from rpcprotocol.h:16,
  132. from rpcserver.h:10,
  133. from bitcoind.cpp:7:
  134. /usr/include/boost/asio/ssl/impl/context.ipp:201:20: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  135. 201 | handle_->default_passwd_callback_userdata);
  136. | ^~
  137. In file included from /usr/include/openssl/crypto.h:25,
  138. from /usr/include/openssl/bio.h:20,
  139. from /usr/include/openssl/conf.h:13,
  140. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  141. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  142. from /usr/include/boost/asio/ssl/context.hpp:27,
  143. from /usr/include/boost/asio/ssl.hpp:19,
  144. from rpcprotocol.h:16,
  145. from rpcserver.h:10,
  146. from bitcoind.cpp:7:
  147. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  148. 149 | typedef struct ssl_ctx_st SSL_CTX;
  149. | ^~~~~~~~~~
  150. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  151. from /usr/include/boost/asio/ssl.hpp:19,
  152. from rpcprotocol.h:16,
  153. from rpcserver.h:10,
  154. from bitcoind.cpp:7:
  155. /usr/include/boost/asio/ssl/impl/context.ipp:203:14: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  156. 203 | handle_->default_passwd_callback_userdata = 0;
  157. | ^~
  158. In file included from /usr/include/openssl/crypto.h:25,
  159. from /usr/include/openssl/bio.h:20,
  160. from /usr/include/openssl/conf.h:13,
  161. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  162. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  163. from /usr/include/boost/asio/ssl/context.hpp:27,
  164. from /usr/include/boost/asio/ssl.hpp:19,
  165. from rpcprotocol.h:16,
  166. from rpcserver.h:10,
  167. from bitcoind.cpp:7:
  168. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  169. 149 | typedef struct ssl_ctx_st SSL_CTX;
  170. | ^~~~~~~~~~
  171. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  172. from /usr/include/boost/asio/ssl.hpp:19,
  173. from rpcprotocol.h:16,
  174. from rpcserver.h:10,
  175. from bitcoind.cpp:7:
  176. /usr/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_certificate_chain(const boost::asio::const_buffer&, boost::system::error_code&)’:
  177. /usr/include/boost/asio/ssl/impl/context.ipp:532:18: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  178. 532 | handle_->default_passwd_callback,
  179. | ^~
  180. In file included from /usr/include/openssl/crypto.h:25,
  181. from /usr/include/openssl/bio.h:20,
  182. from /usr/include/openssl/conf.h:13,
  183. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  184. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  185. from /usr/include/boost/asio/ssl/context.hpp:27,
  186. from /usr/include/boost/asio/ssl.hpp:19,
  187. from rpcprotocol.h:16,
  188. from rpcserver.h:10,
  189. from bitcoind.cpp:7:
  190. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  191. 149 | typedef struct ssl_ctx_st SSL_CTX;
  192. | ^~~~~~~~~~
  193. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  194. from /usr/include/boost/asio/ssl.hpp:19,
  195. from rpcprotocol.h:16,
  196. from rpcserver.h:10,
  197. from bitcoind.cpp:7:
  198. /usr/include/boost/asio/ssl/impl/context.ipp:533:18: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  199. 533 | handle_->default_passwd_callback_userdata) };
  200. | ^~
  201. In file included from /usr/include/openssl/crypto.h:25,
  202. from /usr/include/openssl/bio.h:20,
  203. from /usr/include/openssl/conf.h:13,
  204. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  205. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  206. from /usr/include/boost/asio/ssl/context.hpp:27,
  207. from /usr/include/boost/asio/ssl.hpp:19,
  208. from rpcprotocol.h:16,
  209. from rpcserver.h:10,
  210. from bitcoind.cpp:7:
  211. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  212. 149 | typedef struct ssl_ctx_st SSL_CTX;
  213. | ^~~~~~~~~~
  214. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  215. from /usr/include/boost/asio/ssl.hpp:19,
  216. from rpcprotocol.h:16,
  217. from rpcserver.h:10,
  218. from bitcoind.cpp:7:
  219. /usr/include/boost/asio/ssl/impl/context.ipp:550:16: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  220. 550 | if (handle_->extra_certs)
  221. | ^~
  222. In file included from /usr/include/openssl/crypto.h:25,
  223. from /usr/include/openssl/bio.h:20,
  224. from /usr/include/openssl/conf.h:13,
  225. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  226. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  227. from /usr/include/boost/asio/ssl/context.hpp:27,
  228. from /usr/include/boost/asio/ssl.hpp:19,
  229. from rpcprotocol.h:16,
  230. from rpcserver.h:10,
  231. from bitcoind.cpp:7:
  232. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  233. 149 | typedef struct ssl_ctx_st SSL_CTX;
  234. | ^~~~~~~~~~
  235. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  236. from /usr/include/boost/asio/ssl.hpp:19,
  237. from rpcprotocol.h:16,
  238. from rpcserver.h:10,
  239. from bitcoind.cpp:7:
  240. /usr/include/boost/asio/ssl/impl/context.ipp:552:33: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  241. 552 | ::sk_X509_pop_free(handle_->extra_certs, X509_free);
  242. | ^~
  243. In file included from /usr/include/openssl/crypto.h:25,
  244. from /usr/include/openssl/bio.h:20,
  245. from /usr/include/openssl/conf.h:13,
  246. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  247. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  248. from /usr/include/boost/asio/ssl/context.hpp:27,
  249. from /usr/include/boost/asio/ssl.hpp:19,
  250. from rpcprotocol.h:16,
  251. from rpcserver.h:10,
  252. from bitcoind.cpp:7:
  253. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  254. 149 | typedef struct ssl_ctx_st SSL_CTX;
  255. | ^~~~~~~~~~
  256. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  257. from /usr/include/boost/asio/ssl.hpp:19,
  258. from rpcprotocol.h:16,
  259. from rpcserver.h:10,
  260. from bitcoind.cpp:7:
  261. /usr/include/boost/asio/ssl/impl/context.ipp:553:14: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  262. 553 | handle_->extra_certs = 0;
  263. | ^~
  264. In file included from /usr/include/openssl/crypto.h:25,
  265. from /usr/include/openssl/bio.h:20,
  266. from /usr/include/openssl/conf.h:13,
  267. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  268. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  269. from /usr/include/boost/asio/ssl/context.hpp:27,
  270. from /usr/include/boost/asio/ssl.hpp:19,
  271. from rpcprotocol.h:16,
  272. from rpcserver.h:10,
  273. from bitcoind.cpp:7:
  274. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  275. 149 | typedef struct ssl_ctx_st SSL_CTX;
  276. | ^~~~~~~~~~
  277. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  278. from /usr/include/boost/asio/ssl.hpp:19,
  279. from rpcprotocol.h:16,
  280. from rpcserver.h:10,
  281. from bitcoind.cpp:7:
  282. /usr/include/boost/asio/ssl/impl/context.ipp:557:18: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  283. 557 | handle_->default_passwd_callback,
  284. | ^~
  285. In file included from /usr/include/openssl/crypto.h:25,
  286. from /usr/include/openssl/bio.h:20,
  287. from /usr/include/openssl/conf.h:13,
  288. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  289. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  290. from /usr/include/boost/asio/ssl/context.hpp:27,
  291. from /usr/include/boost/asio/ssl.hpp:19,
  292. from rpcprotocol.h:16,
  293. from rpcserver.h:10,
  294. from bitcoind.cpp:7:
  295. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  296. 149 | typedef struct ssl_ctx_st SSL_CTX;
  297. | ^~~~~~~~~~
  298. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  299. from /usr/include/boost/asio/ssl.hpp:19,
  300. from rpcprotocol.h:16,
  301. from rpcserver.h:10,
  302. from bitcoind.cpp:7:
  303. /usr/include/boost/asio/ssl/impl/context.ipp:558:18: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  304. 558 | handle_->default_passwd_callback_userdata))
  305. | ^~
  306. In file included from /usr/include/openssl/crypto.h:25,
  307. from /usr/include/openssl/bio.h:20,
  308. from /usr/include/openssl/conf.h:13,
  309. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  310. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  311. from /usr/include/boost/asio/ssl/context.hpp:27,
  312. from /usr/include/boost/asio/ssl.hpp:19,
  313. from rpcprotocol.h:16,
  314. from rpcserver.h:10,
  315. from bitcoind.cpp:7:
  316. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  317. 149 | typedef struct ssl_ctx_st SSL_CTX;
  318. | ^~~~~~~~~~
  319. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  320. from /usr/include/boost/asio/ssl.hpp:19,
  321. from rpcprotocol.h:16,
  322. from rpcserver.h:10,
  323. from bitcoind.cpp:7:
  324. /usr/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::do_set_password_callback(boost::asio::ssl::detail::password_callback_base*, boost::system::error_code&)’:
  325. /usr/include/boost/asio/ssl/impl/context.ipp:899:14: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  326. 899 | if (handle_->default_passwd_callback_userdata)
  327. | ^~
  328. In file included from /usr/include/openssl/crypto.h:25,
  329. from /usr/include/openssl/bio.h:20,
  330. from /usr/include/openssl/conf.h:13,
  331. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  332. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  333. from /usr/include/boost/asio/ssl/context.hpp:27,
  334. from /usr/include/boost/asio/ssl.hpp:19,
  335. from rpcprotocol.h:16,
  336. from rpcserver.h:10,
  337. from bitcoind.cpp:7:
  338. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  339. 149 | typedef struct ssl_ctx_st SSL_CTX;
  340. | ^~~~~~~~~~
  341. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  342. from /usr/include/boost/asio/ssl.hpp:19,
  343. from rpcprotocol.h:16,
  344. from rpcserver.h:10,
  345. from bitcoind.cpp:7:
  346. /usr/include/boost/asio/ssl/impl/context.ipp:901:16: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  347. 901 | handle_->default_passwd_callback_userdata);
  348. | ^~
  349. In file included from /usr/include/openssl/crypto.h:25,
  350. from /usr/include/openssl/bio.h:20,
  351. from /usr/include/openssl/conf.h:13,
  352. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  353. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  354. from /usr/include/boost/asio/ssl/context.hpp:27,
  355. from /usr/include/boost/asio/ssl.hpp:19,
  356. from rpcprotocol.h:16,
  357. from rpcserver.h:10,
  358. from bitcoind.cpp:7:
  359. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  360. 149 | typedef struct ssl_ctx_st SSL_CTX;
  361. | ^~~~~~~~~~
  362. In file included from /usr/include/boost/asio/ssl/context.hpp:786,
  363. from /usr/include/boost/asio/ssl.hpp:19,
  364. from rpcprotocol.h:16,
  365. from rpcserver.h:10,
  366. from bitcoind.cpp:7:
  367. /usr/include/boost/asio/ssl/impl/context.ipp:903:10: error: invalid use of incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  368. 903 | handle_->default_passwd_callback_userdata = callback;
  369. | ^~
  370. In file included from /usr/include/openssl/crypto.h:25,
  371. from /usr/include/openssl/bio.h:20,
  372. from /usr/include/openssl/conf.h:13,
  373. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  374. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  375. from /usr/include/boost/asio/ssl/context.hpp:27,
  376. from /usr/include/boost/asio/ssl.hpp:19,
  377. from rpcprotocol.h:16,
  378. from rpcserver.h:10,
  379. from bitcoind.cpp:7:
  380. /usr/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
  381. 149 | typedef struct ssl_ctx_st SSL_CTX;
  382. | ^~~~~~~~~~
  383. In file included from /usr/include/openssl/engine.h:25,
  384. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:22,
  385. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  386. from /usr/include/boost/asio/ssl/context.hpp:27,
  387. from /usr/include/boost/asio/ssl.hpp:19,
  388. from rpcprotocol.h:16,
  389. from rpcserver.h:10,
  390. from bitcoind.cpp:7:
  391. /usr/include/boost/asio/ssl/detail/impl/engine.ipp: In member function ‘const boost::system::error_code& boost::asio::ssl::detail::engine::map_error_code(boost::system::error_code&) const’:
  392. /usr/include/boost/asio/ssl/detail/impl/engine.ipp:207:9: error: ‘SSL_R_SHORT_READ’ was not declared in this scope; did you mean ‘SSL_F_SSL_READ’?
  393. 207 | ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ),
  394. | ^~~~~~~~
  395. In file included from /usr/include/boost/asio/ssl/detail/engine.hpp:163,
  396. from /usr/include/boost/asio/ssl/detail/buffered_handshake_op.hpp:21,
  397. from /usr/include/boost/asio/ssl/stream.hpp:29,
  398. from /usr/include/boost/asio/ssl.hpp:24,
  399. from rpcprotocol.h:16,
  400. from rpcserver.h:10,
  401. from bitcoind.cpp:7:
  402. /usr/include/boost/asio/ssl/detail/impl/engine.ipp:214:19: error: invalid use of incomplete type ‘SSL’ {aka ‘struct ssl_st’}
  403. 214 | if (ssl_ && ssl_->version == SSL2_VERSION)
  404. | ^~
  405. In file included from /usr/include/openssl/crypto.h:25,
  406. from /usr/include/openssl/bio.h:20,
  407. from /usr/include/openssl/conf.h:13,
  408. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:19,
  409. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  410. from /usr/include/boost/asio/ssl/context.hpp:27,
  411. from /usr/include/boost/asio/ssl.hpp:19,
  412. from rpcprotocol.h:16,
  413. from rpcserver.h:10,
  414. from bitcoind.cpp:7:
  415. /usr/include/openssl/ossl_typ.h:148:16: note: forward declaration of ‘SSL’ {aka ‘struct ssl_st’}
  416. 148 | typedef struct ssl_st SSL;
  417. | ^~~~~~
  418. In file included from /usr/include/openssl/engine.h:25,
  419. from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:22,
  420. from /usr/include/boost/asio/ssl/context_base.hpp:19,
  421. from /usr/include/boost/asio/ssl/context.hpp:27,
  422. from /usr/include/boost/asio/ssl.hpp:19,
  423. from rpcprotocol.h:16,
  424. from rpcserver.h:10,
  425. from bitcoind.cpp:7:
  426. /usr/include/boost/asio/ssl/detail/impl/engine.ipp:221:9: error: ‘SSL_R_SHORT_READ’ was not declared in this scope; did you mean ‘SSL_F_SSL_READ’?
  427. 221 | ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ),
  428. | ^~~~~~~~
  429. In file included from primitives/block.h:9,
  430. from chain.h:9,
  431. from main.h:14,
  432. from bitcoind.cpp:9:
  433. ./primitives/transaction.h: In instantiation of ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const CTxOut*; _OI = CTxOut*]’:
  434. /usr/include/c++/9/bits/stl_algobase.h:404:30: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const CTxOut*; _OI = CTxOut*]’
  435. /usr/include/c++/9/bits/stl_algobase.h:441:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >; _OI = __gnu_cxx::__normal_iterator<CTxOut*, std::vector<CTxOut> >]’
  436. /usr/include/c++/9/bits/stl_algobase.h:474:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >; _OI = __gnu_cxx::__normal_iterator<CTxOut*, std::vector<CTxOut> >]’
  437. /usr/include/c++/9/bits/vector.tcc:238:31: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = CTxOut; _Alloc = std::allocator<CTxOut>]’
  438. coins.h:90:19: required from here
  439. ./primitives/transaction.h:103:7: warning: implicitly-declared ‘CScript& CScript::operator=(const CScript&)’ is deprecated [-Wdeprecated-copy]
  440. 103 | class CTxOut
  441. | ^~~~~~
  442. In file included from ./primitives/transaction.h:10,
  443. from primitives/block.h:9,
  444. from chain.h:9,
  445. from main.h:14,
  446. from bitcoind.cpp:9:
  447. ./script/script.h:365:5: note: because ‘CScript’ has user-provided ‘CScript::CScript(const CScript&)’
  448. 365 | CScript(const CScript& b) : std::vector<unsigned char>(b.begin(), b.end()) { }
  449. | ^~~~~~~
  450. In file included from /usr/include/c++/9/bits/char_traits.h:39,
  451. from /usr/include/c++/9/string:40,
  452. from clientversion.h:51,
  453. from bitcoind.cpp:6:
  454. /usr/include/c++/9/bits/stl_algobase.h:342:18: note: synthesized method ‘CTxOut& CTxOut::operator=(const CTxOut&)’ first required here
  455. 342 | *__result = *__first;
  456. | ~~~~~~~~~~^~~~~~~~~~
  457. make[2]: *** [Makefile:5723: bitcoind-bitcoind.o] Error 1
  458. make[2]: Leaving directory '/usr/local/src/bitcoin-0.10.0/src'
  459. make[1]: *** [Makefile:6475: all-recursive] Error 1
  460. make[1]: Leaving directory '/usr/local/src/bitcoin-0.10.0/src'
  461. make: *** [Makefile:569: all-recursive] Error 1
RAW Paste Data