Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make -f makefile.unix bitcoind
- g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DUSE_SSL -DUSE_UPNP=0 -o obj/nogui/crypter.o crypter.cpp
- In file included from headers.h:39,
- from crypter.cpp:9:
- /usr/include/openssl/ecdsa.h:118: error: ‘EC_KEY’ has not been declared
- /usr/include/openssl/ecdsa.h:131: error: ‘EC_KEY’ has not been declared
- /usr/include/openssl/ecdsa.h:143: error: ‘EC_KEY’ has not been declared
- /usr/include/openssl/ecdsa.h:145: error: expected initializer before ‘*’ token
- /usr/include/openssl/ecdsa.h:150: error: expected ‘,’ or ‘...’ before ‘*’ token
- /usr/include/openssl/ecdsa.h:155: error: expected initializer before ‘*’ token
- /usr/include/openssl/ecdsa.h:162: error: ‘EC_KEY’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:162: error: ‘eckey’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:162: error: expected primary-expression before ‘const’
- /usr/include/openssl/ecdsa.h:162: error: initializer expression list treated as compound expression
- /usr/include/openssl/ecdsa.h:168: error: expected ‘,’ or ‘...’ before ‘*’ token
- /usr/include/openssl/ecdsa.h:177: error: ‘EC_KEY’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:177: error: ‘eckey’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:177: error: expected primary-expression before ‘*’ token
- /usr/include/openssl/ecdsa.h:177: error: ‘ctx’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:177: error: expected primary-expression before ‘*’ token
- /usr/include/openssl/ecdsa.h:177: error: ‘kinv’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:178: error: expected primary-expression before ‘*’ token
- /usr/include/openssl/ecdsa.h:178: error: ‘rp’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:178: error: initializer expression list treated as compound expression
- /usr/include/openssl/ecdsa.h:191: error: ‘EC_KEY’ has not been declared
- /usr/include/openssl/ecdsa.h:209: error: ‘EC_KEY’ has not been declared
- /usr/include/openssl/ecdsa.h:223: error: ‘EC_KEY’ has not been declared
- /usr/include/openssl/ecdsa.h:228: error: ‘EC_KEY’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:228: error: ‘d’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:228: error: expected primary-expression before ‘int’
- /usr/include/openssl/ecdsa.h:228: error: expected primary-expression before ‘void’
- /usr/include/openssl/ecdsa.h:228: error: initializer expression list treated as compound expression
- /usr/include/openssl/ecdsa.h:229: error: ‘EC_KEY’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:229: error: ‘d’ was not declared in this scope
- /usr/include/openssl/ecdsa.h:229: error: expected primary-expression before ‘int’
- /usr/include/openssl/ecdsa.h:229: error: initializer expression list treated as compound expression
- In file included from headers.h:94,
- from crypter.cpp:9:
- util.h: In function ‘uint256 Hash(T1, T1)’:
- util.h:510: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
- util.h:510: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
- util.h: In function ‘uint256 Hash(T1, T1, T2, T2)’:
- util.h:520: error: ‘SHA256_CTX’ was not declared in this scope
- util.h:520: error: expected ‘;’ before ‘ctx’
- util.h:521: error: ‘ctx’ was not declared in this scope
- 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
- 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
- util.h:526: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
- util.h: In function ‘uint256 Hash(T1, T1, T2, T2, T3, T3)’:
- util.h:537: error: ‘SHA256_CTX’ was not declared in this scope
- util.h:537: error: expected ‘;’ before ‘ctx’
- util.h:538: error: ‘ctx’ was not declared in this scope
- 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
- 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
- util.h:544: error: there are no arguments to ‘SHA256’ that depend on a template parameter, so a declaration of ‘SHA256’ must be available
- util.h: In function ‘uint160 Hash160(const std::vector<unsigned char, std::allocator<unsigned char> >&)’:
- util.h:563: error: ‘SHA256’ was not declared in this scope
- In file included from headers.h:95,
- from crypter.cpp:9:
- bignum.h: In member function ‘int CBigNum::getint() const’:
- bignum.h:117: error: ‘BN_is_negative’ was not declared in this scope
- In file included from headers.h:95,
- from crypter.cpp:9:
- bignum.h: In member function ‘std::string CBigNum::ToString(int) const’:
- bignum.h:317: error: ‘BN_set_negative’ was not declared in this scope
- bignum.h:330: error: ‘BN_is_negative’ was not declared in this scope
- bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
- bignum.h:485: error: ‘BN_is_negative’ was not declared in this scope
- bignum.h:485: error: ‘BN_set_negative’ was not declared in this scope
- In file included from main.h:10,
- from headers.h:97,
- from crypter.cpp:9:
- key.h: At global scope:
- key.h:42: error: ‘EC_KEY_regenerate_key’ declared as an ‘inline’ variable
- key.h:42: error: ‘EC_KEY’ was not declared in this scope
- key.h:42: error: ‘eckey’ was not declared in this scope
- key.h:42: error: expected primary-expression before ‘*’ token
- key.h:42: error: ‘priv_key’ was not declared in this scope
- key.h:42: error: initializer expression list treated as compound expression
- key.h:43: error: expected ‘,’ or ‘;’ before ‘{’ token
- key.h:93: error: ISO C++ forbids declaration of ‘EC_KEY’ with no type
- key.h:93: error: expected ‘;’ before ‘*’ token
- key.h: In constructor ‘CKey::CKey()’:
- key.h:99: error: ‘pkey’ was not declared in this scope
- key.h:99: error: ‘NID_secp256k1’ was not declared in this scope
- key.h:99: error: ‘EC_KEY_new_by_curve_name’ was not declared in this scope
- key.h: In copy constructor ‘CKey::CKey(const CKey&)’:
- key.h:107: error: ‘pkey’ was not declared in this scope
- key.h:107: error: ‘const class CKey’ has no member named ‘pkey’
- key.h:107: error: ‘EC_KEY_dup’ was not declared in this scope
- key.h: In member function ‘CKey& CKey::operator=(const CKey&)’:
- key.h:115: error: ‘pkey’ was not declared in this scope
- key.h:115: error: ‘const class CKey’ has no member named ‘pkey’
- key.h:115: error: ‘EC_KEY_copy’ was not declared in this scope
- key.h: In destructor ‘CKey::~CKey()’:
- key.h:123: error: ‘pkey’ was not declared in this scope
- key.h:123: error: ‘EC_KEY_free’ was not declared in this scope
- key.h: In member function ‘void CKey::MakeNewKey()’:
- key.h:133: error: ‘pkey’ was not declared in this scope
- key.h:133: error: ‘EC_KEY_generate_key’ was not declared in this scope
- key.h: In member function ‘bool CKey::SetPrivKey(const CPrivKey&)’:
- key.h:141: error: ‘pkey’ was not declared in this scope
- key.h:141: error: ‘d2i_ECPrivateKey’ was not declared in this scope
- key.h: In member function ‘bool CKey::SetSecret(const CSecret&)’:
- key.h:149: error: ‘pkey’ was not declared in this scope
- key.h:149: error: ‘EC_KEY_free’ was not declared in this scope
- key.h:150: error: ‘NID_secp256k1’ was not declared in this scope
- key.h:150: error: ‘EC_KEY_new_by_curve_name’ was not declared in this scope
- key.h:158: error: ‘EC_KEY_regenerate_key’ cannot be used as a function
- key.h: In member function ‘CSecret CKey::GetSecret() const’:
- key.h:169: error: ‘pkey’ was not declared in this scope
- key.h:169: error: ‘EC_KEY_get0_private_key’ was not declared in this scope
- key.h: In member function ‘CPrivKey CKey::GetPrivKey() const’:
- key.h:181: error: ‘pkey’ was not declared in this scope
- key.h:181: error: ‘i2d_ECPrivateKey’ was not declared in this scope
- key.h: In member function ‘bool CKey::SetPubKey(const std::vector<unsigned char, std::allocator<unsigned char> >&)’:
- key.h:194: error: ‘pkey’ was not declared in this scope
- key.h:194: error: ‘o2i_ECPublicKey’ was not declared in this scope
- key.h: In member function ‘std::vector<unsigned char, std::allocator<unsigned char> > CKey::GetPubKey() const’:
- key.h:202: error: ‘pkey’ was not declared in this scope
- key.h:202: error: ‘i2o_ECPublicKey’ was not declared in this scope
- key.h: In member function ‘bool CKey::Sign(uint256, std::vector<unsigned char, std::allocator<unsigned char> >&)’:
- key.h:217: error: ‘pkey’ was not declared in this scope
- key.h: In member function ‘bool CKey::Verify(uint256, const std::vector<unsigned char, std::allocator<unsigned char> >&)’:
- key.h:227: error: ‘pkey’ was not declared in this scope
- crypter.cpp: In member function ‘bool CCrypter::SetKeyFromPassphrase(const std::string&, const std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned int, unsigned int)’:
- crypter.cpp:31: error: ‘EVP_sha512’ was not declared in this scope
- In file included from headers.h:94,
- from crypter.cpp:9:
- util.h: In function ‘uint256 Hash(T1, T1) [with T1 = __gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >]’:
- base58.h:129: instantiated from here
- util.h:508: error: ‘SHA256’ was not declared in this scope
- util.h: In function ‘uint256 Hash(T1, T1) [with T1 = __gnu_cxx::__normal_iterator<char*, std::vector<char, secure_allocator<char> > >]’:
- net.h:323: instantiated from here
- util.h:508: error: ‘SHA256’ was not declared in this scope
- util.h: In function ‘uint256 Hash(T1, T1) [with T1 = char*]’:
- main.h:831: instantiated from here
- util.h:508: error: ‘SHA256’ was not declared in this scope
- util.h: In function ‘uint256 Hash(T1, T1, T2, T2) [with T1 = char*, T2 = char*]’:
- main.h:860: instantiated from here
- util.h:521: error: ‘SHA256_Init’ was not declared in this scope
- util.h:522: error: ‘SHA256_Update’ was not declared in this scope
- util.h:524: error: ‘SHA256_Final’ was not declared in this scope
- util.h:526: error: ‘SHA256’ was not declared in this scope
- make: *** [obj/nogui/crypter.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement