Bitcoin Forum
July 31, 2024, 10:01:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Coin Compile - Help Needed,  (Read 1307 times)
rhkazani1 (OP)
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500



View Profile
July 29, 2014, 11:04:09 PM
Last edit: July 29, 2014, 11:28:42 PM by rhkazani1
 #1

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#compile

Everything works smooth, but as soon as i compile the wallet i get the above error.

Installing Boost (A Collection of C++ Libraries)
cd /usr/local/src
wget http://downloads.sourceforge.net/boost/boost_1_55_0.tar.bz2
bunzip2 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

rhkazani1 (OP)
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500



View Profile
July 30, 2014, 01:18:51 AM
 #2

No one?
AliceWonder
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
July 30, 2014, 01:27:08 AM
 #3

Read the docs. My guess is you are missing a devel package.

Devel packages are what will have the header files you need.

QuarkCoin - what I believe bitcoin was intended to be. On reddit: http://www.reddit.com/r/QuarkCoin/
rhkazani1 (OP)
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500



View Profile
July 30, 2014, 01:27:50 AM
 #4

Read the docs. My guess is you are missing a devel package.

Devel packages are what will have the header files you need.

Any liniks, i cant find it?
AliceWonder
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
July 30, 2014, 01:41:45 AM
 #5

https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md

QuarkCoin - what I believe bitcoin was intended to be. On reddit: http://www.reddit.com/r/QuarkCoin/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!