Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util.cpp: In function ‘void hash160ToAddr(uint8_t*, const uint8_t*, bool, uint8_t)’: util.cpp:729:24: error: ‘BN_CTX_init’ was not declared in this scope BN_CTX_init(ctx); #85

Open
sanrs8201 opened this issue Feb 16, 2018 · 1 comment

Comments

@sanrs8201
Copy link

sandesh@sandesh-System-Product-Name:~/blockparser$ ./make
c++ -- .r... -- parser.cpp
c++ -- .r... -- cb/sql.cpp
c++ -- .r... -- cb/help.cpp
c++ -- .r... -- cb/taint.cpp
c++ -- .r... -- cb/dumpTX.cpp
c++ -- .r... -- cb/closure.cpp
c++ -- .r... -- cb/headers.cpp
c++ -- .r... -- cb/rawdump.cpp
c++ -- .r... -- cb/rewards.cpp
c++ -- .r... -- cb/pristine.cpp
c++ -- .r... -- cb/txoTypes.cpp
c++ -- .r... -- cb/allBalances.cpp
c++ -- .r... -- cb/simpleStats.cpp
c++ -- .r... -- cb/transactions.cpp
c++ -- .r... -- crypto/sha256_btc.cpp
c++ -- .r... -- crypto/ripemd160_btc.cpp
c++ -- .r... -- option.cpp
c++ -- .r... -- rmd160.cpp
c++ -- .r... -- util.cpp
c++ -- .r... -- timer.cpp
c++ -- .r... -- sha256.cpp
c++ -- .r... -- opcodes.cpp
c++ -- .r... -- callback.cpp
c++ -- .r... -- t/base58_t.cpp
c++ -- .r... -- t/ripemd-160_t.cpp
c++ -- .r... -- t/secp256k1_t.cpp
c++ -- .r... -- t/sha256_t.cpp
c++ -- .r... -- test.cpp
c++ -- .r... -- tst.cpp
util.cpp: In function ‘bool addrToHash160(uint8_t*, const uint8_t*, bool, bool)’:
util.cpp:606:24: error: ‘BN_CTX_init’ was not declared in this scope
BN_CTX_init(ctx);
^
util.cpp: In function ‘void hash160ToAddr(uint8_t*, const uint8_t*, bool, uint8_t)’:
util.cpp:729:24: error: ‘BN_CTX_init’ was not declared in this scope
BN_CTX_init(ctx);
^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unused-private-field" [enabled by default]
make: *** [.objs/d5cd7ce3e58ff7a8ebc2786c817cb6dcd1a22603.o] Error 1
make: Target `all' not remade because of errors.

@sanrs8201
Copy link
Author

slove my problem, reinstall Ubuntu 14.4.5 amd64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant