Advertisement
Guest User

Untitled

a guest
Sep 20th, 2011
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.75 KB | None | 0 0
  1. make -f makefile.unix bitcoind
  2. g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DUSE_SSL -DUSE_UPNP=0 -o obj/nogui/crypter.o crypter.cpp
  3. In file included from headers.h:39,
  4. from crypter.cpp:9:
  5. /usr/include/openssl/ecdsa.h:118: error: ‘EC_KEY’ has not been declared
  6. /usr/include/openssl/ecdsa.h:131: error: ‘EC_KEY’ has not been declared
  7. /usr/include/openssl/ecdsa.h:143: error: ‘EC_KEY’ has not been declared
  8. /usr/include/openssl/ecdsa.h:145: error: expected initializer before ‘*’ token
  9. /usr/include/openssl/ecdsa.h:150: error: expected ‘,’ or ‘...’ before ‘*’ token
  10. /usr/include/openssl/ecdsa.h:155: error: expected initializer before ‘*’ token
  11. /usr/include/openssl/ecdsa.h:162: error: ‘EC_KEY’ was not declared in this scope
  12. /usr/include/openssl/ecdsa.h:162: error: ‘eckey’ was not declared in this scope
  13. /usr/include/openssl/ecdsa.h:162: error: expected primary-expression before ‘const’
  14. /usr/include/openssl/ecdsa.h:162: error: initializer expression list treated as compound expression
  15. /usr/include/openssl/ecdsa.h:168: error: expected ‘,’ or ‘...’ before ‘*’ token
  16. /usr/include/openssl/ecdsa.h:177: error: ‘EC_KEY’ was not declared in this scope
  17. /usr/include/openssl/ecdsa.h:177: error: ‘eckey’ was not declared in this scope
  18. /usr/include/openssl/ecdsa.h:177: error: expected primary-expression before ‘*’ token
  19. /usr/include/openssl/ecdsa.h:177: error: ‘ctx’ was not declared in this scope
  20. /usr/include/openssl/ecdsa.h:177: error: expected primary-expression before ‘*’ token
  21. /usr/include/openssl/ecdsa.h:177: error: ‘kinv’ was not declared in this scope
  22. /usr/include/openssl/ecdsa.h:178: error: expected primary-expression before ‘*’ token
  23. /usr/include/openssl/ecdsa.h:178: error: ‘rp’ was not declared in this scope
  24. /usr/include/openssl/ecdsa.h:178: error: initializer expression list treated as compound expression
  25. /usr/include/openssl/ecdsa.h:191: error: ‘EC_KEY’ has not been declared
  26. /usr/include/openssl/ecdsa.h:209: error: ‘EC_KEY’ has not been declared
  27. /usr/include/openssl/ecdsa.h:223: error: ‘EC_KEY’ has not been declared
  28. /usr/include/openssl/ecdsa.h:228: error: ‘EC_KEY’ was not declared in this scope
  29. /usr/include/openssl/ecdsa.h:228: error: ‘d’ was not declared in this scope
  30. /usr/include/openssl/ecdsa.h:228: error: expected primary-expression before ‘int’
  31. /usr/include/openssl/ecdsa.h:228: error: expected primary-expression before ‘void’
  32. /usr/include/openssl/ecdsa.h:228: error: initializer expression list treated as compound expression
  33. /usr/include/openssl/ecdsa.h:229: error: ‘EC_KEY’ was not declared in this scope
  34. /usr/include/openssl/ecdsa.h:229: error: ‘d’ was not declared in this scope
  35. /usr/include/openssl/ecdsa.h:229: error: expected primary-expression before ‘int’
  36. /usr/include/openssl/ecdsa.h:229: error: initializer expression list treated as compound expression
  37. In file included from headers.h:94,
  38. from crypter.cpp:9:
  39. util.h: In function ‘uint256 Hash(T1, T1)’:
  40. util.h:510: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
  41. util.h:510: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  42. util.h: In function ‘uint256 Hash(T1, T1, T2, T2)’:
  43. util.h:520: error: ‘SHA256_CTX’ was not declared in this scope
  44. util.h:520: error: expected ‘;’ before ‘ctx’
  45. util.h:521: error: ‘ctx’ was not declared in this scope
  46. util.h:521: error: there are no arguments to ‘SHA256_Init’ that depend on a template parameter, so a declaration of ‘SHA256_Init’ must be available
  47. util.h:524: error: there are no arguments to ‘SHA256_Final’ that depend on a template parameter, so a declaration of ‘SHA256_Final’ must be available
  48. util.h:526: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
  49. util.h: In function ‘uint256 Hash(T1, T1, T2, T2, T3, T3)’:
  50. util.h:537: error: ‘SHA256_CTX’ was not declared in this scope
  51. util.h:537: error: expected ‘;’ before ‘ctx’
  52. util.h:538: error: ‘ctx’ was not declared in this scope
  53. util.h:538: error: there are no arguments to ‘SHA256_Init’ that depend on a template parameter, so a declaration of ‘SHA256_Init’ must be available
  54. util.h:542: error: there are no arguments to ‘SHA256_Final’ that depend on a template parameter, so a declaration of ‘SHA256_Final’ must be available
  55. util.h:544: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
  56. util.h: In function ‘uint160 Hash160(const std::vector<unsigned char, std::allocator<unsigned char> >&)’:
  57. util.h:563: error: ‘SHA256’ was not declared in this scope
  58. In file included from headers.h:95,
  59. from crypter.cpp:9:
  60. bignum.h: In member function ‘int CBigNum::getint() const’:
  61. bignum.h:117: error: ‘BN_is_negative’ was not declared in this scope
  62. In file included from headers.h:95,
  63. from crypter.cpp:9:
  64. bignum.h: In member function ‘std::string CBigNum::ToString(int) const’:
  65. bignum.h:317: error: ‘BN_set_negative’ was not declared in this scope
  66. bignum.h:330: error: ‘BN_is_negative’ was not declared in this scope
  67. bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
  68. bignum.h:485: error: ‘BN_is_negative’ was not declared in this scope
  69. bignum.h:485: error: ‘BN_set_negative’ was not declared in this scope
  70. In file included from main.h:10,
  71. from headers.h:97,
  72. from crypter.cpp:9:
  73. key.h: At global scope:
  74. key.h:42: error: ‘EC_KEY_regenerate_key’ declared as an ‘inline’ variable
  75. key.h:42: error: ‘EC_KEY’ was not declared in this scope
  76. key.h:42: error: ‘eckey’ was not declared in this scope
  77. key.h:42: error: expected primary-expression before ‘*’ token
  78. key.h:42: error: ‘priv_key’ was not declared in this scope
  79. key.h:42: error: initializer expression list treated as compound expression
  80. key.h:43: error: expected ‘,’ or ‘;’ before ‘{’ token
  81. key.h:93: error: ISO C++ forbids declaration of ‘EC_KEY’ with no type
  82. key.h:93: error: expected ‘;’ before ‘*’ token
  83. key.h: In constructor ‘CKey::CKey()’:
  84. key.h:99: error: ‘pkey’ was not declared in this scope
  85. key.h:99: error: ‘NID_secp256k1’ was not declared in this scope
  86. key.h:99: error: ‘EC_KEY_new_by_curve_name’ was not declared in this scope
  87. key.h: In copy constructor ‘CKey::CKey(const CKey&)’:
  88. key.h:107: error: ‘pkey’ was not declared in this scope
  89. key.h:107: error: ‘const class CKey’ has no member named ‘pkey’
  90. key.h:107: error: ‘EC_KEY_dup’ was not declared in this scope
  91. key.h: In member function ‘CKey& CKey::operator=(const CKey&)’:
  92. key.h:115: error: ‘pkey’ was not declared in this scope
  93. key.h:115: error: ‘const class CKey’ has no member named ‘pkey’
  94. key.h:115: error: ‘EC_KEY_copy’ was not declared in this scope
  95. key.h: In destructor ‘CKey::~CKey()’:
  96. key.h:123: error: ‘pkey’ was not declared in this scope
  97. key.h:123: error: ‘EC_KEY_free’ was not declared in this scope
  98. key.h: In member function ‘void CKey::MakeNewKey()’:
  99. key.h:133: error: ‘pkey’ was not declared in this scope
  100. key.h:133: error: ‘EC_KEY_generate_key’ was not declared in this scope
  101. key.h: In member function ‘bool CKey::SetPrivKey(const CPrivKey&)’:
  102. key.h:141: error: ‘pkey’ was not declared in this scope
  103. key.h:141: error: ‘d2i_ECPrivateKey’ was not declared in this scope
  104. key.h: In member function ‘bool CKey::SetSecret(const CSecret&)’:
  105. key.h:149: error: ‘pkey’ was not declared in this scope
  106. key.h:149: error: ‘EC_KEY_free’ was not declared in this scope
  107. key.h:150: error: ‘NID_secp256k1’ was not declared in this scope
  108. key.h:150: error: ‘EC_KEY_new_by_curve_name’ was not declared in this scope
  109. key.h:158: error: ‘EC_KEY_regenerate_key’ cannot be used as a function
  110. key.h: In member function ‘CSecret CKey::GetSecret() const’:
  111. key.h:169: error: ‘pkey’ was not declared in this scope
  112. key.h:169: error: ‘EC_KEY_get0_private_key’ was not declared in this scope
  113. key.h: In member function ‘CPrivKey CKey::GetPrivKey() const’:
  114. key.h:181: error: ‘pkey’ was not declared in this scope
  115. key.h:181: error: ‘i2d_ECPrivateKey’ was not declared in this scope
  116. key.h: In member function ‘bool CKey::SetPubKey(const std::vector<unsigned char, std::allocator<unsigned char> >&)’:
  117. key.h:194: error: ‘pkey’ was not declared in this scope
  118. key.h:194: error: ‘o2i_ECPublicKey’ was not declared in this scope
  119. key.h: In member function ‘std::vector<unsigned char, std::allocator<unsigned char> > CKey::GetPubKey() const’:
  120. key.h:202: error: ‘pkey’ was not declared in this scope
  121. key.h:202: error: ‘i2o_ECPublicKey’ was not declared in this scope
  122. key.h: In member function ‘bool CKey::Sign(uint256, std::vector<unsigned char, std::allocator<unsigned char> >&)’:
  123. key.h:217: error: ‘pkey’ was not declared in this scope
  124. key.h: In member function ‘bool CKey::Verify(uint256, const std::vector<unsigned char, std::allocator<unsigned char> >&)’:
  125. key.h:227: error: ‘pkey’ was not declared in this scope
  126. crypter.cpp: In member function ‘bool CCrypter::SetKeyFromPassphrase(const std::string&, const std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned int, unsigned int)’:
  127. crypter.cpp:31: error: ‘EVP_sha512’ was not declared in this scope
  128. In file included from headers.h:94,
  129. from crypter.cpp:9:
  130. util.h: In function ‘uint256 Hash(T1, T1) [with T1 = __gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >]’:
  131. base58.h:129: instantiated from here
  132. util.h:508: error: ‘SHA256’ was not declared in this scope
  133. util.h: In function ‘uint256 Hash(T1, T1) [with T1 = __gnu_cxx::__normal_iterator<char*, std::vector<char, secure_allocator<char> > >]’:
  134. net.h:323: instantiated from here
  135. util.h:508: error: ‘SHA256’ was not declared in this scope
  136. util.h: In function ‘uint256 Hash(T1, T1) [with T1 = char*]’:
  137. main.h:831: instantiated from here
  138. util.h:508: error: ‘SHA256’ was not declared in this scope
  139. util.h: In function ‘uint256 Hash(T1, T1, T2, T2) [with T1 = char*, T2 = char*]’:
  140. main.h:860: instantiated from here
  141. util.h:521: error: ‘SHA256_Init’ was not declared in this scope
  142. util.h:522: error: ‘SHA256_Update’ was not declared in this scope
  143. util.h:524: error: ‘SHA256_Final’ was not declared in this scope
  144. util.h:526: error: ‘SHA256’ was not declared in this scope
  145. make: *** [obj/nogui/crypter.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement