Bitcoin Forum
July 25, 2024, 12:39:13 PM *
News: Help 1Dq create 15th anniversary forum artwork.
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Pretty Good Privacy Coin {PGP} quark algo 50% pos on: December 01, 2017, 11:54:18 AM
Hi guys,

Today I tried to start my master node but I'm getting this error message:

"errorMessage" : "could not allocate vin"

Any suggestions?
Thanks in advance!
2  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Pretty Good Privacy Coin {PGP} quark algo 50% pos on: November 30, 2017, 06:29:35 PM
Do you guys have discord or slack?
3  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Pretty Good Privacy Coin {PGP} quark algo 50% pos on: November 30, 2017, 03:07:55 PM
Hi guys,

I'm trying to build from src, but I'm getting this error:

pgp@(none):~/pgp/PGP/src$ make -f makefile.unix
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wunused-function -Wunused-variable -fpermissive -Wconversion-null -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/pgp/pgp/PGP/src -I/home/pgp/pgp/PGP/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/pgp/pgp/PGP/src/leveldb/include -I/home/pgp/pgp/PGP/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wunused-function -Wunused-variable -fpermissive -Wconversion-null -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/pgp/pgp/PGP/src -I/home/pgp/pgp/PGP/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/pgp/pgp/PGP/src/leveldb/include -I/home/pgp/pgp/PGP/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/version.d -o obj/version.o version.cpp
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wunused-function -Wunused-variable -fpermissive -Wconversion-null -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/pgp/pgp/PGP/src -I/home/pgp/pgp/PGP/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/pgp/pgp/PGP/src/leveldb/include -I/home/pgp/pgp/PGP/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wunused-function -Wunused-variable -fpermissive -Wconversion-null -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/pgp/pgp/PGP/src -I/home/pgp/pgp/PGP/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/pgp/pgp/PGP/src/leveldb/include -I/home/pgp/pgp/PGP/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/netbase.d -o obj/netbase.o netbase.cpp
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wunused-function -Wunused-variable -fpermissive -Wconversion-null -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/pgp/pgp/PGP/src -I/home/pgp/pgp/PGP/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/pgp/pgp/PGP/src/leveldb/include -I/home/pgp/pgp/PGP/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/addrman.d -o obj/addrman.o addrman.cpp
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wunused-function -Wunused-variable -fpermissive -Wconversion-null -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/pgp/pgp/PGP/src -I/home/pgp/pgp/PGP/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/pgp/pgp/PGP/src/leveldb/include -I/home/pgp/pgp/PGP/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/crypter.d -o obj/crypter.o crypter.cpp
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wunused-function -Wunused-variable -fpermissive -Wconversion-null -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/pgp/pgp/PGP/src -I/home/pgp/pgp/PGP/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/pgp/pgp/PGP/src/leveldb/include -I/home/pgp/pgp/PGP/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/key.d -o obj/key.o key.cpp
key.cpp:29:5: error: 'secp256k1_context_t' does not name a type
     secp256k1_context_t* ctx;
     ^
key.cpp: In constructor '{anonymous}::CSecp256k1Init::CSecp256k1Init()':
key.cpp:31:9: error: 'ctx' was not declared in this scope
         ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN);
         ^
key.cpp: In destructor '{anonymous}::CSecp256k1Init::~CSecp256k1Init()':
key.cpp:34:35: error: 'ctx' was not declared in this scope
         secp256k1_context_destroy(ctx);
                                   ^
key.cpp: In member function 'bool CKey::SetPrivKey(const CPrivKey&, bool)':
key.cpp:471:61: error: 'class {anonymous}::CSecp256k1Init' has no member named 'ctx'
     if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &privkey[0], privkey.size()))
                                                             ^
key.cpp:471:118: error: 'secp256k1_ec_privkey_import' was not declared in this scope
     if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &privkey[0], privkey.size()))
                                                                                                                      ^
key.cpp: In member function 'CPrivKey CKey::GetPrivKey() const':
key.cpp:490:66: error: 'class {anonymous}::CSecp256k1Init' has no member named 'ctx'
     int ret = secp256k1_ec_privkey_export(instance_of_csecp256k1.ctx, begin(), (unsigned char*)&privkey[0], &privkeylen, fCompressed);
                                                                  ^
key.cpp:490:133: error: 'secp256k1_ec_privkey_export' was not declared in this scope
     int ret = secp256k1_ec_privkey_export(instance_of_csecp256k1.ctx, begin(), (unsigned char*)&privkey[0], &privkeylen, fCompressed);
                                                                                                                                     ^
key.cpp: In member function 'CPubKey CKey::GetPubKey() const':
key.cpp:506:65: error: 'class {anonymous}::CSecp256k1Init' has no member named 'ctx'
     int ret = secp256k1_ec_pubkey_create(instance_of_csecp256k1.ctx, (unsigned char*)pubkey.begin(), &clen, begin(), fCompressed);
                                                                 ^
key.cpp: In member function 'bool CKey::Sign(const uint256&, std::vector<unsigned char>&) const':
key.cpp:528:57: error: 'class {anonymous}::CSecp256k1Init' has no member named 'ctx'
         if (secp256k1_ecdsa_sign(instance_of_csecp256k1.ctx, hash.begin(), (unsigned char*)&vchSig[0], &nSigLen, begin(),  secp256k1_nonce_function_rfc6979, NULL))
                                                         ^
key.cpp: In member function 'bool CKey::SignCompact(const uint256&, std::vector<unsigned char>&) const':
key.cpp:552:75: error: 'class {anonymous}::CSecp256k1Init' has no member named 'ctx'
         if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
                                                                           ^
key.cpp:552:159: error: 'secp256k1_ecdsa_sign_compact' was not declared in this scope
         if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
                                                                                                                                                               ^
key.cpp:552:17: warning: unused variable 'ret' [-Wunused-variable]
         if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
                 ^
key.cpp: In member function 'bool CKey::Load(CPrivKey&, CPubKey&, bool)':
key.cpp:568:61: error: 'class {anonymous}::CSecp256k1Init' has no member named 'ctx'
     if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &privkey[0], privkey.size()))
                                                             ^
key.cpp:568:118: error: 'secp256k1_ec_privkey_import' was not declared in this scope
     if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &privkey[0], privkey.size()))
                                                                                                                      ^
key.cpp: In member function 'bool CPubKey::VerifyCompact(const uint256&, const std::vector<unsigned char>&) const':
key.cpp:632:10: warning: unused variable 'fComp' [-Wunused-variable]
     bool fComp = IsCompressed();
          ^
key.cpp: In member function 'bool CPubKey::IsFullyValid() const':
key.cpp:654:60: error: 'class {anonymous}::CSecp256k1Init' has no member named 'ctx'
     if (!secp256k1_ec_pubkey_verify(instance_of_csecp256k1.ctx, begin(), size()))
                                                            ^
key.cpp:654:80: error: 'secp256k1_ec_pubkey_verify' was not declared in this scope
     if (!secp256k1_ec_pubkey_verify(instance_of_csecp256k1.ctx, begin(), size()))
                                                                                ^
key.cpp: In member function 'bool CPubKey::Decompress()':
key.cpp:669:69: error: 'class {anonymous}::CSecp256k1Init' has no member named 'ctx'
     int ret = secp256k1_ec_pubkey_decompress(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &clen);
                                                                     ^
key.cpp:669:104: error: 'secp256k1_ec_pubkey_decompress' was not declared in this scope
     int ret = secp256k1_ec_pubkey_decompress(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &clen);
                                                                                                        ^
key.cpp: In member function 'bool CKey::Derive(CKey&, unsigned char*, unsigned int, const unsigned char*) const':
key.cpp:711:70: error: 'class {anonymous}::CSecp256k1Init' has no member named 'ctx'
     bool ret = secp256k1_ec_privkey_tweak_add(instance_of_csecp256k1.ctx, (unsigned char*)keyChild.begin(), out);
                                                                      ^
key.cpp: In member function 'bool CPubKey::Derive(CPubKey&, unsigned char*, unsigned int, const unsigned char*) const':
key.cpp:730:69: error: 'class {anonymous}::CSecp256k1Init' has no member named 'ctx'
     bool ret = secp256k1_ec_pubkey_tweak_add(instance_of_csecp256k1.ctx, (unsigned char*)pubkeyChild.begin(), pubkeyChild.size(), out);
                                                                     ^
make: *** [obj/key.o] Error 1
pgp@(none):~/pgp/PGP/src$


Any thoughts?
Thanks in advance!


Finally, I was able to build it and it seems to be working fine. Waiting for December 1st to start my master node.
Thanks!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!