We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey guys, I'm trying to build straksd without wallet support and stumbled upon the following issue. Your global ptr variable pwalletMain is defined in
pwalletMain
straks/src/wallet/wallet.cpp
Line 39 in 66fc657
which gets excluded from linking when disabling the wallet
straks/src/Makefile.am
Lines 42 to 44 in 6ddc6cc
Lines 234 to 247 in 6ddc6cc
There's a couple other missing references related to the same issue, namely CCryptoKeyStore, CWallet, CActiveMasternode, and HelpRequiringPassphrase.
CCryptoKeyStore
CWallet
CActiveMasternode
HelpRequiringPassphrase
Here's the relevant output from building 1.14.7.3 on Alpine 3.7
CXXLD straksd libstraks_server.a(libstraks_server_a-init.o): In function `AppInitMain(boost::thread_group&, CScheduler&)': /usr/local/src/straks-1.14.7.3/src/init.cpp:1963: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/init.cpp:1963: undefined reference to `CWallet::LockCoin(COutPoint const&)' libstraks_server.a(libstraks_server_a-mining.o): In function `masternode(JSONRPCRequest const&)': /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1235: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1276: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1317: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1317: undefined reference to `CCryptoKeyStore::Lock()' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1255: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1255: undefined reference to `CCryptoKeyStore::Lock()' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1287: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1287: undefined reference to `CWallet::Unlock(std::__cxx11::basic_string<char, std::char_traits<char>, secure_allocator<char> > const&, bool)' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1246: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1246: undefined reference to `CWallet::Unlock(std::__cxx11::basic_string<char, std::char_traits<char>, secure_allocator<char> > const&, bool)' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1323: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1367: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1367: undefined reference to `CCryptoKeyStore::Lock()' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1405: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1425: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1425: undefined reference to `CCryptoKeyStore::Lock()' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1334: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1334: undefined reference to `CWallet::Unlock(std::__cxx11::basic_string<char, std::char_traits<char>, secure_allocator<char> > const&, bool)' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1447: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1492: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1492: undefined reference to `CCryptoKeyStore::Lock()' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1458: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1458: undefined reference to `CWallet::Unlock(std::__cxx11::basic_string<char, std::char_traits<char>, secure_allocator<char> > const&, bool)' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1499: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1549: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1549: undefined reference to `CCryptoKeyStore::Lock()' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1416: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1416: undefined reference to `CWallet::Unlock(std::__cxx11::basic_string<char, std::char_traits<char>, secure_allocator<char> > const&, bool)' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1510: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/rpc/mining.cpp:1510: undefined reference to `CWallet::Unlock(std::__cxx11::basic_string<char, std::char_traits<char>, secure_allocator<char> > const&, bool)' libstraks_server.a(libstraks_server_a-activemasternode.o): In function `CActiveMasternode::SelectCoinsMasternode()': /usr/local/src/straks-1.14.7.3/src/activemasternode.cpp:421: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/activemasternode.cpp:421: undefined reference to `CWallet::AvailableCoins(std::vector<COutput, std::allocator<COutput> >&, bool, CCoinControl const*, bool, AvailableCoinsType, bool) const' libstraks_server.a(libstraks_server_a-activemasternode.o): In function `CActiveMasternode::GetVinFromOutput(COutput, CTxIn&, CPubKey&, CKey&)': /usr/local/src/straks-1.14.7.3/src/activemasternode.cpp:405: undefined reference to `pwalletMain' libstraks_server.a(libstraks_server_a-activemasternode.o): In function `CActiveMasternode::StopMasterNode(CTxIn, CService, CKey, CPubKey, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': /usr/local/src/straks-1.14.7.3/src/activemasternode.cpp:179: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/activemasternode.cpp:179: undefined reference to `CWallet::UnlockCoin(COutPoint const&)' libstraks_server.a(libstraks_server_a-activemasternode.o): In function `CActiveMasternode::ManageStatus()': /usr/local/src/straks-1.14.7.3/src/activemasternode.cpp:77: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/activemasternode.cpp:107: undefined reference to `pwalletMain' /usr/local/src/straks-1.14.7.3/src/activemasternode.cpp:107: undefined reference to `CWallet::LockCoin(COutPoint const&)' libstraks_server.a(libstraks_server_a-misc.o): In function `spork(JSONRPCRequest const&)': /usr/local/src/straks-1.14.7.3/src/rpc/misc.cpp:194: undefined reference to `HelpRequiringPassphrase[abi:cxx11]()' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:3760: straksd] Error 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey guys, I'm trying to build straksd without wallet support and stumbled upon the following issue. Your global ptr variable
pwalletMain
is defined instraks/src/wallet/wallet.cpp
Line 39 in 66fc657
which gets excluded from linking when disabling the wallet
straks/src/Makefile.am
Lines 42 to 44 in 6ddc6cc
straks/src/Makefile.am
Lines 234 to 247 in 6ddc6cc
There's a couple other missing references related to the same issue, namely
CCryptoKeyStore
,CWallet
,CActiveMasternode
, andHelpRequiringPassphrase
.Here's the relevant output from building 1.14.7.3 on Alpine 3.7
The text was updated successfully, but these errors were encountered: