Advertisement
Guest User

ppc 0.4.0 fail

a guest
Jul 22nd, 2015
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.42 KB | None | 0 0
  1. + make -f makefile.linux-mingw -j2 DEPSDIR=/home/ubuntu/build ppcoind.exe USE_UPNP=1 DEBUGFLAGS=-frandom-seed=ppcoin
  2. /bin/sh ../share/genbuild.sh obj/build.h
  3. i586-mingw32msvc-g++ -c -O2 -w -Wno-invalid-offsetof -Wformat -frandom-seed=ppcoin -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DSTATICLIB -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/home/ubuntu/build/boost_1_47_0" -I"/home/ubuntu/build/db-4.8.30.NC/build_unix" -I"/home/ubuntu/build/openssl-1.0.1b/include" -I"/home/ubuntu/build" -I"/home/ubuntu/build/ppcoin/src"/obj -o obj/checkpoints.o checkpoints.cpp
  4. i586-mingw32msvc-g++ -c -O2 -w -Wno-invalid-offsetof -Wformat -frandom-seed=ppcoin -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DSTATICLIB -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/home/ubuntu/build/boost_1_47_0" -I"/home/ubuntu/build/db-4.8.30.NC/build_unix" -I"/home/ubuntu/build/openssl-1.0.1b/include" -I"/home/ubuntu/build" -I"/home/ubuntu/build/ppcoin/src"/obj -o obj/netbase.o netbase.cpp
  5. In file included from checkpoints.h:9,
  6. from checkpoints.cpp:9:
  7. net.h:12:26: error: openssl/rand.h: No such file or directory
  8. In file included from addrman.h:9,
  9. from net.h:21,
  10. from checkpoints.h:9,
  11. from checkpoints.cpp:9:
  12. util.h:32:25: error: openssl/sha.h: No such file or directory
  13. util.h:33:28: error: openssl/ripemd.h: No such file or directory
  14. In file included from main.h:9,
  15. from db.h:9,
  16. from checkpoints.cpp:11:
  17. bignum.h:10:24: error: openssl/bn.h: No such file or directory
  18. In file included from base58.h:22,
  19. from script.h:9,
  20. from main.h:11,
  21. from db.h:9,
  22. from checkpoints.cpp:11:
  23. key.h:14:49: error: openssl/ec.h: No such file or directory
  24. In file included from netbase.cpp:7:
  25. util.h:32:25: error: openssl/sha.h: No such file or directory
  26. util.h:33:28: error: openssl/ripemd.h: No such file or directory
  27. In file included from addrman.h:9,
  28. from net.h:21,
  29. from checkpoints.h:9,
  30. from checkpoints.cpp:9:
  31. util.h: In function ‘uint256 Hash(T1, T1)’:
  32. util.h:549: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
  33. util.h:549: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  34. util.h: In function ‘uint256 Hash(T1, T1, T2, T2)’:
  35. util.h:559: error: ‘SHA256_CTX’ was not declared in this scope
  36. util.h:559: error: expected `;' before ‘ctx’
  37. util.h:560: error: ‘ctx’ was not declared in this scope
  38. util.h:560: error: there are no arguments to ‘SHA256_Init’ that depend on a template parameter, so a declaration of ‘SHA256_Init’ must be available
  39. util.h:563: error: there are no arguments to ‘SHA256_Final’ that depend on a template parameter, so a declaration of ‘SHA256_Final’ must be available
  40. util.h:565: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
  41. util.h: In function ‘uint256 Hash(T1, T1, T2, T2, T3, T3)’:
  42. util.h:576: error: ‘SHA256_CTX’ was not declared in this scope
  43. util.h:576: error: expected `;' before ‘ctx’
  44. util.h:577: error: ‘ctx’ was not declared in this scope
  45. util.h:577: error: there are no arguments to ‘SHA256_Init’ that depend on a template parameter, so a declaration of ‘SHA256_Init’ must be available
  46. util.h:581: error: there are no arguments to ‘SHA256_Final’ that depend on a template parameter, so a declaration of ‘SHA256_Final’ must be available
  47. util.h:583: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
  48. util.h: In function ‘uint160 Hash160(const std::vector<unsigned char, std::allocator<unsigned char> >&)’:
  49. util.h:602: error: ‘SHA256’ was not declared in this scope
  50. util.h:604: error: ‘RIPEMD160’ was not declared in this scope
  51. In file included from net.h:21,
  52. from checkpoints.h:9,
  53. from checkpoints.cpp:9:
  54. addrman.h: In constructor ‘CAddrMan::CAddrMan()’:
  55. addrman.h:384: error: ‘RAND_bytes’ was not declared in this scope
  56. In file included from netbase.cpp:7:
  57. util.h: In function ‘uint256 Hash(T1, T1)’:
  58. util.h:549: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
  59. util.h:549: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  60. util.h: In function ‘uint256 Hash(T1, T1, T2, T2)’:
  61. util.h:559: error: ‘SHA256_CTX’ was not declared in this scope
  62. util.h:559: error: expected `;' before ‘ctx’
  63. util.h:560: error: ‘ctx’ was not declared in this scope
  64. util.h:560: error: there are no arguments to ‘SHA256_Init’ that depend on a template parameter, so a declaration of ‘SHA256_Init’ must be available
  65. util.h:563: error: there are no arguments to ‘SHA256_Final’ that depend on a template parameter, so a declaration of ‘SHA256_Final’ must be available
  66. util.h:565: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
  67. util.h: In function ‘uint256 Hash(T1, T1, T2, T2, T3, T3)’:
  68. util.h:576: error: ‘SHA256_CTX’ was not declared in this scope
  69. util.h:576: error: expected `;' before ‘ctx’
  70. util.h:577: error: ‘ctx’ was not declared in this scope
  71. util.h:577: error: there are no arguments to ‘SHA256_Init’ that depend on a template parameter, so a declaration of ‘SHA256_Init’ must be available
  72. util.h:581: error: there are no arguments to ‘SHA256_Final’ that depend on a template parameter, so a declaration of ‘SHA256_Final’ must be available
  73. util.h:583: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
  74. util.h: In function ‘uint160 Hash160(const std::vector<unsigned char, std::allocator<unsigned char> >&)’:
  75. util.h:602: error: ‘SHA256’ was not declared in this scope
  76. util.h:604: error: ‘RIPEMD160’ was not declared in this scope
  77. In file included from checkpoints.h:9,
  78. from checkpoints.cpp:9:
  79. net.h: In member function ‘void CNode::PushRequest(const char*, void (*)(void*, CDataStream&), void*)’:
  80. net.h:547: error: ‘RAND_bytes’ was not declared in this scope
  81. net.h: In member function ‘void CNode::PushRequest(const char*, const T1&, void (*)(void*, CDataStream&), void*)’:
  82. net.h:562: error: there are no arguments to ‘RAND_bytes’ that depend on a template parameter, so a declaration of ‘RAND_bytes’ must be available
  83. net.h: In member function ‘void CNode::PushRequest(const char*, const T1&, const T2&, void (*)(void*, CDataStream&), void*)’:
  84. net.h:577: error: there are no arguments to ‘RAND_bytes’ that depend on a template parameter, so a declaration of ‘RAND_bytes’ must be available
  85. In file included from main.h:9,
  86. from db.h:9,
  87. from checkpoints.cpp:11:
  88. bignum.h: At global scope:
  89. bignum.h:26: error: ISO C++ forbids declaration of ‘BN_CTX’ with no type
  90. bignum.h:26: error: expected ‘;’ before ‘*’ token
  91. bignum.h:27: error: ISO C++ forbids declaration of ‘BN_CTX’ with no type
  92. bignum.h:27: error: expected ‘;’ before ‘*’ token
  93. bignum.h:29: error: expected `;' before ‘public’
  94. bignum.h:43: error: expected type-specifier before ‘BN_CTX’
  95. bignum.h:44: error: ISO C++ forbids declaration of ‘BN_CTX’ with no type
  96. bignum.h:44: error: expected ‘;’ before ‘&’ token
  97. bignum.h:45: error: expected `;' before ‘BN_CTX’
  98. bignum.h:45: error: ISO C++ forbids declaration of ‘BN_CTX’ with no type
  99. bignum.h:45: error: expected ‘;’ before ‘*’ token
  100. bignum.h:46: error: expected `;' before ‘bool’
  101. bignum.h: In constructor ‘CAutoBN_CTX::CAutoBN_CTX()’:
  102. bignum.h:32: error: ‘pctx’ was not declared in this scope
  103. bignum.h:32: error: ‘BN_CTX_new’ was not declared in this scope
  104. bignum.h: In destructor ‘CAutoBN_CTX::~CAutoBN_CTX()’:
  105. bignum.h:39: error: ‘pctx’ was not declared in this scope
  106. bignum.h:40: error: ‘BN_CTX_free’ was not declared in this scope
  107. bignum.h: In member function ‘bool CAutoBN_CTX::operator!()’:
  108. bignum.h:46: error: ‘pctx’ was not declared in this scope
  109. bignum.h: At global scope:
  110. bignum.h:52: error: expected class-name before ‘{’ token
  111. bignum.h: In constructor ‘CBigNum::CBigNum()’:
  112. bignum.h:56: error: ‘BN_init’ was not declared in this scope
  113. bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
  114. bignum.h:61: error: ‘BN_init’ was not declared in this scope
  115. bignum.h:62: error: ‘BN_copy’ was not declared in this scope
  116. bignum.h:64: error: ‘BN_clear_free’ was not declared in this scope
  117. bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
  118. bignum.h:71: error: ‘BN_copy’ was not declared in this scope
  119. bignum.h: In destructor ‘CBigNum::~CBigNum()’:
  120. bignum.h:78: error: ‘BN_clear_free’ was not declared in this scope
  121. bignum.h: In constructor ‘CBigNum::CBigNum(signed char)’:
  122. bignum.h:82: error: ‘BN_init’ was not declared in this scope
  123. bignum.h: In constructor ‘CBigNum::CBigNum(short int)’:
  124. bignum.h:83: error: ‘BN_init’ was not declared in this scope
  125. bignum.h: In constructor ‘CBigNum::CBigNum(int)’:
  126. bignum.h:84: error: ‘BN_init’ was not declared in this scope
  127. bignum.h: In constructor ‘CBigNum::CBigNum(long int)’:
  128. bignum.h:85: error: ‘BN_init’ was not declared in this scope
  129. bignum.h: In constructor ‘CBigNum::CBigNum(int64)’:
  130. bignum.h:86: error: ‘BN_init’ was not declared in this scope
  131. bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
  132. bignum.h:87: error: ‘BN_init’ was not declared in this scope
  133. bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
  134. bignum.h:88: error: ‘BN_init’ was not declared in this scope
  135. bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
  136. bignum.h:89: error: ‘BN_init’ was not declared in this scope
  137. bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’:
  138. bignum.h:90: error: ‘BN_init’ was not declared in this scope
  139. bignum.h: In constructor ‘CBigNum::CBigNum(uint64)’:
  140. bignum.h:91: error: ‘BN_init’ was not declared in this scope
  141. bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
  142. bignum.h:92: error: ‘BN_init’ was not declared in this scope
  143. bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector<unsigned char, std::allocator<unsigned char> >&)’:
  144. bignum.h:96: error: ‘BN_init’ was not declared in this scope
  145. bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’:
  146. bignum.h:102: error: ‘BN_set_word’ was not declared in this scope
  147. bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’:
  148. bignum.h:108: error: ‘BN_get_word’ was not declared in this scope
  149. bignum.h: In member function ‘unsigned int CBigNum::getuint() const’:
  150. bignum.h:113: error: ‘BN_get_word’ was not declared in this scope
  151. bignum.h: In member function ‘int CBigNum::getint() const’:
  152. bignum.h:118: error: ‘BN_get_word’ was not declared in this scope
  153. bignum.h:119: error: ‘BN_is_negative’ was not declared in this scope
  154. bignum.h: In member function ‘void CBigNum::setint64(int64)’:
  155. bignum.h:157: error: ‘BN_mpi2bn’ was not declared in this scope
  156. bignum.h: In member function ‘void CBigNum::setuint64(uint64)’:
  157. bignum.h:184: error: ‘BN_mpi2bn’ was not declared in this scope
  158. bignum.h: In member function ‘uint64 CBigNum::getuint64()’:
  159. bignum.h:189: error: ‘BN_bn2mpi’ was not declared in this scope
  160. bignum.h: In member function ‘void CBigNum::setuint256(uint256)’:
  161. bignum.h:227: error: ‘BN_mpi2bn’ was not declared in this scope
  162. bignum.h: In member function ‘uint256 CBigNum::getuint256()’:
  163. bignum.h:232: error: ‘BN_bn2mpi’ was not declared in this scope
  164. bignum.h: In member function ‘void CBigNum::setvch(const std::vector<unsigned char, std::allocator<unsigned char> >&)’:
  165. bignum.h:257: error: ‘BN_mpi2bn’ was not declared in this scope
  166. bignum.h: In member function ‘std::vector<unsigned char, std::allocator<unsigned char> > CBigNum::getvch() const’:
  167. bignum.h:262: error: ‘BN_bn2mpi’ was not declared in this scope
  168. bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int)’:
  169. bignum.h:280: error: ‘BN_mpi2bn’ was not declared in this scope
  170. bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’:
  171. bignum.h:286: error: ‘BN_bn2mpi’ was not declared in this scope
  172. bignum.h: In member function ‘std::string CBigNum::ToString(int) const’:
  173. bignum.h:334: error: ‘BN_set_negative’ was not declared in this scope
  174. bignum.h:337: error: ‘BN_cmp’ was not declared in this scope
  175. bignum.h:339: error: ‘BN_cmp’ was not declared in this scope
  176. bignum.h:341: error: ‘BN_div’ was not declared in this scope
  177. bignum.h:347: error: ‘BN_is_negative’ was not declared in this scope
  178. bignum.h: In member function ‘bool CBigNum::operator!() const’:
  179. bignum.h:380: error: ‘BN_is_zero’ was not declared in this scope
  180. bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
  181. bignum.h:385: error: ‘BN_add’ was not declared in this scope
  182. bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
  183. bignum.h:399: error: ‘BN_mul’ was not declared in this scope
  184. bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’:
  185. bignum.h:418: error: ‘BN_lshift’ was not declared in this scope
  186. bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’:
  187. bignum.h:429: error: ‘BN_cmp’ was not declared in this scope
  188. bignum.h:435: error: ‘BN_rshift’ was not declared in this scope
  189. bignum.h: In member function ‘CBigNum& CBigNum::operator++()’:
  190. bignum.h:444: error: ‘BN_value_one’ was not declared in this scope
  191. bignum.h:444: error: ‘BN_add’ was not declared in this scope
  192. bignum.h: In member function ‘CBigNum& CBigNum::operator--()’:
  193. bignum.h:461: error: ‘BN_value_one’ was not declared in this scope
  194. bignum.h:461: error: ‘BN_sub’ was not declared in this scope
  195. bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’:
  196. bignum.h:486: error: ‘BN_add’ was not declared in this scope
  197. bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’:
  198. bignum.h:494: error: ‘BN_sub’ was not declared in this scope
  199. bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
  200. bignum.h:502: error: ‘BN_is_negative’ was not declared in this scope
  201. bignum.h:502: error: ‘BN_set_negative’ was not declared in this scope
  202. bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&)’:
  203. bignum.h:510: error: ‘BN_mul’ was not declared in this scope
  204. bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’:
  205. bignum.h:519: error: ‘BN_div’ was not declared in this scope
  206. bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
  207. bignum.h:528: error: ‘BN_mod’ was not declared in this scope
  208. bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
  209. bignum.h:536: error: ‘BN_lshift’ was not declared in this scope
  210. bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’:
  211. bignum.h:548: error: ‘BN_cmp’ was not declared in this scope
  212. bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
  213. bignum.h:549: error: ‘BN_cmp’ was not declared in this scope
  214. bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’:
  215. bignum.h:550: error: ‘BN_cmp’ was not declared in this scope
  216. bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’:
  217. bignum.h:551: error: ‘BN_cmp’ was not declared in this scope
  218. bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’:
  219. bignum.h:552: error: ‘BN_cmp’ was not declared in this scope
  220. bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
  221. bignum.h:553: error: ‘BN_cmp’ was not declared in this scope
  222. In file included from base58.h:22,
  223. from script.h:9,
  224. from main.h:11,
  225. from db.h:9,
  226. from checkpoints.cpp:11:
  227. key.h: At global scope:
  228. key.h:56: error: ISO C++ forbids declaration of ‘EC_KEY’ with no type
  229. key.h:56: error: expected ‘;’ before ‘*’ token
  230. In file included from script.h:9,
  231. from main.h:11,
  232. from db.h:9,
  233. from checkpoints.cpp:11:
  234. base58.h: In function ‘std::string EncodeBase58(const unsigned char*, const unsigned char*)’:
  235. base58.h:51: error: ‘BN_div’ was not declared in this scope
  236. base58.h: In function ‘bool DecodeBase58(const char*, std::vector<unsigned char, std::allocator<unsigned char> >&)’:
  237. base58.h:98: error: ‘BN_mul’ was not declared in this scope
  238. util.h: In function ‘uint256 Hash(T1, T1) [with T1 = const unsigned char*]’:
  239. netbase.cpp:582: instantiated from here
  240. util.h:547: error: ‘SHA256’ was not declared in this scope
  241. make: *** [obj/netbase.o] Error 1
  242. make: *** Waiting for unfinished jobs....
  243. util.h: In function ‘uint256 Hash(T1, T1) [with T1 = __gnu_cxx::__normal_iterator<char*, std::vector<char, zero_after_free_allocator<char> > >]’:
  244. net.h:353: instantiated from here
  245. util.h:547: error: ‘SHA256’ was not declared in this scope
  246. util.h: In function ‘uint256 Hash(T1, T1) [with T1 = __gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >]’:
  247. base58.h:136: instantiated from here
  248. util.h:547: error: ‘SHA256’ was not declared in this scope
  249. util.h: In function ‘uint256 Hash(T1, T1) [with T1 = char*]’:
  250. main.h:952: instantiated from here
  251. util.h:547: error: ‘SHA256’ was not declared in this scope
  252. util.h: In function ‘uint256 Hash(T1, T1, T2, T2) [with T1 = char*, T2 = char*]’:
  253. main.h:999: instantiated from here
  254. util.h:560: error: ‘SHA256_Init’ was not declared in this scope
  255. util.h:561: error: ‘SHA256_Update’ was not declared in this scope
  256. util.h:563: error: ‘SHA256_Final’ was not declared in this scope
  257. util.h:565: error: ‘SHA256’ was not declared in this scope
  258. make: *** [obj/checkpoints.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement