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

Makefile:5329: recipe for target 'wallet/libbitcoin_wallet_a-rpcdump.o' failed #2

Open
thomass2008 opened this issue Apr 20, 2019 · 1 comment

Comments

@thomass2008
Copy link

CXX wallet/libbitcoin_wallet_a-rpcdump.o
In file included from ./net.h:16:0,
from ./main.h:16,
from wallet/rpcdump.cpp:9:
wallet/rpcdump.cpp: In function 'UniValue importprivkey(const UniValue&, bool)':
wallet/rpcdump.cpp:101:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
wallet/rpcdump.cpp: In function 'void ImportScript(const CScript&, const string& , bool)':
wallet/rpcdump.cpp:156:38: error: 'pwalletMain' was not declared in this scope
if (!isRedeemScript && ::IsMine(*pwalletMain, script) == ISMINE_SPENDABLE)
^
wallet/rpcdump.cpp:159:5: error: 'pwalletMain' was not declared in this scope
pwalletMain->MarkDirty();
^
wallet/rpcdump.cpp: In function 'void ImportAddress(const CAardvarkCoinAddress&, const string&)':
wallet/rpcdump.cpp:177:9: error: 'pwalletMain' was not declared in this scope
pwalletMain->SetAddressBook(address.Get(), strLabel, "receive");
^
In file included from ./net.h:16:0,
from ./main.h:16,
from wallet/rpcdump.cpp:9:
wallet/rpcdump.cpp: In function 'UniValue importaddress(const UniValue&, bool)':
wallet/rpcdump.cpp:223:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
wallet/rpcdump.cpp: In function 'UniValue importpubkey(const UniValue&, bool)':
wallet/rpcdump.cpp:289:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
wallet/rpcdump.cpp: In function 'UniValue importwallet(const UniValue&, bool)':
wallet/rpcdump.cpp:327:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
wallet/rpcdump.cpp: In function 'UniValue dumpprivkey(const UniValue&, bool)':
wallet/rpcdump.cpp:431:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
wallet/rpcdump.cpp: In function 'UniValue dumpwallet(const UniValue&, bool)':
wallet/rpcdump.cpp:465:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-self-assign'
Makefile:5329: recipe for target 'wallet/libbitcoin_wallet_a-rpcdump.o' failed
make[2]: *** [wallet/libbitcoin_wallet_a-rpcdump.o] Error 1
make[2]: Leaving directory '/home/pool/AarkvardCoin/src'
Makefile:7902: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pool/AarkvardCoin/src'
Makefile:652: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
pool@vm216214:/AarkvardCoin$ sudo make
Making all in src
make[1]: Entering directory '/home/pool/AarkvardCoin/src'
make[2]: Entering directory '/home/pool/AarkvardCoin/src'
CXX wallet/libbitcoin_wallet_a-rpcdump.o
In file included from ./net.h:16:0,
from ./main.h:16,
from wallet/rpcdump.cpp:9:
wallet/rpcdump.cpp: In function 'UniValue importprivkey(const UniValue&, bool)':
wallet/rpcdump.cpp:101:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
wallet/rpcdump.cpp: In function 'void ImportScript(const CScript&, const string& , bool)':
wallet/rpcdump.cpp:156:38: error: 'pwalletMain' was not declared in this scope
if (!isRedeemScript && ::IsMine(*pwalletMain, script) == ISMINE_SPENDABLE)
^
wallet/rpcdump.cpp:159:5: error: 'pwalletMain' was not declared in this scope
pwalletMain->MarkDirty();
^
wallet/rpcdump.cpp: In function 'void ImportAddress(const CAardvarkCoinAddress&, const string&)':
wallet/rpcdump.cpp:177:9: error: 'pwalletMain' was not declared in this scope
pwalletMain->SetAddressBook(address.Get(), strLabel, "receive");
^
In file included from ./net.h:16:0,
from ./main.h:16,
from wallet/rpcdump.cpp:9:
wallet/rpcdump.cpp: In function 'UniValue importaddress(const UniValue&, bool)':
wallet/rpcdump.cpp:223:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
wallet/rpcdump.cpp: In function 'UniValue importpubkey(const UniValue&, bool)':
wallet/rpcdump.cpp:289:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
wallet/rpcdump.cpp: In function 'UniValue importwallet(const UniValue&, bool)':
wallet/rpcdump.cpp:327:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
wallet/rpcdump.cpp: In function 'UniValue dumpprivkey(const UniValue&, bool)':
wallet/rpcdump.cpp:431:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
wallet/rpcdump.cpp: In function 'UniValue dumpwallet(const UniValue&, bool)':
wallet/rpcdump.cpp:465:20: error: 'pwalletMain' was not declared in this scope
LOCK2(cs_main, pwalletMain->cs_wallet);
^
./sync.h:166:102: note: in definition of macro 'LOCK2'
Block criticalblock1(cs1, #cs1, FILE, LINE), criticalblock2(cs2, #cs2,
^
^[[B^[[BAt global scope:
cc1plus: warning: unrecognized command line option '-Wno-self-assign'
Makefile:5329: recipe for target 'wallet/libbitcoin_wallet_a-rpcdump.o' failed
make[2]: *** [wallet/libbitcoin_wallet_a-rpcdump.o] Error 1
make[2]: Leaving directory '/home/pool/AarkvardCoin/src'
Makefile:7902: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pool/AarkvardCoin/src'
Makefile:652: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
pool@vm216214:
/AarkvardCoin$ Makefile:5329: recipe for target 'wallet/libbitcoin_wallet_a-rpcdump.o' failed

@thomass2008
Copy link
Author

thomass2008 commented Apr 20, 2019

This is the new issue and I dont really understand what to with it. Can anyone help with this matter?

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