Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross compile for Windows fails unless --disable-shared is passed to configure #165

Open
vertiond opened this issue Dec 16, 2021 · 0 comments

Comments

@vertiond
Copy link
Member

Unless --disable-shared is passed to ./configure, cross compiling for x86_64-w64-mingw32 will fail with the following error:

Note: when --disable-shared is passed and the build succeeds, libbitcoinconsensus-0.dll is not built.

  CXXLD    libbitcoinconsensus.la
  AR       libbitcoin_server.a
  AR       libbitcoin_wallet.a
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `NewGraph(long long, boost::filesystem::path const&, unsigned char*)':
/vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash_datfile.cpp:432: undefined reference to `fsbridge::fopen(boost::filesystem::path const&, char const*)'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash_datfile.cpp:438: undefined reference to `fsbridge::fopen(boost::filesystem::path const&, char const*)'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash_datfile.cpp:438: undefined reference to `fsbridge::fopen(boost::filesystem::path const&, char const*)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `__gthread_mutex_trylock':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:758: undefined reference to `__imp_pthread_mutex_trylock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:992: undefined reference to `boost::filesystem::path::codecvt()'
x86_64-w64-mingw32-ld: /vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:992: undefined reference to `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, int> const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `VerthashDatFile::CreateMiningDataFile()':
/vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash_datfile.cpp:476: undefined reference to `GetDataDir(bool)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `boost::filesystem::operator/(boost::filesystem::path const&, boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:800: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `boost::filesystem::exists(boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/operations.hpp:463: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: /vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/operations.hpp:463: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `boost::filesystem::exists(boost::filesystem::file_status)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/operations.hpp:337: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `LogPrintf<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >':
/vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:168: undefined reference to `LogInstance()'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `__gthread_mutex_lock':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:749: undefined reference to `__imp_pthread_mutex_lock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `__gthread_mutex_unlock':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:779: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `LogPrintf<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >':
/vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:176: undefined reference to `LogInstance()'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:176: undefined reference to `BCLog::Logger::LogPrintStr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `LogPrintf<>':
/vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:168: undefined reference to `LogInstance()'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:176: undefined reference to `LogInstance()'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:176: undefined reference to `BCLog::Logger::LogPrintStr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:168: undefined reference to `LogInstance()'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `__gthread_mutex_lock':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:749: undefined reference to `__imp_pthread_mutex_lock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `__gthread_mutex_unlock':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:779: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `LogPrintf<>':
/vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:176: undefined reference to `LogInstance()'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:176: undefined reference to `BCLog::Logger::LogPrintStr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `__gthread_mutex_unlock':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:779: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: /gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:779: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:1000: undefined reference to `boost::filesystem::path::codecvt()'
x86_64-w64-mingw32-ld: /vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:1000: undefined reference to `boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::codecvt<wchar_t, char, int> const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `__gnu_cxx::new_allocator<wchar_t>::~new_allocator()':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/ext/new_allocator.h:89: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_dispose()':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/bits/basic_string.h:231: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `__gnu_cxx::new_allocator<char>::~new_allocator()':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/ext/new_allocator.h:89: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:992: undefined reference to `boost::filesystem::path::codecvt()'
x86_64-w64-mingw32-ld: /vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:992: undefined reference to `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, int> const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `VerthashDatFile::DeleteMiningDataFile()':
/vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash_datfile.cpp:462: undefined reference to `GetDataDir(bool)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `boost::filesystem::operator/(boost::filesystem::path const&, boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:800: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `boost::filesystem::exists(boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/operations.hpp:463: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash_datfile.o: in function `boost::filesystem::remove(boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/operations.hpp:681: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:992: undefined reference to `boost::filesystem::path::codecvt()'
x86_64-w64-mingw32-ld: /vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:992: undefined reference to `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, int> const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `Verthash::Hash(char const*, char*)':
/vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash.cpp:109: undefined reference to `GetDataDir(bool)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `boost::filesystem::operator/(boost::filesystem::path const&, boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:800: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `boost::filesystem::exists(boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/operations.hpp:463: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `Verthash::Hash(char const*, char*)':
/vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash.cpp:113: undefined reference to `fsbridge::fopen(boost::filesystem::path const&, char const*)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:992: undefined reference to `boost::filesystem::path::codecvt()'
x86_64-w64-mingw32-ld: /vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:992: undefined reference to `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, int> const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `Verthash::LoadInRam()':
/vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash.cpp:59: undefined reference to `GetDataDir(bool)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `boost::filesystem::operator/(boost::filesystem::path const&, boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:800: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `boost::filesystem::exists(boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/operations.hpp:463: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `Verthash::LoadInRam()':
/vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash.cpp:63: undefined reference to `fsbridge::fopen(boost::filesystem::path const&, char const*)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:992: undefined reference to `boost::filesystem::path::codecvt()'
x86_64-w64-mingw32-ld: /vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:992: undefined reference to `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, int> const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `Verthash::VerifyDatFile()':
/vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash.cpp:32: undefined reference to `GetDataDir(bool)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `boost::filesystem::operator/(boost::filesystem::path const&, boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/path.hpp:800: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `boost::filesystem::exists(boost::filesystem::path const&)':
/vertcoin/depends/x86_64-w64-mingw32/share/../include/boost/filesystem/operations.hpp:463: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `Verthash::VerifyDatFile()':
/vertcoin/distsrc-x86_64-w64-mingw32/src/crypto/verthash.cpp:36: undefined reference to `fsbridge::fopen(boost::filesystem::path const&, char const*)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `LogPrintf<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >':
/vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:168: undefined reference to `LogInstance()'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `__gthread_mutex_lock':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:749: undefined reference to `__imp_pthread_mutex_lock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `__gthread_mutex_unlock':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:779: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `LogPrintf<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >':
/vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:176: undefined reference to `LogInstance()'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/./logging.h:176: undefined reference to `BCLog::Logger::LogPrintStr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
x86_64-w64-mingw32-ld: crypto/.libs/libbitcoinconsensus_la-verthash.o: in function `__gthread_mutex_unlock':
/gnu/store/if8q1s2fgygi5qj9vgqw231s7wcmr55g-gcc-cross-x86_64-w64-mingw32-9.3.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:779: undefined reference to `__imp_pthread_mutex_unlock'
x86_64-w64-mingw32-ld: primitives/.libs/libbitcoinconsensus_la-block.o: in function `CBlockHeader::GetPoWHash(int) const':
/vertcoin/distsrc-x86_64-w64-mingw32/src/primitives/block.cpp:25: undefined reference to `Params()'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/primitives/block.cpp:26: undefined reference to `Params()'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/primitives/block.cpp:27: undefined reference to `Params()'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/primitives/block.cpp:31: undefined reference to `Params()'
x86_64-w64-mingw32-ld: /vertcoin/distsrc-x86_64-w64-mingw32/src/primitives/block.cpp:35: undefined reference to `Params()'
x86_64-w64-mingw32-ld: primitives/.libs/libbitcoinconsensus_la-block.o:block.cpp:(.rdata$.refptr._ZN16CBaseChainParams7REGTESTB5cxx11E[.refptr._ZN16CBaseChainParams7REGTESTB5cxx11E]+0x0): undefined reference to `CBaseChainParams::REGTEST[abi:cxx11]'
x86_64-w64-mingw32-ld: primitives/.libs/libbitcoinconsensus_la-block.o:block.cpp:(.rdata$.refptr._ZN16CBaseChainParams4MAINB5cxx11E[.refptr._ZN16CBaseChainParams4MAINB5cxx11E]+0x0): undefined reference to `CBaseChainParams::MAIN[abi:cxx11]'
x86_64-w64-mingw32-ld: primitives/.libs/libbitcoinconsensus_la-block.o:block.cpp:(.rdata$.refptr._ZN16CBaseChainParams7TESTNETB5cxx11E[.refptr._ZN16CBaseChainParams7TESTNETB5cxx11E]+0x0): undefined reference to `CBaseChainParams::TESTNET[abi:cxx11]'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:8450: libbitcoinconsensus.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/vertcoin/distsrc-x86_64-w64-mingw32/src'
make[1]: *** [Makefile:19948: all-recursive] Error 1
make[1]: Leaving directory '/vertcoin/distsrc-x86_64-w64-mingw32/src'
make: *** [Makefile:803: all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant