-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hello guys when I try to build the project I am getting the following error:
Making all in src make[1]: Entering directory '/home/moderator/Downloads/HyperStake-1.1.3/HyperStake-1.1.3/src' fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). CXX libbitcoin_common_a-key.o In file included from key.h:14:0, from key.cpp:10: util.h:244:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] return strprintf("%"PRI64d, n); ^ key.cpp: In function ‘int ECDSA_SIG_recover_key_GFp(EC_KEY*, ECDSA_SIG*, const unsigned char*, int, int, int)’: key.cpp:81:28: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ if (!BN_add(x, x, ecsig->r)) { ret=-1; goto err; } ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:7: /usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ key.cpp:102:34: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ if (!BN_mod_inverse(rr, ecsig->r, order, ctx)) { ret=-1; goto err; } ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:7: /usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ key.cpp:104:31: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ if (!BN_mod_mul(sor, ecsig->s, rr, order, ctx)) { ret=-1; goto err; } ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:7: /usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ key.cpp: In member function ‘bool CKey::SignCompact(uint256, std::vector<unsigned char>&)’: key.cpp:311:33: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ int nBitsR = BN_num_bits(sig->r); ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:7: /usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ key.cpp:312:33: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ int nBitsS = BN_num_bits(sig->s); ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:7: /usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ key.cpp:337:22: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ BN_bn2bin(sig->r,&vchSig[33-(nBitsR+7)/8]); ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:7: /usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ key.cpp:338:22: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ BN_bn2bin(sig->s,&vchSig[65-(nBitsS+7)/8]); ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:7: /usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ key.cpp: In member function ‘bool CKey::SetCompactSignature(uint256, const std::vector<unsigned char>&)’: key.cpp:357:32: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ BN_bin2bn(&vchSig[1],32,sig->r); ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:7: /usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ key.cpp:358:33: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ BN_bin2bn(&vchSig[33],32,sig->s); ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:7: /usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ Makefile:2192: recipe for target 'libbitcoin_common_a-key.o' failed make[1]: *** [libbitcoin_common_a-key.o] Error 1 make[1]: Leaving directory '/home/moderator/Downloads/HyperStake-1.1.3/HyperStake-1.1.3/src' Makefile:558: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1
I am using Debian 9 stretch.
uname output:
Linux debian-pc 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux