I am trying to compile a coin source on Ubuntu and Debian and i am getting the same error,
Once i put in this command:
make -f makefile.unix USE_UPNP=-
I get the following:
/usr/local/include/boost/thread/detail/thread.hpp:180: undefined reference to `boost::thread::start_thread_noexcept()'
obj/walletdb.o: In function `operator/':
/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
obj/walletdb.o: In function `is_directory':
/usr/local/include/boost/filesystem/operations.hpp:294: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
obj/walletdb.o: In function `copy_file':
/usr/local/include/boost/filesystem/operations.hpp:381: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option::enum_type, boost::system::error_code*)'
obj/walletdb.o: In function `operator/=<std::basic_string<char> >':
/usr/local/include/boost/filesystem/path.hpp:302: undefined reference to `boost::filesystem::path::codecvt()'
obj/walletdb.o: In function `boost::filesystem::path& boost::filesystem::path::append<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::codecvt<wchar_t, char, __mbstate_t> const&)':
/usr/local/include/boost/filesystem/path.hpp:707: undefined reference to `boost::filesystem::path::m_append_separator_if_needed()'
/usr/local/include/boost/filesystem/path.hpp:710: undefined reference to `boost::filesystem::path::m_erase_redundant_separator(unsigned long)'
obj/leveldb.o: In function `create_directory':
/usr/local/include/boost/filesystem/operations.hpp:405: undefined reference to `boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)'
obj/txdb.o: In function `operator/':
/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
collect2: ld returned 1 exit status
make: *** [quatlood] Error 1
I was referring to the guide on github:
https://github.com/MPOS/php-mpos/wiki/Quick-Start-Guide#compileEverything works smooth, but as soon as i compile the wallet i get the above error.
I have also installed the following:
Installing Boost (A Collection of C++ Libraries)
cd /usr/local/src
wget
http://downloads.sourceforge.net/boost/boost_1_55_0.tar.bz2bunzip2 boost_1_55_0.tar.bz2
tar xf boost_1_55_0.tar
cd boost_1_55_0/
./bootstrap.sh --prefix=/usr/local
./b2 install --with=all
BerkeleyDB (A Library for High-Performance Database Functionality)
cd /usr/local/src
wget -qO-
http://download.oracle.com/berkeley-db/db-5.1.19.tar.gz | tar xz
cd db-5.1.19/build_unix
../dist/configure --prefix=/usr/local --enable-cxx
make && make install