cannot make
cannot make it on linux mint
ms@ms-VirtualBox:~/blockparser$ $ perl make $: command not found ms@ms-VirtualBox:~/blockparser$ perl make c++ -- .r... -- util.cpp util.cpp: In function ‘bool addrToHash160(uint8_t*, const uint8_t*, bool, bool)’: util.cpp:606:9: error: ‘BN_CTX_init’ was not declared in this scope BN_CTX_init(ctx); ^~~~~~~~~~~ util.cpp:606:9: note: suggested alternative: ‘BN_CTX_end’ BN_CTX_init(ctx); ^~~~~~~~~~~ BN_CTX_end util.cpp: In function ‘void hash160ToAddr(uint8_t*, const uint8_t*, bool, uint8_t)’: util.cpp:729:9: error: ‘BN_CTX_init’ was not declared in this scope BN_CTX_init(ctx); ^~~~~~~~~~~ util.cpp:729:9: note: suggested alternative: ‘BN_CTX_end’ BN_CTX_init(ctx); ^~~~~~~~~~~ BN_CTX_end At global scope: cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’ /tmp/GmcWCg4h:387: recipe for target '.objs/d5cd7ce3e58ff7a8ebc2786c817cb6dcd1a22603.o' failed make: *** [.objs/d5cd7ce3e58ff7a8ebc2786c817cb6dcd1a22603.o] Error 1 make: Target 'all' not remade because of errors. ms@ms-VirtualBox:~/blockparser$
delete BN_CTX_init, otherwise you get segmentation fault with BN_CTX_end
The fix that salber mentioned works. To elaborate, in util.cpp it is sufficient to comment out lines 606 and 729.