diff options
author | Sriram Karra <karra.etc@gmail.com> | 2015-09-07 14:28:48 +0530 |
---|---|---|
committer | bitcoindev <bitcoindev@gnusha.org> | 2015-09-07 08:58:50 +0000 |
commit | 7bd201b0ca0ddd820ce97477d11db1377926ad2e (patch) | |
tree | b682fad63a4dd88d3f6e3f32134e7b92c9374346 /fe/dea9c70eca39562d630d1f5780d3469a085d9f | |
parent | c9f0e0efeb5275a14a24473ecc50937812a9a7d7 (diff) | |
download | pi-bitcoindev-7bd201b0ca0ddd820ce97477d11db1377926ad2e.tar.gz pi-bitcoindev-7bd201b0ca0ddd820ce97477d11db1377926ad2e.zip |
Re: [bitcoin-dev] Problem compiling bitcoin-core
Diffstat (limited to 'fe/dea9c70eca39562d630d1f5780d3469a085d9f')
-rw-r--r-- | fe/dea9c70eca39562d630d1f5780d3469a085d9f | 251 |
1 files changed, 251 insertions, 0 deletions
diff --git a/fe/dea9c70eca39562d630d1f5780d3469a085d9f b/fe/dea9c70eca39562d630d1f5780d3469a085d9f new file mode 100644 index 000000000..bfb422df7 --- /dev/null +++ b/fe/dea9c70eca39562d630d1f5780d3469a085d9f @@ -0,0 +1,251 @@ +Return-Path: <karra.etc@gmail.com> +Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org + [172.17.192.35]) + by mail.linuxfoundation.org (Postfix) with ESMTPS id 00E39103B + for <bitcoin-dev@lists.linuxfoundation.org>; + 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 <bitcoin-dev@lists.linuxfoundation.org>; + Mon, 7 Sep 2015 08:58:49 +0000 (UTC) +Received: by pacex6 with SMTP id ex6so91365883pac.0 + for <bitcoin-dev@lists.linuxfoundation.org>; + 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: <CAFkt3UPHa0PdhPMNt1FHqLnyGQqJ1Uhw+qK0QQLLZ3qid7rZ9Q@mail.gmail.com> +From: Sriram Karra <karra.etc@gmail.com> +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 <bitcoin-dev@lists.linuxfoundation.org> +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 <bitcoin-dev.lists.linuxfoundation.org> +List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, + <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe> +List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/> +List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org> +List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help> +List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, + <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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>(boost::filesystem::directory_entry +> const&, +> boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<boost::filesystem::directory_entry>::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<char, std::char_traits<char>, +> std::allocator<char> >&)' +> 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<char>::getline(std::__cxx11::basic_string<char, +> std::char_traits<char>, std::allocator<char> >&)': +> /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<char, +> std::char_traits<char>, std::allocator<char> > const&)' +> libbitcoin_util.a(libbitcoin_util_a-util.o): In function +> `boost::program_options::detail::basic_config_file_iterator<char>::basic_config_file_iterator(std::istream&, +> std::set<std::__cxx11::basic_string<char, std::char_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<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 reference to +> `boost::program_options::detail::common_config_file_iterator::common_config_file_iterator(std::set<std::__cxx11::basic_string<char, +> std::char_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<char, +> std::char_traits<char>, std::allocator<char> > > > 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 + +<div dir=3D"ltr"><div>Your problem is it cannot find your Boost libs. Why e= +xactly are you trying to build with a custom lib directory?<br><br></div><b= +r></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Sat, S= +ep 5, 2015 at 11:24 PM, LinuXperia via bitcoin-dev <span dir=3D"ltr"><<a= + href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bi= +tcoin-dev@lists.linuxfoundation.org</a>></span> wrote:<br><blockquote cl= +ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p= +adding-left:1ex">Hi.<br> +<br> +I am trying to compile bitcoin core on my ubuntu Linux machine as follow:<b= +r> +<br> +./autogen.sh<br> +<br> +./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<br> +<br> +make<br> +<br> +but i am getting always this Build Error message here!<br> +What i am doing wrong ?<br> +How can i fix this build problem so i am able to run the Bitcoin-core Node = +on my Machine ?<br> +<br> +Thanks in advance for your helpful solution tips!<br> +<br> +=C2=A0 =C2=A0CXXLD=C2=A0 =C2=A0 bitcoind<br> +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*)':<br> +/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> >&)'<br> +libbitcoin_util.a(libbitcoin_util_a-util.o): In function `GetNumCores()'= +;:<br> +/media/linuxperia/mydata/Projects/bitcoin/src/util.cpp:825: undefined refer= +ence to `boost::thread::physical_concurrency()'<br> +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> >&)':<br> +/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&= +;)'<br> +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)':<br> +/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)'<br> +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)':<br> +/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*)'<br> +collect2: error: ld returned 1 exit status<br> +Makefile:2620: recipe for target 'bitcoind' failed<br> +make[2]: *** [bitcoind] Error 1<br> +make[2]: Leaving directory '/media/linuxperia/mydata/Projects/bitcoin/s= +rc'<br> +Makefile:6559: recipe for target 'all-recursive' failed<br> +make[1]: *** [all-recursive] Error 1<br> +make[1]: Leaving directory '/media/linuxperia/mydata/Projects/bitcoin/s= +rc'<br> +Makefile:626: recipe for target 'all-recursive' failed<br> +make: *** [all-recursive] Error 1<br> +<br> +_______________________________________________<br> +bitcoin-dev mailing list<br> +<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">= +bitcoin-dev@lists.linuxfoundation.org</a><br> +<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" = +rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail= +man/listinfo/bitcoin-dev</a><br> +</blockquote></div><br></div> + +--047d7b0723ee31088f051f2475e7-- + |