Would anybody be so kind as to help me with a mintcoin wallet compile issue?
I'm using the commandline to try and compile the unix version of the wallet on a Debian system. Everything compiles but I'm running into the following linker errors:
...
build/moc_repairwalletdialog.o build/qrc_bitcoin.o -L/usr/lib/x86_64-linux-gnu -lminiupnpc /home/mikech/github/Mintcoin-Desktop-Wallet/src/leveldb/libleveldb.a /home/mikech/github/Mintcoin-Desktop-Wallet/src/leveldb/libmemenv.a -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lpthread -lQtGui -lQtNetwork -lQtCore
build/init.o: In function `bool CDB::Read(std::string const&, CBlockLocator&)':
init.cpp:(.text._ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_[_ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_]+0x122): undefined reference to `Dbt::Dbt(void*, unsigned int)'
init.cpp:(.text._ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_[_ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_]+0x12e): undefined reference to `Dbt::Dbt()'
init.cpp:(.text._ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_[_ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_]+0x394): undefined reference to `Dbt::~Dbt()'
init.cpp:(.text._ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_[_ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_]+0x3a0): undefined reference to `Dbt::~Dbt()'
init.cpp:(.text._ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_[_ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_]+0x454): undefined reference to `Dbt::~Dbt()'
init.cpp:(.text._ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_[_ZN3CDB4ReadISs13CBlockLocatorEEbRKT_RT0_]+0x460): undefined reference to `Dbt::~Dbt()'
build/db.o: In function `CDBEnv::CDBEnv()':
db.cpp:(.text+0x38f): undefined reference to `DbEnv::DbEnv(unsigned int)'
build/db.o: In function `CDBEnv::EnvShutdown()':
db.cpp:(.text+0x12fb): undefined reference to `DbEnv::close(unsigned int)'
...
From what I've read on the web I need to change the version of my compiler to fix this issue but nowhere does anybody say what version of compiler is required. I'm currently running gcc 4.9.2. Can anybody tell me what version of compiler they are using to successfully compile the unix version of the wallet?
Thanks in Advance,
mchrist152
Ok, it turns out that it wasn't the version of the compiler after all but the way I compiled Berkeley DB. I had to add the following arguments to the Berkeley DB configure command:
../dist/configure --enable-cxx --disable-shared --with-pic
That did the trick. Seems like every time I post to this board I figure out the answer shortly there after.
So it built and it's running but it's not connecting to other nodes. I'm not sure why. It's running in a virtual machine so maybe there is something blocking it but other apps are having no problems. Any ideas?
I'm able to ping the peers in the debug.log file so I have connectivity at least. Here is an excerpt from my debug.log file:
them=76.21.26.146:12788, peer=76.21.26.146:12788
partner 76.21.26.146:12788 using obsolete version 60006; disconnecting
ProcessMessage(version, 101 bytes) FAILED
disconnecting node 76.21.26.146:12788
trying connection 76.21.26.146:12788 lastseen=0.0hrs
connected 76.21.26.146:12788
send version message: version 60007, blocks=0, us=76.76.70.110:12788, them=76.21.26.146:12788, peer=76.21.26.146:12788
partner 76.21.26.146:12788 using obsolete version 60006; disconnecting
ProcessMessage(version, 101 bytes) FAILED
disconnecting node 76.21.26.146:12788
what is meant by obsolete version 60006