So, woke up this morning to a broken master :)
Making all in src
make[1]: Entering directory `/home/thomas/src/bitcoin/src'
make[2]: Entering directory `/home/thomas/src/bitcoin/src'
CXXLD bitcoind
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `pthread_mutex_scoped_lock':
/usr/include/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:26: undefined reference to `cvBlockChange'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `OnRPCPreCommand(CRPCCommand const&)':
/home/thomas/src/bitcoin/src/init.cpp:251: undefined reference to `GetWarnings(std::string)'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `ThreadImport(std::vector<boost::filesystem::path, std::allocator<boost::filesystem::path> >)':
/home/thomas/src/bitcoin/src/init.cpp:469: undefined reference to `fReindex'
/home/thomas/src/bitcoin/src/init.cpp:476: undefined reference to `OpenBlockFile(CDiskBlockPos const&, bool)'
/home/thomas/src/bitcoin/src/init.cpp:480: undefined reference to `LoadExternalBlockFile(_IO_FILE*, CDiskBlockPos*)'
/home/thomas/src/bitcoin/src/init.cpp:474: undefined reference to `GetBlockPosFilename(CDiskBlockPos const&, char const*)'
/home/thomas/src/bitcoin/src/init.cpp:483: undefined reference to `pblocktree'
/home/thomas/src/bitcoin/src/init.cpp:484: undefined reference to `fReindex'
/home/thomas/src/bitcoin/src/init.cpp:487: undefined reference to `InitBlockIndex()'
/home/thomas/src/bitcoin/src/init.cpp:511: undefined reference to `LoadExternalBlockFile(_IO_FILE*, CDiskBlockPos*)'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `CImportingNow':
/home/thomas/src/bitcoin/src/init.cpp:454: undefined reference to `fImporting'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `ThreadImport(std::vector<boost::filesystem::path, std::allocator<boost::filesystem::path> >)':
/home/thomas/src/bitcoin/src/init.cpp:498: undefined reference to `LoadExternalBlockFile(_IO_FILE*, CDiskBlockPos*)'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `Shutdown()':
/home/thomas/src/bitcoin/src/init.cpp:150: undefined reference to `mempool'
/home/thomas/src/bitcoin/src/init.cpp:158: undefined reference to `UnregisterNodeSignals(CNodeSignals&)'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `Shutdown()':
/home/thomas/src/bitcoin/src/init.cpp:173: undefined reference to `pcoinsTip'
/home/thomas/src/bitcoin/src/init.cpp:174: undefined reference to `FlushStateToDisk()'
/home/thomas/src/bitcoin/src/init.cpp:182: undefined reference to `pblocktree'
/home/thomas/src/bitcoin/src/init.cpp:192: undefined reference to `UnregisterAllValidationInterfaces()'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `CFeeRate::GetFeePerK() const':
/home/thomas/src/bitcoin/src/amount.h:37: undefined reference to `minRelayTxFee'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `CTxMemPool::setSanityCheck(bool)':
/home/thomas/src/bitcoin/src/txmempool.h:112: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `AppInit2(boost::thread_group&)':
/home/thomas/src/bitcoin/src/init.cpp:705: undefined reference to `nScriptCheckThreads'
/home/thomas/src/bitcoin/src/init.cpp:706: undefined reference to `nScriptCheckThreads'
/home/thomas/src/bitcoin/src/init.cpp:711: undefined reference to `nScriptCheckThreads'
/home/thomas/src/bitcoin/src/init.cpp:726: undefined reference to `COINBASE_FLAGS'
/home/thomas/src/bitcoin/src/init.cpp:738: undefined reference to `minRelayTxFee'
/home/thomas/src/bitcoin/src/init.cpp:787: undefined reference to `fIsBareMultisigStd'
/home/thomas/src/bitcoin/src/init.cpp:709: undefined reference to `nScriptCheckThreads'
/home/thomas/src/bitcoin/src/init.cpp:828: undefined reference to `nScriptCheckThreads'
/home/thomas/src/bitcoin/src/init.cpp:830: undefined reference to `nScriptCheckThreads'
/home/thomas/src/bitcoin/src/init.cpp:830: undefined reference to `ThreadScriptCheck()'
/home/thomas/src/bitcoin/src/init.cpp:830: undefined reference to `nScriptCheckThreads'
/home/thomas/src/bitcoin/src/init.cpp:900: undefined reference to `RegisterNodeSignals(CNodeSignals&)'
/home/thomas/src/bitcoin/src/init.cpp:707: undefined reference to `nScriptCheckThreads'
/home/thomas/src/bitcoin/src/init.cpp:1000: undefined reference to `fReindex'
/home/thomas/src/bitcoin/src/init.cpp:1025: undefined reference to `fReindex'
/home/thomas/src/bitcoin/src/init.cpp:1041: undefined reference to `nCoinCacheSize'
/home/thomas/src/bitcoin/src/init.cpp:1045: undefined reference to `fReindex'
/home/thomas/src/bitcoin/src/init.cpp:1053: undefined reference to `UnloadBlockIndex()'
/home/thomas/src/bitcoin/src/init.cpp:1054: undefined reference to `pcoinsTip'
/home/thomas/src/bitcoin/src/init.cpp:1057: undefined reference to `pblocktree'
/home/thomas/src/bitcoin/src/init.cpp:1059: undefined reference to `fReindex'
/home/thomas/src/bitcoin/src/init.cpp:1059: undefined reference to `pblocktree'
/home/thomas/src/bitcoin/src/init.cpp:1060: undefined reference to `fReindex'
/home/thomas/src/bitcoin/src/init.cpp:1062: undefined reference to `pcoinsTip'
/home/thomas/src/bitcoin/src/init.cpp:1064: undefined reference to `fReindex'
/home/thomas/src/bitcoin/src/init.cpp:1065: undefined reference to `pblocktree'
/home/thomas/src/bitcoin/src/init.cpp:1067: undefined reference to `LoadBlockIndex()'
/home/thomas/src/bitcoin/src/init.cpp:1074: undefined reference to `mapBlockIndex'
/home/thomas/src/bitcoin/src/init.cpp:1078: undefined reference to `InitBlockIndex()'
/home/thomas/src/bitcoin/src/init.cpp:1111: undefined reference to `fReindex'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `boost::unordered::detail::table_impl<boost::unordered::detail::map<std::allocator<std::pair<uint256 const, CBlockIndex*> >, uint256, CBlockIndex*, BlockHasher, std::equal_to<uint256> > >::count(uint256 const&) const':
/usr/include/boost/unordered/detail/unique.hpp:260: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `AppInit2(boost::thread_group&)':
/home/thomas/src/bitcoin/src/init.cpp:1084: undefined reference to `fTxIndex'
/home/thomas/src/bitcoin/src/init.cpp:1091: undefined reference to `CVerifyDB::CVerifyDB()'
/home/thomas/src/bitcoin/src/init.cpp:1091: undefined reference to `CVerifyDB::VerifyDB(CCoinsView*, int, int)'
/home/thomas/src/bitcoin/src/init.cpp:1091: undefined reference to `CVerifyDB::~CVerifyDB()'
/home/thomas/src/bitcoin/src/init.cpp:1137: undefined reference to `mempool'
/home/thomas/src/bitcoin/src/init.cpp:1286: undefined reference to `ActivateBestChain(CValidationState&, CBlock*)'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `AppInit2(boost::thread_group&)':
/home/thomas/src/bitcoin/src/chain.h:362: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `AppInit2(boost::thread_group&)':
/home/thomas/src/bitcoin/src/init.cpp:1304: undefined reference to `CheckDiskSpace(unsigned long)'
/home/thomas/src/bitcoin/src/init.cpp:1313: undefined reference to `mapBlockIndex'
/home/thomas/src/bitcoin/src/init.cpp:1091: undefined reference to `CVerifyDB::~CVerifyDB()'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `CImportingNow::CImportingNow()':
/home/thomas/src/bitcoin/src/init.cpp:454: undefined reference to `fImporting'
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `CImportingNow::~CImportingNow()':
/home/thomas/src/bitcoin/src/init.cpp:459: undefined reference to `fImporting'
libbitcoin_server.a(libbitcoin_server_a-txdb.o): In function `CBlockTreeDB::LoadBlockIndexGuts()':
/home/thomas/src/bitcoin/src/txdb.cpp:211: undefined reference to `InsertBlockIndex(uint256)'
/home/thomas/src/bitcoin/src/txdb.cpp:212: undefined reference to `InsertBlockIndex(uint256)'
libbitcoin_server.a(libbitcoin_server_a-txdb.o): In function `CCoinsViewDB::GetStats(CCoinsStats&) const':
/usr/include/boost/unordered/detail/unique.hpp:235: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-txmempool.o): In function `CTxMemPool::check(CCoinsViewCache const*) const':
/home/thomas/src/bitcoin/src/txmempool.cpp:589: undefined reference to `CheckInputs(CTransaction const&, CValidationState&, CCoinsViewCache const&, bool, unsigned int, bool, std::vector<CScriptCheck, std::allocator<CScriptCheck> >*)'
/home/thomas/src/bitcoin/src/txmempool.cpp:590: undefined reference to `UpdateCoins(CTransaction const&, CValidationState&, CCoinsViewCache&, int)'
/home/thomas/src/bitcoin/src/txmempool.cpp:603: undefined reference to `CheckInputs(CTransaction const&, CValidationState&, CCoinsViewCache const&, bool, unsigned int, bool, std::vector<CScriptCheck, std::allocator<CScriptCheck> >*)'
/home/thomas/src/bitcoin/src/txmempool.cpp:604: undefined reference to `UpdateCoins(CTransaction const&, CValidationState&, CCoinsViewCache&, int)'
libbitcoin_server.a(libbitcoin_server_a-rest.o): In function `unique_lock':
/usr/include/boost/thread/lock_types.hpp:134: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rest.o): In function `boost::unordered::detail::functions<BlockHasher, std::equal_to<uint256> >::current() const':
/usr/include/boost/unordered/detail/buckets.hpp:705: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-rest.o): In function `rest_headers':
/home/thomas/src/bitcoin/src/chain.h:367: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rest.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rest.o): In function `boost::unordered::detail::functions<BlockHasher, std::equal_to<uint256> >::current() const':
/usr/include/boost/unordered/detail/buckets.hpp:705: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-rest.o): In function `rest_block':
/home/thomas/src/bitcoin/src/rest.cpp:177: undefined reference to `ReadBlockFromDisk(CBlock&, CBlockIndex const*)'
libbitcoin_server.a(libbitcoin_server_a-rest.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rest.o): In function `rest_tx':
/home/thomas/src/bitcoin/src/rest.cpp:270: undefined reference to `GetTransaction(uint256 const&, CTransaction&, uint256&, bool)'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `GetDifficulty(CBlockIndex const*)':
/home/thomas/src/bitcoin/src/chain.h:362: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/chain.h:393: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `getbestblockhash(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/thomas/src/bitcoin/src/chain.h:362: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/chain.h:393: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `verifychain(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/thomas/src/bitcoin/src/rpcblockchain.cpp:461: undefined reference to `pcoinsTip'
/home/thomas/src/bitcoin/src/rpcblockchain.cpp:461: undefined reference to `CVerifyDB::CVerifyDB()'
/home/thomas/src/bitcoin/src/rpcblockchain.cpp:461: undefined reference to `CVerifyDB::VerifyDB(CCoinsView*, int, int)'
/home/thomas/src/bitcoin/src/rpcblockchain.cpp:461: undefined reference to `CVerifyDB::~CVerifyDB()'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `verifychain(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/thomas/src/bitcoin/src/rpcblockchain.cpp:461: undefined reference to `CVerifyDB::~CVerifyDB()'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `invalidateblock(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)':
/usr/include/boost/unordered/detail/unique.hpp:235: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `invalidateblock(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/thomas/src/bitcoin/src/rpcblockchain.cpp:650: undefined reference to `InvalidateBlock(CValidationState&, CBlockIndex*)'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `invalidateblock(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/thomas/src/bitcoin/src/rpcblockchain.cpp:654: undefined reference to `ActivateBestChain(CValidationState&, CBlock*)'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `reconsiderblock(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)':
/usr/include/boost/unordered/detail/unique.hpp:235: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `reconsiderblock(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/thomas/src/bitcoin/src/rpcblockchain.cpp:689: undefined reference to `ReconsiderBlock(CValidationState&, CBlockIndex*)'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `reconsiderblock(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/thomas/src/bitcoin/src/rpcblockchain.cpp:693: undefined reference to `ActivateBestChain(CValidationState&, CBlock*)'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `blockToJSON(CBlock const&, CBlockIndex const*, bool)':
/home/thomas/src/bitcoin/src/chain.h:367: undefined reference to `chainActive'
/home/thomas/src/bitcoin/src/chain.h:367: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcblockchain.cpp:287: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::unordered::detail::table_impl<boost::unordered::detail::map<std::allocator<std::pair<uint256 const, CBlockIndex*> >, uint256, CBlockIndex*, BlockHasher, std::equal_to<uint256> > >::count(uint256 const&) const':
/usr/include/boost/unordered/detail/unique.hpp:260: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcblockchain.cpp:302: undefined reference to `ReadBlockFromDisk(CBlock&, CBlockIndex const*)'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcblockchain.cpp:179: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/rpcblockchain.cpp:216: undefined reference to `mempool'
/home/thomas/src/bitcoin/src/rpcblockchain.cpp:187: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-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)':
/usr/include/c++/4.8/bits/stl_map.h:321: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcblockchain.cpp:189: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/chain.h:393: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-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)':
/usr/include/c++/4.8/bits/stl_tree.h:1803: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `std::_Rb_tree<uint256, std::pair<uint256 const, CTxMemPoolEntry>, std::_Select1st<std::pair<uint256 const, CTxMemPoolEntry> >, std::less<uint256>, std::allocator<std::pair<uint256 const, CTxMemPoolEntry> > >::find(uint256 const&) const':
/usr/include/c++/4.8/bits/stl_tree.h:1808: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcblockchain.cpp:189: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcblockchain.cpp:343: undefined reference to `FlushStateToDisk()'
/home/thomas/src/bitcoin/src/rpcblockchain.cpp:344: undefined reference to `pcoinsTip'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcblockchain.cpp:394: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/rpcblockchain.cpp:413: undefined reference to `pcoinsTip'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::unordered::unordered_map<uint256, CBlockIndex*, BlockHasher, std::equal_to<uint256>, std::allocator<std::pair<uint256 const, CBlockIndex*> > >::find(uint256 const&)':
/usr/include/boost/unordered/unordered_map.hpp:1208: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcblockchain.cpp:407: undefined reference to `mempool'
/home/thomas/src/bitcoin/src/rpcblockchain.cpp:408: undefined reference to `pcoinsTip'
/home/thomas/src/bitcoin/src/rpcblockchain.cpp:408: undefined reference to `mempool'
/home/thomas/src/bitcoin/src/rpcblockchain.cpp:411: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `getblockchaininfo(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/thomas/src/bitcoin/src/chain.h:393: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `getblockchaininfo(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/thomas/src/bitcoin/src/rpcblockchain.cpp:490: undefined reference to `pindexBestHeader'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `getchaintips(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/thomas/src/bitcoin/src/rpcblockchain.cpp:546: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::unordered::unordered_map<uint256, CBlockIndex*, BlockHasher, std::equal_to<uint256>, std::allocator<std::pair<uint256 const, CBlockIndex*> > >::begin()':
/usr/include/boost/unordered/unordered_map.hpp:204: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `getchaintips(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/thomas/src/bitcoin/src/chain.h:362: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `getchaintips(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/thomas/src/bitcoin/src/rpcblockchain.cpp:572: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `getchaintips(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/thomas/src/bitcoin/src/chain.h:367: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcblockchain.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `GetNetworkHashPS(int, int)':
/home/thomas/src/bitcoin/src/chain.h:362: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `prioritisetransaction(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/thomas/src/bitcoin/src/rpcmining.cpp:280: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `estimatepriority(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/thomas/src/bitcoin/src/rpcmining.cpp:706: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `estimatefee(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/thomas/src/bitcoin/src/rpcmining.cpp:674: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `submitblock(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)':
/usr/include/boost/unordered/detail/unique.hpp:235: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `submitblock(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/thomas/src/bitcoin/src/rpcmining.cpp:631: undefined reference to `RegisterValidationInterface(CValidationInterface*)'
/home/thomas/src/bitcoin/src/rpcmining.cpp:632: undefined reference to `ProcessNewBlock(CValidationState&, CNode*, CBlock*, CDiskBlockPos*)'
/home/thomas/src/bitcoin/src/rpcmining.cpp:633: undefined reference to `UnregisterValidationInterface(CValidationInterface*)'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `getmininginfo(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/thomas/src/bitcoin/src/chain.h:393: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `getmininginfo(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/thomas/src/bitcoin/src/rpcmining.cpp:240: undefined reference to `GetWarnings(std::string)'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `getblocktemplate(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/thomas/src/bitcoin/src/rpcmining.cpp:421: undefined reference to `IsInitialBlockDownload()'
/home/thomas/src/bitcoin/src/rpcmining.cpp:426: undefined reference to `chainActive'
/home/thomas/src/bitcoin/src/rpcmining.cpp:476: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `__normal_iterator':
/usr/include/c++/4.8/bits/stl_iterator.h:726: undefined reference to `COINBASE_FLAGS'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `getblocktemplate(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/thomas/src/bitcoin/src/chain.h:362: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `unique_lock':
/usr/include/boost/thread/lock_types.hpp:122: undefined reference to `csBestBlock'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `getblocktemplate(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/thomas/src/bitcoin/src/rpcmining.cpp:456: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `boost::unordered::unordered_map<uint256, CBlockIndex*, BlockHasher, std::equal_to<uint256>, std::allocator<std::pair<uint256 const, CBlockIndex*> > >::find(uint256 const&)':
/usr/include/boost/unordered/unordered_map.hpp:1208: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `getblocktemplate(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/thomas/src/bitcoin/src/chain.h:362: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcmining.o): In function `getblocktemplate(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/thomas/src/bitcoin/src/rpcmining.cpp:410: undefined reference to `TestBlockValidity(CValidationState&, CBlock const&, CBlockIndex*, bool, bool)'
/home/thomas/src/bitcoin/src/rpcmining.cpp:456: undefined reference to `cvBlockChange'
/home/thomas/src/bitcoin/src/rpcmining.cpp:459: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `operator<< <std::basic_string<char> >':
/home/thomas/src/bitcoin/src/hash.h:146: undefined reference to `strMessageMagic'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `boost::recursive_mutex::unlock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:115: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o):/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: more undefined references to `cs_main' follow
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `getinfo(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/thomas/src/bitcoin/src/chain.h:393: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `CFeeRate::GetFeePerK() const':
/home/thomas/src/bitcoin/src/./amount.h:37: undefined reference to `minRelayTxFee'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `getinfo(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/thomas/src/bitcoin/src/rpcmisc.cpp:106: undefined reference to `GetWarnings(std::string)'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `boost::recursive_mutex::unlock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:115: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcmisc.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcnet.o):/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: more undefined references to `cs_main' follow
libbitcoin_server.a(libbitcoin_server_a-rpcnet.o): In function `getpeerinfo(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/thomas/src/bitcoin/src/rpcnet.cpp:128: undefined reference to `GetNodeStateStats(int, CNodeStateStats&)'
libbitcoin_server.a(libbitcoin_server_a-rpcnet.o): In function `getnetworkinfo(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/thomas/src/bitcoin/src/rpcnet.cpp:418: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcnet.o): In function `CFeeRate::GetFeePerK() const':
/home/thomas/src/bitcoin/src/amount.h:37: undefined reference to `minRelayTxFee'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcrawtransaction.cpp:750: undefined reference to `pcoinsTip'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-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)':
/usr/include/c++/4.8/bits/stl_tree.h:1803: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `std::_Rb_tree<uint256, std::pair<uint256 const, CTxMemPoolEntry>, std::_Select1st<std::pair<uint256 const, CTxMemPoolEntry> >, std::less<uint256>, std::allocator<std::pair<uint256 const, CTxMemPoolEntry> > >::find(uint256 const&) const':
/usr/include/c++/4.8/bits/stl_tree.h:1808: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `mempool'
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcrawtransaction.cpp:756: undefined reference to `mempool'
/home/thomas/src/bitcoin/src/rpcrawtransaction.cpp:756: undefined reference to `AcceptToMemoryPool(CTxMemPool&, CValidationState&, CTransaction const&, bool, bool*, bool)'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `createrawtransaction(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/thomas/src/bitcoin/src/rpcrawtransaction.cpp:340: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-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> > > >&)':
/usr/include/boost/unordered/detail/unique.hpp:235: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/chain.h:367: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcrawtransaction.cpp:182: undefined reference to `GetTransaction(uint256 const&, CTransaction&, uint256&, bool)'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `boost::recursive_mutex::unlock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:115: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-rpcrawtransaction.o):/home/thomas/src/bitcoin/src/rpcrawtransaction.cpp:544: more undefined references to `cs_main' follow
libbitcoin_server.a(libbitcoin_server_a-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/thomas/src/bitcoin/src/rpcrawtransaction.cpp:574: undefined reference to `mempool'
/home/thomas/src/bitcoin/src/rpcrawtransaction.cpp:576: undefined reference to `pcoinsTip'
libbitcoin_server.a(libbitcoin_server_a-checkpoints.o): In function `Checkpoints::GetLastCheckpoint()':
/home/thomas/src/bitcoin/src/checkpoints.cpp:89: undefined reference to `mapBlockIndex'
/home/thomas/src/bitcoin/src/checkpoints.cpp:89: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-checkpoints.o): In function `Checkpoints::GetLastCheckpoint()':
/usr/include/boost/unordered/detail/table.hpp:243: undefined reference to `mapBlockIndex'
libbitcoin_server.a(libbitcoin_server_a-miner.o): In function `IncrementExtraNonce(CBlock*, CBlockIndex*, unsigned int&)':
/home/thomas/src/bitcoin/src/./script/script.h:372: undefined reference to `COINBASE_FLAGS'
libbitcoin_server.a(libbitcoin_server_a-miner.o): In function `boost::recursive_mutex::lock()':
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `cs_main'
/usr/include/boost/thread/pthread/recursive_mutex.hpp:110: undefined reference to `mempool'
libbitcoin_server.a(libbitcoin_server_a-miner.o): In function `CreateNewBlock(CScript const&)':
/home/thomas/src/bitcoin/src/chain.h:362: undefined reference to `chainActive'
libbitcoin_server.a(libbitcoin_server_a-miner.o): In function `CreateNewBlock(CScript const&)':
/home/thomas/src/bitcoin/src/miner.cpp:137: undefined reference to `pcoinsTip'
/home/thomas/src/bitcoin/src/miner.cpp:151: undefined reference to `IsFinalTx(CTransaction const&, int, long)'
/home/thomas/src/bitcoin/src/miner.cpp:243: undefined reference to `GetLegacySigOpCount(CTransaction const&)'
/home/thomas/src/bitcoin/src/miner.cpp:270: undefined reference to `GetP2SHSigOpCount(CTransaction const&, CCoinsViewCache const&)'
/home/thomas/src/bitcoin/src/miner.cpp:278: undefined reference to `CheckInputs(CTransaction const&, CValidationState&, CCoinsViewCache const&, bool, unsigned int, bool, std::vector<CScriptCheck, std::allocator<CScriptCheck> >*)'
/home/thomas/src/bitcoin/src/miner.cpp:281: undefined reference to `UpdateCoins(CTransaction const&, CValidationState&, CCoinsViewCache&, int)'
libbitcoin_server.a(libbitcoin_server_a-miner.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-miner.o): In function `CreateNewBlock(CScript const&)':
/home/thomas/src/bitcoin/src/miner.cpp:321: undefined reference to `GetBlockValue(int, long const&)'
/home/thomas/src/bitcoin/src/miner.cpp:331: undefined reference to `GetLegacySigOpCount(CTransaction const&)'
/home/thomas/src/bitcoin/src/miner.cpp:334: undefined reference to `TestBlockValidity(CValidationState&, CBlock const&, CBlockIndex*, bool, bool)'
libbitcoin_server.a(libbitcoin_server_a-miner.o): In function `AnnotatedMixin<boost::recursive_mutex>::unlock()':
/home/thomas/src/bitcoin/src/sync.h:70: undefined reference to `cs_main'
libbitcoin_server.a(libbitcoin_server_a-miner.o): In function `CreateNewBlock(CScript const&)':
/home/thomas/src/bitcoin/src/miner.cpp:252: undefined reference to `minRelayTxFee'
collect2: error: ld returned 1 exit status
make[2]: *** [bitcoind] Error 1
make[2]: Leaving directory `/home/thomas/src/bitcoin/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thomas/src/bitcoin/src'
make: *** [all-recursive] Error 1