Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.78 KB | None | 0 0
  1. root@ChainChain:/home/alessio/chaincoin# make
  2. Making all in src
  3. make[1]: Entering directory '/home/alessio/chaincoin/src'
  4. make all-recursive
  5. make[2]: Entering directory '/home/alessio/chaincoin/src'
  6. Making all in .
  7. make[3]: Entering directory '/home/alessio/chaincoin/src'
  8. CXX activemasternode.o
  9. In file included from chainparams.h:9:0,
  10. from protocol.h:13,
  11. from activemasternode.cpp:3:
  12. bignum.h:56:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
  13. class CBigNum : public BIGNUM
  14. ^~~~~~
  15. In file included from /usr/include/openssl/crypto.h:31:0,
  16. from allocators.h:15,
  17. from key.h:9,
  18. from script.h:9,
  19. from core.h:9,
  20. from activemasternode.cpp:2:
  21. /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’
  22. typedef struct bignum_st BIGNUM;
  23. ^~~~~~~~~
  24. In file included from chainparams.h:9:0,
  25. from protocol.h:13,
  26. from activemasternode.cpp:3:
  27. bignum.h: In constructor ‘CBigNum::CBigNum()’:
  28. bignum.h:61:21: error: ‘BN_init’ was not declared in this scope
  29. BN_init(this);
  30. ^
  31. bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
  32. bignum.h:66:21: error: ‘BN_init’ was not declared in this scope
  33. BN_init(this);
  34. ^
  35. bignum.h:67:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
  36. if (!BN_copy(this, &b))
  37. ^
  38. bignum.h:69:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
  39. BN_clear_free(this);
  40. ^
  41. bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
  42. bignum.h:76:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
  43. if (!BN_copy(this, &b))
  44. ^
  45. bignum.h: In destructor ‘CBigNum::~CBigNum()’:
  46. bignum.h:83:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
  47. BN_clear_free(this);
  48. ^
  49. bignum.h: In constructor ‘CBigNum::CBigNum(signed char)’:
  50. bignum.h:87:49: error: ‘BN_init’ was not declared in this scope
  51. CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  52. ^
  53. bignum.h: In constructor ‘CBigNum::CBigNum(short int)’:
  54. bignum.h:88:49: error: ‘BN_init’ was not declared in this scope
  55. CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  56. ^
  57. bignum.h: In constructor ‘CBigNum::CBigNum(int)’:
  58. bignum.h:89:49: error: ‘BN_init’ was not declared in this scope
  59. CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  60. ^
  61. bignum.h: In constructor ‘CBigNum::CBigNum(long int)’:
  62. bignum.h:90:49: error: ‘BN_init’ was not declared in this scope
  63. CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  64. ^
  65. bignum.h: In constructor ‘CBigNum::CBigNum(long long int)’:
  66. bignum.h:91:49: error: ‘BN_init’ was not declared in this scope
  67. CBigNum(long long n) { BN_init(this); setint64(n); }
  68. ^
  69. bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
  70. bignum.h:92:49: error: ‘BN_init’ was not declared in this scope
  71. CBigNum(unsigned char n) { BN_init(this); setulong(n); }
  72. ^
  73. bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
  74. bignum.h:93:49: error: ‘BN_init’ was not declared in this scope
  75. CBigNum(unsigned short n) { BN_init(this); setulong(n); }
  76. ^
  77. bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
  78. bignum.h:94:49: error: ‘BN_init’ was not declared in this scope
  79. CBigNum(unsigned int n) { BN_init(this); setulong(n); }
  80. ^
  81. bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’:
  82. bignum.h:95:49: error: ‘BN_init’ was not declared in this scope
  83. CBigNum(unsigned long n) { BN_init(this); setulong(n); }
  84. ^
  85. bignum.h: In constructor ‘CBigNum::CBigNum(long long unsigned int)’:
  86. bignum.h:96:49: error: ‘BN_init’ was not declared in this scope
  87. CBigNum(unsigned long long n) { BN_init(this); setuint64(n); }
  88. ^
  89. bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
  90. bignum.h:97:49: error: ‘BN_init’ was not declared in this scope
  91. explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
  92. ^
  93. bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector<unsigned char>&)’:
  94. bignum.h:101:21: error: ‘BN_init’ was not declared in this scope
  95. BN_init(this);
  96. ^
  97. bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’:
  98. bignum.h:107:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
  99. if (!BN_set_word(this, n))
  100. ^
  101. bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’:
  102. bignum.h:113:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
  103. return BN_get_word(this);
  104. ^
  105. bignum.h: In member function ‘unsigned int CBigNum::getuint() const’:
  106. bignum.h:118:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
  107. return BN_get_word(this);
  108. ^
  109. bignum.h: In member function ‘int CBigNum::getint() const’:
  110. bignum.h:123:43: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
  111. unsigned long n = BN_get_word(this);
  112. ^
  113. bignum.h:124:33: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
  114. if (!BN_is_negative(this))
  115. ^
  116. In file included from chainparams.h:9:0,
  117. from protocol.h:13,
  118. from activemasternode.cpp:3:
  119. bignum.h: In member function ‘void CBigNum::setint64(int64_t)’:
  120. bignum.h:172:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
  121. BN_mpi2bn(pch, p - pch, this);
  122. ^
  123. bignum.h: In member function ‘void CBigNum::setuint64(uint64_t)’:
  124. bignum.h:199:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
  125. BN_mpi2bn(pch, p - pch, this);
  126. ^
  127. bignum.h: In member function ‘void CBigNum::setuint256(uint256)’:
  128. bignum.h:227:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
  129. BN_mpi2bn(pch, p - pch, this);
  130. ^
  131. bignum.h: In member function ‘uint256 CBigNum::getuint256() const’:
  132. bignum.h:232:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
  133. unsigned int nSize = BN_bn2mpi(this, NULL);
  134. ^
  135. bignum.h:236:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
  136. BN_bn2mpi(this, &vch[0]);
  137. ^
  138. bignum.h: In member function ‘void CBigNum::setvch(const std::vector<unsigned char>&)’:
  139. bignum.h:257:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
  140. BN_mpi2bn(&vch2[0], vch2.size(), this);
  141. ^
  142. bignum.h: In member function ‘std::vector<unsigned char> CBigNum::getvch() const’:
  143. bignum.h:262:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
  144. unsigned int nSize = BN_bn2mpi(this, NULL);
  145. ^
  146. bignum.h:266:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
  147. BN_bn2mpi(this, &vch[0]);
  148. ^
  149. bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int)’:
  150. bignum.h:302:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
  151. BN_set_word(this, nWord);
  152. ^
  153. bignum.h:306:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
  154. BN_set_word(this, nWord);
  155. ^
  156. bignum.h:307:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
  157. BN_lshift(this, this, 8*(nSize-3));
  158. ^
  159. bignum.h:309:40: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)’
  160. BN_set_negative(this, fNegative);
  161. ^
  162. In file included from bignum.h:17:0,
  163. from chainparams.h:9,
  164. from protocol.h:13,
  165. from activemasternode.cpp:3:
  166. bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’:
  167. bignum.h:315:30: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_num_bits(const BIGNUM*)’
  168. unsigned int nSize = BN_num_bytes(this);
  169. ^
  170. In file included from chainparams.h:9:0,
  171. from protocol.h:13,
  172. from activemasternode.cpp:3:
  173. bignum.h:318:40: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
  174. nCompact = BN_get_word(this) << 8*(3-nSize);
  175. ^
  176. bignum.h:322:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
  177. BN_rshift(&bn, this, 8*(nSize-3));
  178. ^
  179. bignum.h:323:39: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
  180. nCompact = BN_get_word(&bn);
  181. ^
  182. bignum.h:333:41: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
  183. nCompact |= (BN_is_negative(this) ? 0x00800000 : 0);
  184. ^
  185. bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const’:
  186. bignum.h:374:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)’
  187. BN_set_negative(&bn, false);
  188. ^
  189. bignum.h:377:29: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  190. if (BN_cmp(&bn, &bn0) == 0)
  191. ^
  192. bignum.h:379:32: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  193. while (BN_cmp(&bn, &bn0) > 0)
  194. ^
  195. bignum.h:381:54: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
  196. if (!BN_div(&dv, &rem, &bn, &bnBase, pctx))
  197. ^
  198. bignum.h:387:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
  199. if (BN_is_negative(this))
  200. ^
  201. bignum.h: In member function ‘bool CBigNum::operator!() const’:
  202. bignum.h:420:31: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_zero(const BIGNUM*)’
  203. return BN_is_zero(this);
  204. ^
  205. bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
  206. bignum.h:425:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
  207. if (!BN_add(this, this, &b))
  208. ^
  209. bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
  210. bignum.h:439:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
  211. if (!BN_mul(this, this, &b, pctx))
  212. ^
  213. bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’:
  214. bignum.h:458:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
  215. if (!BN_lshift(this, this, shift))
  216. ^
  217. bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’:
  218. bignum.h:469:28: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  219. if (BN_cmp(&a, this) > 0)
  220. ^
  221. bignum.h:475:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
  222. if (!BN_rshift(this, this, shift))
  223. ^
  224. bignum.h: In member function ‘CBigNum& CBigNum::operator++()’:
  225. bignum.h:484:47: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
  226. if (!BN_add(this, this, BN_value_one()))
  227. ^
  228. bignum.h: In member function ‘CBigNum& CBigNum::operator--()’:
  229. bignum.h:501:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
  230. if (!BN_sub(&r, this, BN_value_one()))
  231. ^
  232. bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’:
  233. bignum.h:526:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
  234. if (!BN_add(&r, &a, &b))
  235. ^
  236. bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’:
  237. bignum.h:534:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
  238. if (!BN_sub(&r, &a, &b))
  239. ^
  240. bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
  241. bignum.h:542:43: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
  242. BN_set_negative(&r, !BN_is_negative(&r));
  243. ^
  244. bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&)’:
  245. bignum.h:550:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
  246. if (!BN_mul(&r, &a, &b, pctx))
  247. ^
  248. bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’:
  249. bignum.h:559:39: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
  250. if (!BN_div(&r, NULL, &a, &b, pctx))
  251. ^
  252. In file included from bignum.h:17:0,
  253. from chainparams.h:9,
  254. from protocol.h:13,
  255. from activemasternode.cpp:3:
  256. bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
  257. bignum.h:568:10: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘2’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
  258. if (!BN_mod(&r, &a, &b, pctx))
  259. ^
  260. In file included from chainparams.h:9:0,
  261. from protocol.h:13,
  262. from activemasternode.cpp:3:
  263. bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
  264. bignum.h:576:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
  265. if (!BN_lshift(&r, &a, shift))
  266. ^
  267. bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’:
  268. bignum.h:588:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  269. inline bool operator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
  270. ^
  271. bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
  272. bignum.h:589:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  273. inline bool operator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
  274. ^
  275. bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’:
  276. bignum.h:590:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  277. inline bool operator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
  278. ^
  279. bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’:
  280. bignum.h:591:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  281. inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
  282. ^
  283. bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’:
  284. bignum.h:592:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  285. inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); }
  286. ^
  287. bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
  288. bignum.h:593:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  289. inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); }
  290. ^
  291. Makefile:931: recipe for target 'activemasternode.o' failed
  292. make[3]: *** [activemasternode.o] Error 1
  293. make[3]: Leaving directory '/home/alessio/chaincoin/src'
  294. Makefile:953: recipe for target 'all-recursive' failed
  295. make[2]: *** [all-recursive] Error 1
  296. make[2]: Leaving directory '/home/alessio/chaincoin/src'
  297. Makefile:706: recipe for target 'all' failed
  298. make[1]: *** [all] Error 2
  299. make[1]: Leaving directory '/home/alessio/chaincoin/src'
  300. Makefile:509: recipe for target 'all-recursive' failed
  301. make: *** [all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement