Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 00E39103B for ; Mon, 7 Sep 2015 08:58:50 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 4E116139 for ; Mon, 7 Sep 2015 08:58:49 +0000 (UTC) Received: by pacex6 with SMTP id ex6so91365883pac.0 for ; Mon, 07 Sep 2015 01:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rsUAiVPlrYFkOvKjDftQ2oDQGc9Mk6LIbqUwIFpWAsA=; b=oHTntH9vzbD9/iNp/fuDHpls4n1W+QKXuJYOfKAXZrbbotXKI564Xtml+ORy/Bw2v1 zwY+srWyVGS/IOtn5I4r5Uw8Fh7iwa9JDRPi1wqNoNYEPH4TB5/LIpuDP8f/rq7Ec8hU QHmh/XjzZvLZXdQpHNyoH1u2JeW7ePbxd57MHIHQpMHCT5ER6v/dKlli6a/4zSG4Gp3M ZyMvqXS2QDBLvCnbyDNJ5QVZXYrpNeFTIZjkifhQ/CeWJWMv1a5toAjsypAfwHfCE0BU ivrYtmFRmtsZ5c+mOoNKSQuTkI5frr4GwEhMXo1UQvZFy+Ab6SVZy5BHf6QGU1LahZB7 22dQ== MIME-Version: 1.0 X-Received: by 10.66.118.39 with SMTP id kj7mr43455215pab.115.1441616328981; Mon, 07 Sep 2015 01:58:48 -0700 (PDT) Received: by 10.66.150.233 with HTTP; Mon, 7 Sep 2015 01:58:48 -0700 (PDT) In-Reply-To: <55EB2C6F.2030100@gmx.ch> References: <55EB2C6F.2030100@gmx.ch> Date: Mon, 7 Sep 2015 14:28:48 +0530 Message-ID: From: Sriram Karra To: linuxperia@gmx.ch Content-Type: multipart/alternative; boundary=047d7b0723ee31088f051f2475e7 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: bitcoin-dev Subject: Re: [bitcoin-dev] Problem compiling bitcoin-core X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Development Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2015 08:58:50 -0000 --047d7b0723ee31088f051f2475e7 Content-Type: text/plain; charset=UTF-8 Your problem is it cannot find your Boost libs. Why exactly are you trying to build with a custom lib directory? On Sat, Sep 5, 2015 at 11:24 PM, LinuXperia via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > Hi. > > I am trying to compile bitcoin core on my ubuntu Linux machine as follow: > > ./autogen.sh > > ./configure > CPPFLAGS="-I/media/linuxperia/mydata/Projects/bitcoi/depends/x86_64-unknown-linux-gnu/include/ > -O2" > LDFLAGS="-L/media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/lib/" > --without-gui > > make > > but i am getting always this Build Error message here! > What i am doing wrong ? > How can i fix this build problem so i am able to run the Bitcoin-core Node > on my Machine ? > > Thanks in advance for your helpful solution tips! > > CXXLD bitcoind > libbitcoin_server.a(libbitcoin_server_a-init.o): In function > `boost::filesystem::path::path(boost::filesystem::directory_entry > const&, > boost::enable_if::type>, > void>::type*)': > /media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/include/boost/filesystem/path.hpp:140: > undefined reference to > `boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry > const&, std::__cxx11::basic_string, > std::allocator >&)' > libbitcoin_util.a(libbitcoin_util_a-util.o): In function `GetNumCores()': > /media/linuxperia/mydata/Projects/bitcoin/src/util.cpp:825: undefined > reference to `boost::thread::physical_concurrency()' > libbitcoin_util.a(libbitcoin_util_a-util.o): In function > `boost::program_options::detail::basic_config_file_iterator::getline(std::__cxx11::basic_string std::char_traits, std::allocator >&)': > /media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/include/boost/program_options/detail/config_file.hpp:161: > undefined reference to > `boost::program_options::to_internal(std::__cxx11::basic_string std::char_traits, std::allocator > const&)' > libbitcoin_util.a(libbitcoin_util_a-util.o): In function > `boost::program_options::detail::basic_config_file_iterator::basic_config_file_iterator(std::istream&, > std::set, > std::allocator >, std::less std::char_traits, std::allocator > >, > std::allocator, > std::allocator > > > const&, bool)': > /media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/include/boost/program_options/detail/config_file.hpp:145: > undefined reference to > `boost::program_options::detail::common_config_file_iterator::common_config_file_iterator(std::set std::char_traits, std::allocator >, > std::less, > std::allocator > >, std::allocator std::char_traits, std::allocator > > > const&, bool)' > libbitcoin_wallet.a(libbitcoin_wallet_a-walletdb.o): In function > `boost::filesystem::copy_file(boost::filesystem::path const&, > boost::filesystem::path const&, boost::filesystem::copy_option::enum_type)': > /media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/include/boost/filesystem/operations.hpp:497: > undefined reference to > `boost::filesystem::detail::copy_file(boost::filesystem::path const&, > boost::filesystem::path const&, boost::filesystem::detail::copy_option, > boost::system::error_code*)' > collect2: error: ld returned 1 exit status > Makefile:2620: recipe for target 'bitcoind' failed > make[2]: *** [bitcoind] Error 1 > make[2]: Leaving directory '/media/linuxperia/mydata/Projects/bitcoin/src' > Makefile:6559: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory '/media/linuxperia/mydata/Projects/bitcoin/src' > Makefile:626: recipe for target 'all-recursive' failed > make: *** [all-recursive] Error 1 > > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > --047d7b0723ee31088f051f2475e7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Your problem is it cannot find your Boost libs. Why e= xactly are you trying to build with a custom lib directory?


On Sat, S= ep 5, 2015 at 11:24 PM, LinuXperia via bitcoin-dev <bi= tcoin-dev@lists.linuxfoundation.org> wrote:
Hi.

I am trying to compile bitcoin core on my ubuntu Linux machine as follow:
./autogen.sh

./configure CPPFLAGS=3D"-I/media/linuxperia/mydata/Projects/bitcoi/dep= ends/x86_64-unknown-linux-gnu/include/ -O2" LDFLAGS=3D"-L/media/l= inuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/lib/&quo= t; --without-gui

make

but i am getting always this Build Error message here!
What i am doing wrong ?
How can i fix this build problem so i am able to run the Bitcoin-core Node = on my Machine ?

Thanks in advance for your helpful solution tips!

=C2=A0 =C2=A0CXXLD=C2=A0 =C2=A0 bitcoind
libbitcoin_server.a(libbitcoin_server_a-init.o): In function `boost::filesy= stem::path::path<boost::filesystem::directory_entry>(boost::filesyste= m::directory_entry const&, boost::enable_if<boost::filesystem::path_= traits::is_pathable<boost::decay<boost::filesystem::directory_entry&g= t;::type>, void>::type*)':
/media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/= include/boost/filesystem/path.hpp:140: undefined reference to `boost::files= ystem::path_traits::dispatch(boost::filesystem::directory_entry const&,= std::__cxx11::basic_string<char, std::char_traits<char>, std::all= ocator<char> >&)'
libbitcoin_util.a(libbitcoin_util_a-util.o): In function `GetNumCores()'= ;:
/media/linuxperia/mydata/Projects/bitcoin/src/util.cpp:825: undefined refer= ence to `boost::thread::physical_concurrency()'
libbitcoin_util.a(libbitcoin_util_a-util.o): In function `boost::program_op= tions::detail::basic_config_file_iterator<char>::getline(std::__cxx11= ::basic_string<char, std::char_traits<char>, std::allocator<cha= r> >&)':
/media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/= include/boost/program_options/detail/config_file.hpp:161: undefined referen= ce to `boost::program_options::to_internal(std::__cxx11::basic_string<ch= ar, std::char_traits<char>, std::allocator<char> > const&= ;)'
libbitcoin_util.a(libbitcoin_util_a-util.o): In function `boost::program_op= tions::detail::basic_config_file_iterator<char>::basic_config_file_it= erator(std::istream&, std::set<std::__cxx11::basic_string<char, s= td::char_traits<char>, std::allocator<char> >, std::less<= std::__cxx11::basic_string<char, std::char_traits<char>, std::allo= cator<char> > >, std::allocator<std::__cxx11::basic_string&l= t;char, std::char_traits<char>, std::allocator<char> > > = > const&, bool)':
/media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/= include/boost/program_options/detail/config_file.hpp:145: undefined referen= ce to `boost::program_options::detail::common_config_file_iterator::common_= config_file_iterator(std::set<std::__cxx11::basic_string<char, std::c= har_traits<char>, std::allocator<char> >, std::less<std::= __cxx11::basic_string<char, std::char_traits<char>, std::allocator= <char> > >, std::allocator<std::__cxx11::basic_string<cha= r, std::char_traits<char>, std::allocator<char> > > > = const&, bool)'
libbitcoin_wallet.a(libbitcoin_wallet_a-walletdb.o): In function `boost::fi= lesystem::copy_file(boost::filesystem::path const&, boost::filesystem::= path const&, boost::filesystem::copy_option::enum_type)':
/media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/= include/boost/filesystem/operations.hpp:497: undefined reference to `boost:= :filesystem::detail::copy_file(boost::filesystem::path const&, boost::f= ilesystem::path const&, boost::filesystem::detail::copy_option, boost::= system::error_code*)'
collect2: error: ld returned 1 exit status
Makefile:2620: recipe for target 'bitcoind' failed
make[2]: *** [bitcoind] Error 1
make[2]: Leaving directory '/media/linuxperia/mydata/Projects/bitcoin/s= rc'
Makefile:6559: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/linuxperia/mydata/Projects/bitcoin/s= rc'
Makefile:626: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

_______________________________________________
bitcoin-dev mailing list
= bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mail= man/listinfo/bitcoin-dev

--047d7b0723ee31088f051f2475e7--