I did that branch thing, but the result is even worse, it spews vast number of errors.
First it complained that -Wformat-security is ignored since -Wformat was not specified. I fixed that, but then it started spewing stuff that seems as if it ought to be about a GUI app not about the daemon at all:
g++ -pthread -Wextra -Wno-sign-compare -Wno-char-subscripts -Wno-invalid-offsetof -Wformat -Wformat-security -g -DNOPCH -I../../deps/include -I/usr/src/bitcoin/ppcoin-lukejr-git/src -DUSE_UPNP=0 -DUSE_SSL -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -o bitcoind obj/checkpoints.o obj/netbase.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/irc.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/script.o obj/util.o obj/wallet.o -L../../deps/lib -Wl,-Bdynamic -l boost_system-mt -l boost_filesystem-mt -l boost_program_options-mt -l boost_thread-mt -l db_cxx -l ssl -l crypto -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread
obj/db.o: In function `CAddrMan::Add(std::vector > const&, CNetAddr const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:433: undefined reference to `CAddrMan::Add_(CAddress const&, CNetAddr const&, long long)'
obj/db.o: In function `CAddrInfo::GetNewBucket(std::vector > const&) const':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:84: undefined reference to `CAddrInfo::GetNewBucket(std::vector > const&, CNetAddr const&) const'
obj/db.o: In function `void CAddrMan::Unserialize(CDataStream&, int, int)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:247: undefined reference to `CAddrInfo::GetTriedBucket(std::vector > const&) const'
obj/init.o: In function `AppInit2(int, char**)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:244: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:244: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:244: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:244: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:244: undefined reference to `_(char const*)'
obj/init.o:/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:244: more undefined references to `_(char const*)' follow
obj/init.o: In function `std::basic_string, std::allocator >::_M_data() const':
/usr/lib/gcc/x86_64-redhat-linux/4.6.3/../../../../include/c++/4.6.3/bits/basic_string.h:288: undefined reference to `CLIENT_DATE'
obj/init.o: In function `AppInit2(int, char**)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:362: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:362: undefined reference to `InitMessage(std::basic_string, std::allocator > const&)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:366: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:369: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:369: undefined reference to `InitMessage(std::basic_string, std::allocator > const&)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:350: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:350: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:350: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:385: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:385: undefined reference to `InitMessage(std::basic_string, std::allocator > const&)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:405: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:431: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:434: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:454: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:454: undefined reference to `InitMessage(std::basic_string, std::allocator > const&)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:461: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:461: undefined reference to `InitMessage(std::basic_string, std::allocator > const&)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:473: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:473: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:373: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:420: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:399: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:401: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:401: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:560: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:560: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:396: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:394: undefined reference to `_(char const*)'
obj/init.o: In function `CAddrMan::Add(CAddress const&, CNetAddr const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:417: undefined reference to `CAddrMan::Add_(CAddress const&, CNetAddr const&, long long)'
obj/init.o: In function `AppInit2(int, char**)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:529: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:529: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:529: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:584: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:584: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:584: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:580: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:580: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:580: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:612: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:612: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:612: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:592: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:592: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:592: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:600: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:600: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/init.cpp:600: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
obj/main.o: In function `CheckDiskSpace(unsigned long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/main.cpp:2168: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/main.cpp:2171: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
obj/main.o: In function `CAlert::AppliesToMe() const':
/usr/src/bitcoin/ppcoin-lukejr-git/src/main.h:1683: undefined reference to `CLIENT_NAME'
obj/main.o: In function `InvalidChainFound':
/usr/src/bitcoin/ppcoin-lukejr-git/src/main.cpp:972: undefined reference to `MainFrameRepaint()'
obj/main.o: In function `CAlert::ProcessAlert()':
/usr/src/bitcoin/ppcoin-lukejr-git/src/main.cpp:2519: undefined reference to `MainFrameRepaint()'
obj/main.o: In function `CBlock::AddToBlockIndex(unsigned int, unsigned int)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/main.cpp:1848: undefined reference to `MainFrameRepaint()'
obj/main.o: In function `CAddrMan::Good(CService const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:447: undefined reference to `CAddrMan::Good_(CService const&, long long)'
obj/main.o: In function `CAlert::AppliesToMe() const':
/usr/src/bitcoin/ppcoin-lukejr-git/src/main.h:1683: undefined reference to `CLIENT_NAME'
obj/main.o: In function `CAddrMan::Add(CAddress const&, CNetAddr const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:417: undefined reference to `CAddrMan::Add_(CAddress const&, CNetAddr const&, long long)'
obj/main.o: In function `CAddrMan::Add(std::vector > const&, CNetAddr const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:433: undefined reference to `CAddrMan::Add_(CAddress const&, CNetAddr const&, long long)'
obj/main.o: In function `CAddrMan::GetAddr()':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:484: undefined reference to `CAddrMan::GetAddr_(std::vector >&)'
obj/main.o: In function `CAddrMan::Good(CService const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:447: undefined reference to `CAddrMan::Good_(CService const&, long long)'
obj/main.o: In function `CAlert::AppliesToMe() const':
/usr/src/bitcoin/ppcoin-lukejr-git/src/main.h:1683: undefined reference to `CLIENT_NAME'
obj/main.o: In function `__static_initialization_and_destruction_0':
/usr/src/bitcoin/ppcoin-lukejr-git/src/main.cpp:2412: undefined reference to `_(char const*)'
obj/net.o: In function `BindListenPort(std::basic_string, std::allocator >&)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/net.cpp:1503: undefined reference to `_(char const*)'
obj/net.o: In function `CAddrMan::Connected(CService const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:496: undefined reference to `CAddrMan::Connected_(CService const&, long long)'
obj/net.o: In function `CAddrMan::Add(std::vector > const&, CNetAddr const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:433: undefined reference to `CAddrMan::Add_(CAddress const&, CNetAddr const&, long long)'
obj/net.o: In function `CNode::PushVersion()':
/usr/src/bitcoin/ppcoin-lukejr-git/src/net.cpp:407: undefined reference to `CLIENT_NAME'
obj/net.o: In function `ThreadSocketHandler2(void*)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/net.cpp:567: undefined reference to `MainFrameRepaint()'
obj/net.o: In function `CAddrMan::Attempt(CService const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:458: undefined reference to `CAddrMan::Attempt_(CService const&, long long)'
obj/net.o: In function `CAddrMan::Select(int)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:471: undefined reference to `CAddrMan::Select_(int)'
obj/net.o: In function `CAddrMan::Add(std::vector > const&, CNetAddr const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:433: undefined reference to `CAddrMan::Add_(CAddress const&, CNetAddr const&, long long)'
obj/bitcoinrpc.o: In function `GetAccountBalance(CWalletDB&, std::basic_string, std::allocator > const&, int)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:766: undefined reference to `CWalletDB::GetAccountCreditDebit(std::basic_string, std::allocator > const&)'
obj/bitcoinrpc.o: In function `backupwallet(std::vector, std::allocator > > >, std::allocator, std::allocator > > > > > const&, bool)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:1525: undefined reference to `BackupWallet(CWallet const&, std::basic_string, std::allocator > const&)'
obj/bitcoinrpc.o: In function `CallRPC(std::basic_string, std::allocator > const&, std::vector, std::allocator > > >, std::allocator, std::allocator > > > > > const&)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:2806: undefined reference to `_(char const*)'
obj/bitcoinrpc.o: In function `CAlert::AppliesToMe() const':
/usr/src/bitcoin/ppcoin-lukejr-git/src/main.h:1683: undefined reference to `CLIENT_NAME'
obj/bitcoinrpc.o: In function `listaccounts(std::vector, std::allocator > > >, std::allocator, std::allocator > > > > > const&, bool)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:1408: undefined reference to `CWalletDB::ListAccountCreditDebit(std::basic_string, std::allocator > const&, std::list >&)'
obj/bitcoinrpc.o: In function `GetAccountAddress(std::basic_string, std::allocator >, bool)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:419: undefined reference to `CWalletDB::ReadAccount(std::basic_string, std::allocator > const&, CAccount&)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:446: undefined reference to `CWalletDB::WriteAccount(std::basic_string, std::allocator > const&, CAccount const&)'
obj/bitcoinrpc.o: In function `movecmd(std::vector, std::allocator > > >, std::allocator, std::allocator > > > > > const&, bool)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:861: undefined reference to `CWalletDB::WriteAccountingEntry(CAccountingEntry const&)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:870: undefined reference to `CWalletDB::WriteAccountingEntry(CAccountingEntry const&)'
obj/bitcoinrpc.o: In function `ThreadRPCServer2(void*)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:2614: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:2627: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:2627: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:2627: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:2616: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:2648: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:2648: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:2648: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
obj/bitcoinrpc.o: In function `listtransactions(std::vector, std::allocator > > >, std::allocator, std::allocator > > > > > const&, bool)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/bitcoinrpc.cpp:1331: undefined reference to `CWalletDB::ListAccountCreditDebit(std::basic_string, std::allocator > const&, std::list >&)'
obj/rpcdump.o: In function `importprivkey(std::vector, std::allocator > > >, std::allocator, std::allocator > > > > > const&, bool)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/rpcdump.cpp:77: undefined reference to `MainFrameRepaint()'
obj/util.o: In function `FormatFullVersion()':
/usr/src/bitcoin/ppcoin-lukejr-git/src/util.cpp:1107: undefined reference to `CLIENT_BUILD'
obj/util.o: In function `AddTimeData(CNetAddr const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/util.cpp:1074: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/util.cpp:1077: undefined reference to `ThreadSafeMessageBox(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)'
obj/wallet.o: In function `CWallet::LoadWallet(bool&)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1427: undefined reference to `CWalletDB::LoadWallet(CWallet*)'
obj/wallet.o: In function `CreateThread':
/usr/src/bitcoin/ppcoin-lukejr-git/src/util.h:711: undefined reference to `ThreadFlushWalletDB(void*)'
obj/wallet.o: In function `CWallet::SetAddressBookName(CBitcoinAddress const&, std::basic_string, std::allocator > const&)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1452: undefined reference to `AddressBookRepaint()'
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1455: undefined reference to `CWalletDB::WriteName(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&)'
obj/wallet.o: In function `CWallet::AddToWallet(CWalletTx const&)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:390: undefined reference to `MainFrameRepaint()'
obj/wallet.o: In function `CWallet::DelAddressBookName(CBitcoinAddress const&)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1461: undefined reference to `AddressBookRepaint()'
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1464: undefined reference to `CWalletDB::EraseName(std::basic_string, std::allocator > const&)'
obj/wallet.o: In function `CWallet::CommitTransaction(CWalletTx&, CReserveKey&)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1357: undefined reference to `MainFrameRepaint()'
obj/wallet.o: In function `CWallet::SendMoney(CScript, long long, CWalletTx&, bool)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1377: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1385: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1371: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1398: undefined reference to `MainFrameRepaint()'
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1387: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1392: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1392: undefined reference to `ThreadSafeAskFee(long long, std::basic_string, std::allocator > const&)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1396: undefined reference to `_(char const*)'
obj/wallet.o: In function `CWallet::SendMoneyToBitcoinAddress(CBitcoinAddress const&, long long, CWalletTx&, bool)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1410: undefined reference to `_(char const*)'
/usr/src/bitcoin/ppcoin-lukejr-git/src/wallet.cpp:1408: undefined reference to `_(char const*)'
obj/irc.o: In function `CAddrMan::Add(CAddress const&, CNetAddr const&, long long)':
/usr/src/bitcoin/ppcoin-lukejr-git/src/addrman.h:417: undefined reference to `CAddrMan::Add_(CAddress const&, CNetAddr const&, long long)'
collect2: ld returned 1 exit status
make: *** [bitcoind] Error 1
-MarkM-