Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Pairmike

Pages: 1 2 3 4 [5]
61
BitShares PTS / Re: Mining on Linux instructions?
« on: November 05, 2013, 01:10:16 am »
 bool InitBlockIndex(): Assertion `hash == hashGenesisBlock' failed.

I think I figured it out. 

62
BitShares PTS / Re: Mining on Linux instructions?
« on: November 04, 2013, 10:41:54 pm »
I'm failing with the following error when executing --- 'line 29 make' from the instructions.  Ironically, I got the same error will trying to build this with MinWG on Windows.
 
home/mike/ProtoShares/src/rpcwallet.cpp:77: undefined reference to `nBestHeight'
/home/mike/ProtoShares/src/rpcwallet.cpp:85: undefined reference to `nTransactionFee'
/home/mike/ProtoShares/src/rpcwallet.cpp:88: undefined reference to `GetWarnings(std::string)'
build/rpcwallet.o: In function `signmessage(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcwallet.cpp:338: undefined reference to `strMessageMagic'
build/rpcwallet.o: In function `verifymessage(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcwallet.cpp:374: undefined reference to `strMessageMagic'
build/rpcwallet.o: In function `ListTransactions(CWalletTx const&, std::string const&, int, bool, std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > >&)':
/home/mike/ProtoShares/src/rpcwallet.cpp:987: undefined reference to `CMerkleTx::GetBlocksToMaturity() const'
build/rpcwallet.o: In function `listsinceblock(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcwallet.cpp:1154: undefined reference to `nBestHeight'
/home/mike/ProtoShares/src/rpcwallet.cpp:1170: undefined reference to `hashBestChain'
/home/mike/ProtoShares/src/rpcwallet.cpp:1170: undefined reference to `hashBestChain'
/home/mike/ProtoShares/src/rpcwallet.cpp:1170: undefined reference to `hashBestChain'
/home/mike/ProtoShares/src/rpcwallet.cpp:1170: undefined reference to `hashBestChain'
/home/mike/ProtoShares/src/rpcwallet.cpp:1174: undefined reference to `pindexBest'
/home/mike/ProtoShares/src/rpcwallet.cpp:1177: undefined reference to `pindexBest'
build/rpcwallet.o: In function `CBlockLocator::CBlockLocator(uint256)':
/home/mike/ProtoShares/src/main.h:1979: undefined reference to `mapBlockIndex'
/home/mike/ProtoShares/src/main.h:1980: undefined reference to `mapBlockIndex'
build/rpcblockchain.o: In function `GetDifficulty(CBlockIndex const*)':
/home/mike/ProtoShares/src/rpcblockchain.cpp:20: undefined reference to `pindexBest'
/home/mike/ProtoShares/src/rpcblockchain.cpp:23: undefined reference to `pindexBest'
build/rpcblockchain.o: In function `blockToJSON(CBlock const&, CBlockIndex const*)':
/home/mike/ProtoShares/src/rpcblockchain.cpp:49: undefined reference to `CBlockHeader::GetHash() const'
/home/mike/ProtoShares/src/rpcblockchain.cpp:51: undefined reference to `CMerkleTx::SetMerkleBranch(CBlock const*)'
build/rpcblockchain.o: In function `getblockcount(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcblockchain.cpp:81: undefined reference to `nBestHeight'
build/rpcblockchain.o: In function `settxfee(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcblockchain.cpp:108: undefined reference to `nTransactionFee'
build/rpcblockchain.o: In function `getrawmempool(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcblockchain.cpp:120: undefined reference to `mempool'
/home/mike/ProtoShares/src/rpcblockchain.cpp:120: undefined reference to `CTxMemPool::queryHashes(std::vector<uint256, std::allocator<uint256> >&)'
build/rpcblockchain.o: In function `getblockhash(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcblockchain.cpp:137: undefined reference to `nBestHeight'
/home/mike/ProtoShares/src/rpcblockchain.cpp:140: undefined reference to `FindBlockByHeight(int)'
build/rpcblockchain.o: In function `getblock(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcblockchain.cpp:154: undefined reference to `mapBlockIndex'
/home/mike/ProtoShares/src/rpcblockchain.cpp:158: undefined reference to `mapBlockIndex'
/home/mike/ProtoShares/src/rpcblockchain.cpp:159: undefined reference to `CBlock::ReadFromDisk(CBlockIndex const*)'
build/rpcblockchain.o: In function `gettxoutsetinfo(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcblockchain.cpp:174: undefined reference to `pcoinsTip'
/home/mike/ProtoShares/src/rpcblockchain.cpp:174: undefined reference to `pcoinsTip'
build/rpcblockchain.o: In function `gettxout(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcblockchain.cpp:204: undefined reference to `mempool'
/home/mike/ProtoShares/src/rpcblockchain.cpp:205: undefined reference to `pcoinsTip'
/home/mike/ProtoShares/src/rpcblockchain.cpp:205: undefined reference to `mempool'
/home/mike/ProtoShares/src/rpcblockchain.cpp:205: undefined reference to `CCoinsViewMemPool::CCoinsViewMemPool(CCoinsView&, CTxMemPool&)'
/home/mike/ProtoShares/src/rpcblockchain.cpp:206: undefined reference to `CCoinsViewMemPool::GetCoins(uint256 const&, CCoins&)'
/home/mike/ProtoShares/src/rpcblockchain.cpp:208: undefined reference to `mempool'
/home/mike/ProtoShares/src/rpcblockchain.cpp:208: undefined reference to `CTxMemPool::pruneSpent(uint256 const&, CCoins&)'
/home/mike/ProtoShares/src/rpcblockchain.cpp:210: undefined reference to `pcoinsTip'
/home/mike/ProtoShares/src/rpcblockchain.cpp:210: undefined reference to `pcoinsTip'
/home/mike/ProtoShares/src/rpcblockchain.cpp:216: undefined reference to `pcoinsTip'
/home/mike/ProtoShares/src/rpcblockchain.cpp:216: undefined reference to `pcoinsTip'
/home/mike/ProtoShares/src/rpcblockchain.cpp:220: undefined reference to `pcoinsTip'
build/rpcblockchain.o:/home/mike/ProtoShares/src/rpcblockchain.cpp:220: more undefined references to `pcoinsTip' follow
build/rpcblockchain.o: In function `CCoinsView::~CCoinsView()':
/home/mike/ProtoShares/src/main.h:2166: undefined reference to `vtable for CCoinsView'
build/rpcblockchain.o: In function `CCoinsViewBacked::~CCoinsViewBacked()':
/home/mike/ProtoShares/src/main.h:2170: undefined reference to `vtable for CCoinsViewBacked'
build/rpcblockchain.o: In function `CCoinsViewMemPool::~CCoinsViewMemPool()':
/home/mike/ProtoShares/src/main.h:2223: undefined reference to `vtable for CCoinsViewMemPool'
build/rpcrawtransaction.o: In function `TxToJSON(CTransaction const&, uint256, std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::string> > > >&)':
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:119: undefined reference to `mapBlockIndex'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:120: undefined reference to `mapBlockIndex'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:125: undefined reference to `nBestHeight'
build/rpcrawtransaction.o: In function `getrawtransaction(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:153: undefined reference to `GetTransaction(uint256 const&, CTransaction&, uint256&, bool)'
build/rpcrawtransaction.o: In function `signrawtransaction(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:382: undefined reference to `CCoinsViewCache::CCoinsViewCache(CCoinsView&, bool)'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:384: undefined reference to `mempool'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:385: undefined reference to `pcoinsTip'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:386: undefined reference to `mempool'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:386: undefined reference to `CCoinsViewMemPool::CCoinsViewMemPool(CCoinsView&, CTxMemPool&)'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:387: undefined reference to `CCoinsViewBacked::SetBackend(CCoinsView&)'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:392: undefined reference to `CCoinsViewCache::GetCoins(uint256 const&, CCoins&)'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:395: undefined reference to `CCoinsViewBacked::SetBackend(CCoinsView&)'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:443: undefined reference to `CCoinsViewCache::GetCoins(uint256 const&, CCoins&)'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:456: undefined reference to `CCoinsViewCache::SetCoins(uint256 const&, CCoins const&)'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:502: undefined reference to `CCoinsViewCache::GetCoins(uint256 const&, CCoins&)'
build/rpcrawtransaction.o: In function `sendrawtransaction(std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::string> >, std::allocator<json_spirit::Value_impl<json_spirit::Config_vector<std::string> > > > const&, bool)':
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:554: undefined reference to `pcoinsTip'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:561: undefined reference to `CTransaction::AcceptToMemoryPool(CValidationState&, bool, bool, bool*)'
/home/mike/ProtoShares/src/rpcrawtransaction.cpp:571: undefined reference to `SyncWithWallets(uint256 const&, CTransaction const&, CBlock const*, bool)'
build/rpcrawtransaction.o: In function `CCoinsView::CCoinsView()':
/home/mike/ProtoShares/src/main.h:2140: undefined reference to `vtable for CCoinsView'
build/rpcrawtransaction.o: In function `CCoinsViewCache::~CCoinsViewCache()':
/home/mike/ProtoShares/src/main.h:2188: undefined reference to `vtable for CCoinsViewCache'
build/protocol.o: In function `CMessageHeader::CMessageHeader()':
/home/mike/ProtoShares/src/protocol.cpp:25: undefined reference to `pchMessageStart'
build/protocol.o: In function `CMessageHeader::CMessageHeader(char const*, unsigned int)':
/home/mike/ProtoShares/src/protocol.cpp:34: undefined reference to `pchMessageStart'
build/protocol.o: In function `CMessageHeader::IsValid() const':
/home/mike/ProtoShares/src/protocol.cpp:51: undefined reference to `pchMessageStart'
build/txdb.o: In function `CCoinsViewDB::GetBestBlock()':
/home/mike/ProtoShares/src/txdb.cpp:44: undefined reference to `mapBlockIndex'
/home/mike/ProtoShares/src/txdb.cpp:45: undefined reference to `mapBlockIndex'
build/txdb.o: In function `CBlockTreeDB::LoadBlockIndexGuts()':
/home/mike/ProtoShares/src/txdb.cpp:211: undefined reference to `InsertBlockIndex(uint256)'
/home/mike/ProtoShares/src/txdb.cpp:212: undefined reference to `InsertBlockIndex(uint256)'
/home/mike/ProtoShares/src/txdb.cpp:226: undefined reference to `pindexGenesisBlock'
/home/mike/ProtoShares/src/txdb.cpp:226: undefined reference to `hashGenesisBlock'
/home/mike/ProtoShares/src/txdb.cpp:227: undefined reference to `pindexGenesisBlock'
build/txdb.o: In function `CTxOutCompressor::GetSerializeSize(int, int) const':
/home/mike/ProtoShares/src/main.h:687: undefined reference to `CTxOutCompressor::CompressAmount(unsigned long long)'
build/txdb.o: In function `CBlockIndex::CheckIndex() const':
/home/mike/ProtoShares/src/main.h:1766: undefined reference to `CheckProofOfWork(uint256, unsigned int)'
build/txdb.o: In function `CDiskBlockIndex::GetBlockHash() const':
/home/mike/ProtoShares/src/main.h:1885: undefined reference to `CBlockHeader::GetHash() const'
build/txdb.o: In function `void CTxOutCompressor::Unserialize<CDataStream>(CDataStream&, int, int)':
/home/mike/ProtoShares/src/main.h:687: undefined reference to `CTxOutCompressor::DecompressAmount(unsigned long long)'
build/txdb.o: In function `void CTxOutCompressor::Serialize<CDataStream>(CDataStream&, int, int) const':
/home/mike/ProtoShares/src/main.h:687: undefined reference to `CTxOutCompressor::CompressAmount(unsigned long long)'
build/txdb.o:(.rodata._ZTI12CCoinsViewDB[_ZTI12CCoinsViewDB]+0x10): undefined reference to `typeinfo for CCoinsView'
collect2: error: ld returned 1 exit status
make: *** [protosharesd] Error 1

Pages: 1 2 3 4 [5]