I compiled wallet, but I get this error:
C:/deps/boost_1_59_0/stage/lib\libboost_chrono-mgw49-mt-s-1_59.a(chrono.o): duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE]' has different size
./build\db.o:db.cpp:(.text+0x34e): undefined reference to `DbEnv::DbEnv(unsigned int)'
./build\db.o:db.cpp:(.text+0x729): undefined reference to `DbEnv::close(unsigned int)'
./build\db.o:db.cpp:(.text+0x753): undefined reference to `DbEnv::DbEnv(unsigned int)'
./build\db.o:db.cpp:(.text+0x769): undefined reference to `DbEnv::remove(char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x774): undefined reference to `DbEnv::~DbEnv()'
./build\db.o:db.cpp:(.text+0x784): undefined reference to `DbEnv::strerror(int)'
./build\db.o:db.cpp:(.text+0x7e3): undefined reference to `DbEnv::~DbEnv()'
./build\db.o:db.cpp:(.text+0x856): undefined reference to `DbEnv::~DbEnv()'
./build\db.o:db.cpp:(.text+0x8f0): undefined reference to `DbEnv::~DbEnv()'
./build\db.o:db.cpp:(.text+0xcc9): undefined reference to `DbEnv::set_lg_dir(char const*)'
./build\db.o:db.cpp:(.text+0xd1b): undefined reference to `DbEnv::set_cachesize(unsigned int, unsigned int, int)'
./build\db.o:db.cpp:(.text+0xd2c): undefined reference to `DbEnv::set_lg_bsize(unsigned int)'
./build\db.o:db.cpp:(.text+0xd3d): undefined reference to `DbEnv::set_lg_max(unsigned int)'
./build\db.o:db.cpp:(.text+0xd4e): undefined reference to `DbEnv::set_lk_max_locks(unsigned int)'
./build\db.o:db.cpp:(.text+0xd5f): undefined reference to `DbEnv::set_lk_max_objects(unsigned int)'
./build\db.o:db.cpp:(.text+0xd99): undefined reference to `DbEnv::set_errfile(_iobuf*)'
./build\db.o:db.cpp:(.text+0xdc6): undefined reference to `DbEnv::set_flags(unsigned int, int)'
./build\db.o:db.cpp:(.text+0xddf): undefined reference to `DbEnv::set_flags(unsigned int, int)'
./build\db.o:db.cpp:(.text+0xdf8): undefined reference to `DbEnv::log_set_config(unsigned int, int)'
./build\db.o:db.cpp:(.text+0xe25): undefined reference to `DbEnv::open(char const*, unsigned int, int)'
./build\db.o:db.cpp:(.text+0xfe4): undefined reference to `DbEnv::strerror(int)'
./build\db.o:db.cpp:(.text+0x15f0): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x17e3): undefined reference to `DbMpoolFile::set_flags(unsigned int, int)'
./build\db.o:db.cpp:(.text+0x1aa9): undefined reference to `DbEnv::set_cachesize(unsigned int, unsigned int, int)'
./build\db.o:db.cpp:(.text+0x1aba): undefined reference to `DbEnv::set_lg_bsize(unsigned int)'
./build\db.o:db.cpp:(.text+0x1acb): undefined reference to `DbEnv::set_lg_max(unsigned int)'
./build\db.o:db.cpp:(.text+0x1adc): undefined reference to `DbEnv::set_lk_max_locks(unsigned int)'
./build\db.o:db.cpp:(.text+0x1aed): undefined reference to `DbEnv::set_lk_max_objects(unsigned int)'
./build\db.o:db.cpp:(.text+0x1b06): undefined reference to `DbEnv::set_flags(unsigned int, int)'
./build\db.o:db.cpp:(.text+0x1b1f): undefined reference to `DbEnv::log_set_config(unsigned int, int)'
./build\db.o:db.cpp:(.text+0x1b40): undefined reference to `DbEnv::open(char const*, unsigned int, int)'
./build\db.o:db.cpp:(.text+0x1d3c): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x1d63): undefined reference to `Db::verify(char const*, char const*, std::ostream*, unsigned int)'
./build\db.o:db.cpp:(.text+0x1db7): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x1e6e): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x1f7e): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x1fa7): undefined reference to `Db::verify(char const*, char const*, std::ostream*, unsigned int)'
./build\db.o:db.cpp:(.text+0x1ff7): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x252a): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x269d): undefined reference to `DbTxn::abort()'
./build\db.o:db.cpp:(.text+0x26d5): undefined reference to `DbEnv::txn_checkpoint(unsigned int, unsigned int, unsigned int)'
./build\db.o:db.cpp:(.text+0x2864): undefined reference to `DbEnv::txn_checkpoint(unsigned int, unsigned int, unsigned int)'
./build\db.o:db.cpp:(.text+0x2885): undefined reference to `DbEnv::lsn_reset(char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x2920): undefined reference to `DbEnv::dbremove(DbTxn*, char const*, char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x2bbc): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x2d2d): undefined reference to `Dbt::Dbt()'
./build\db.o:db.cpp:(.text+0x2d35): undefined reference to `Dbt::Dbt()'
./build\db.o:db.cpp:(.text+0x2d69): undefined reference to `Dbc::get(Dbt*, Dbt*, unsigned int)'
./build\db.o:db.cpp:(.text+0x2e76): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x2e81): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x304e): undefined reference to `Dbt::Dbt(void*, unsigned int)'
./build\db.o:db.cpp:(.text+0x307b): undefined reference to `Dbt::Dbt(void*, unsigned int)'
./build\db.o:db.cpp:(.text+0x30bb): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x30c6): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x3177): undefined reference to `Dbc::close()'
./build\db.o:db.cpp:(.text+0x3286): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x32ac): undefined reference to `Db::remove(char const*, char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x32c8): undefined reference to `Db::Db(DbEnv*, unsigned int)'
./build\db.o:db.cpp:(.text+0x32f5): undefined reference to `Db::rename(char const*, char const*, char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x3306): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x3311): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x332b): undefined reference to `Dbc::close()'
./build\db.o:db.cpp:(.text+0x33b6): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x33c1): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x34e5): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x34f0): undefined reference to `Dbt::~Dbt()'
./build\db.o:db.cpp:(.text+0x3514): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x3523): undefined reference to `Db::~Db()'
./build\db.o:db.cpp:(.text+0x3896): undefined reference to `DbEnv::txn_checkpoint(unsigned int, unsigned int, unsigned int)'
./build\db.o:db.cpp:(.text+0x38d2): undefined reference to `DbEnv::lsn_reset(char const*, unsigned int)'
./build\db.o:db.cpp:(.text+0x3adf): undefined reference to `DbEnv::log_archive(char***, unsigned int)'
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: ./build\db.o: bad reloc address 0x348 in section `.rdata'
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status