I am having trouble compiling my windows wallet so i opened a bounty
i am getting this error
-isystem /mnt/mxe/usr/i686-w64-mingw32.static/include/openssl -I/mnt/mxe/usr/i686-w64-mingw32.static/qt5/include -I/mnt/mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I/mnt/mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I/mnt/mxe/usr/i686-w64-mingw32.static/qt5/include/QtNetwork -I/mnt/mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Ibuild -Ibuild -I/mnt/mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++ -o build/moc_masternodemanager.o build/moc_masternodemanager.cpp
i686-w64-mingw32.static-windres -i src/qt/res/bitcoin-qt.rc -o build/bitcoin-qt_res.o --include-dir=./src/qt/res -DUNICODE -DENABLE_WALLET -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUSE_UPNP=1 -DMINIUPNP_STATICLIB -DSTATICLIB -DWIN32 -D_MT -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN
i686-w64-mingw32.static-g++ -Wl,--dynamicbase -Wl,--nxcompat -static -static-libgcc -static-libstdc++ -Wl,-s -Wl,-subsystem,windows -mthreads -o release/Ganja-qt.exe object_script.Ganja-qt.Release -lmingwthrd -lmingw32 -L/mnt/mxe/usr/i686-w64-mingw32.static/qt5/lib /mnt/mxe/usr/i686-w64-mingw32.static/qt5/lib/libqtmain.a -L/mnt/mxe/usr/i686-w64-mingw32.static/lib -lminiupnpc /home/andre/Desktop/mnt/Ganja-master/src/leveldb/libleveldb.a /home/andre/Desktop/mnt/Ganja-master/src/leveldb/libmemenv.a -ldb_cxx -lmswsock -lsecp256k1 -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_thread_win32-mt -lboost_chrono-mt -L/mnt/mxe/usr/i686-w64-mingw32.static/qt5/plugins/platforms /mnt/mxe/usr/i686-w64-mingw32.static/qt5/plugins/platforms/libqwindows.a -lwinspool /mnt/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5EventDispatcherSupport.a -L/mnt/mxe/usr/i686-w64-mingw32.static/lib /mnt/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5AccessibilitySupport.a /mnt/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5FontDatabaseSupport.a /mnt/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5ThemeSupport.a -L/mnt/mxe/usr/i686-w64-mingw32.static/qt5/plugins/imageformats /mnt/mxe/usr/i686-w64-mingw32.static/qt5/plugins/imageformats/libqgif.a /mnt/mxe/usr/i686-w64-mingw32.static/qt5/plugins/imageformats/libqico.a /mnt/mxe/usr/i686-w64-mingw32.static/qt5/plugins/imageformats/libqjpeg.a -ljpeg -L/mnt/mxe/usr/i686-w64-mingw32.static/qt5/plugins/bearer /mnt/mxe/usr/i686-w64-mingw32.static/qt5/plugins/bearer/libqgenericbearer.a /mnt/mxe/usr/i686-w64-mingw32.static/qt5/plugins/bearer/libqnativewifibearer.a /mnt/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Widgets.a -luxtheme -ldwmapi /mnt/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Gui.a -lcomdlg32 -loleaut32 -limm32 -lopengl32 -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lusp10 -lmsimg32 -lpixman-1 -lffi -lexpat -lfreetype -lbz2 -lpng16 -lharfbuzz_too -lfreetype_too -lglib-2.0 -lshlwapi -lpcre -lintl -liconv /mnt/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Network.a -ldnsapi -liphlpapi -lssl -lcrypto -lgdi32 -lcrypt32 /mnt/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Core.a -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32 -lmpr -lversion -lwinmm -lz -lpcre2-16 build/bitcoin-qt_res.o
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x766): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x80a): undefined reference to `leveldb::WriteBatch::WriteBatch()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x951): undefined reference to `leveldb::WriteBatch::Iterate(leveldb::WriteBatch::Handler*) const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x986): undefined reference to `leveldb::WriteBatch::Handler::~Handler()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x9f6): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x133c): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x136d): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x1cbd): undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, leveldb::DB**)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x1d15): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x28f8): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x2cd2): undefined reference to `leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x2f14): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x3bd6): undefined reference to `leveldb::Options::Options()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x3c80): undefined reference to `leveldb::Options::Options()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x3cea): undefined reference to `leveldb::NewLRUCache(unsigned int)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x3cf9): undefined reference to `leveldb::NewBloomFilterPolicy(int)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x3d57): undefined reference to `leveldb::NewBloomFilterPolicy(int)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x41e7): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x519f): undefined reference to `leveldb::WriteBatch::Delete(leveldb::Slice const&)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x6bfd): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text+0x84e7): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN13CBatchScannerD1Ev[__ZN13CBatchScannerD1Ev]+0x25): undefined reference to `leveldb::WriteBatch::Handler::~Handler()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN13CBatchScannerD0Ev[__ZN13CBatchScannerD0Ev]+0x21): undefined reference to `leveldb::WriteBatch::Handler::~Handler()'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB4ReadINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEbRKT_RT0_[__ZN5CTxDB4ReadINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEbRKT_RT0_]+0x38a): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB4ReadINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256EEbRKT_RT0_[__ZN5CTxDB4ReadINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256EEbRKT_RT0_]+0x38a): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEbRKT_RKT0_[__ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEbRKT_RKT0_]+0x1f8): undefined reference to `leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEbRKT_RKT0_[__ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEbRKT_RKT0_]+0x425): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256E15CDiskBlockIndexEEbRKT_RKT0_[__ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256E15CDiskBlockIndexEEbRKT_RKT0_]+0x56f): undefined reference to `leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256E15CDiskBlockIndexEEbRKT_RKT0_[__ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256E15CDiskBlockIndexEEbRKT_RKT0_]+0x855): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB4ReadISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256E8CTxIndexEEbRKT_RT0_[__ZN5CTxDB4ReadISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256E8CTxIndexEEbRKT_RT0_]+0x571): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256EEbRKT_RKT0_[__ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256EEbRKT_RKT0_]+0x1ea): undefined reference to `leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256EEbRKT_RKT0_[__ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256EEbRKT_RKT0_]+0x415): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB4ReadINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7CBigNumEEbRKT_RT0_[__ZN5CTxDB4ReadINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7CBigNumEEbRKT_RT0_]+0x46a): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB12WriteVersionEi[__ZN5CTxDB12WriteVersionEi]+0x236): undefined reference to `leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB12WriteVersionEi[__ZN5CTxDB12WriteVersionEi]+0x475): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint160ESt6vectorI7uint256SaISB_EEEEbRKT_RKT0_[__ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint160ESt6vectorI7uint256SaISB_EEEEbRKT_RKT0_]+0x27a): undefined reference to `leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint160ESt6vectorI7uint256SaISB_EEEEbRKT_RKT0_[__ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint160ESt6vectorI7uint256SaISB_EEEEbRKT_RKT0_]+0x4a5): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7CBigNumEEbRKT_RKT0_[__ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7CBigNumEEbRKT_RKT0_]+0x280): undefined reference to `leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7CBigNumEEbRKT_RKT0_[__ZN5CTxDB5WriteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7CBigNumEEbRKT_RKT0_]+0x545): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256E8CTxIndexEEbRKT_RKT0_[__ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256E8CTxIndexEEbRKT_RKT0_]+0x28f): undefined reference to `leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256E8CTxIndexEEbRKT_RKT0_[__ZN5CTxDB5WriteISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint256E8CTxIndexEEbRKT_RKT0_]+0x505): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/txdb-leveldb.o:txdb-leveldb.cpp:(.text$_ZN5CTxDB4ReadISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint160ESt6vectorI7uint256SaISB_EEEEbRKT_RT0_[__ZN5CTxDB4ReadISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7uint160ESt6vectorI7uint256SaISB_EEEEbRKT_RT0_]+0x550): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
./build/key.o:key.cpp:(.text+0x181): undefined reference to `secp256k1_context_destroy'
./build/key.o:key.cpp:(.text+0x2ee): undefined reference to `secp256k1_ec_privkey_import'
./build/key.o:key.cpp:(.text+0x353): undefined reference to `secp256k1_ec_pubkey_create'
./build/key.o:key.cpp:(.text+0x48f): undefined reference to `secp256k1_ec_privkey_import'
./build/key.o:key.cpp:(.text+0x181b): undefined reference to `secp256k1_ec_pubkey_verify'
./build/key.o:key.cpp:(.text+0x1890): undefined reference to `secp256k1_ec_pubkey_decompress'
./build/key.o:key.cpp:(.text+0x1a83): undefined reference to `secp256k1_ec_pubkey_tweak_add'
./build/key.o:key.cpp:(.text+0x2ad6): undefined reference to `secp256k1_ec_privkey_tweak_add'
./build/key.o:key.cpp:(.text+0x32fa): undefined reference to `secp256k1_nonce_function_rfc6979'
./build/key.o:key.cpp:(.text+0x3337): undefined reference to `secp256k1_ecdsa_sign'
./build/key.o:key.cpp:(.text+0x39ac): undefined reference to `secp256k1_nonce_function_rfc6979'
./build/key.o:key.cpp:(.text+0x39e3): undefined reference to `secp256k1_ecdsa_sign_compact'
./build/key.o:key.cpp:(.text+0x3ea5): undefined reference to `secp256k1_ec_privkey_export'
./build/key.o:key.cpp:(.text.startup+0x30): undefined reference to `secp256k1_context_create'
./build/main.o:main.cpp:(.text+0x188bb): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/main.o:main.cpp:(.text+0x1a5c7): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/main.o:main.cpp:(.text+0x1b8a3): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/main.o:main.cpp:(.text$_ZN5CTxDBD1Ev[__ZN5CTxDBD1Ev]+0xe): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/miner.o:miner.cpp:(.text+0x5157): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/miner.o:miner.cpp:(.text+0x6461): more undefined references to `leveldb::WriteBatch::~WriteBatch()' follow
collect2: error: ld returned 1 exit status
Makefile.Release:537: recipe for target 'release/Ganja-qt.exe' failed
if you can figure it out then the coins are yours
source is in thread
https://bitcointalk.org/index.php?topic=1779543.660