summaryrefslogtreecommitdiff
path: root/fe/dea9c70eca39562d630d1f5780d3469a085d9f
blob: bfb422df72281db58707ac1f32bfe1961ed25f19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
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">&lt;<a=
 href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bi=
tcoin-dev@lists.linuxfoundation.org</a>&gt;</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&quot;-I/media/linuxperia/mydata/Projects/bitcoi/dep=
ends/x86_64-unknown-linux-gnu/include/ -O2&quot; LDFLAGS=3D&quot;-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&lt;boost::filesystem::directory_entry&gt;(boost::filesyste=
m::directory_entry const&amp;, boost::enable_if&lt;boost::filesystem::path_=
traits::is_pathable&lt;boost::decay&lt;boost::filesystem::directory_entry&g=
t;::type&gt;, void&gt;::type*)&#39;:<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&amp;,=
 std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::all=
ocator&lt;char&gt; &gt;&amp;)&#39;<br>
libbitcoin_util.a(libbitcoin_util_a-util.o): In function `GetNumCores()&#39=
;:<br>
/media/linuxperia/mydata/Projects/bitcoin/src/util.cpp:825: undefined refer=
ence to `boost::thread::physical_concurrency()&#39;<br>
libbitcoin_util.a(libbitcoin_util_a-util.o): In function `boost::program_op=
tions::detail::basic_config_file_iterator&lt;char&gt;::getline(std::__cxx11=
::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;cha=
r&gt; &gt;&amp;)&#39;:<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&lt;ch=
ar, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp=
;)&#39;<br>
libbitcoin_util.a(libbitcoin_util_a-util.o): In function `boost::program_op=
tions::detail::basic_config_file_iterator&lt;char&gt;::basic_config_file_it=
erator(std::istream&amp;, std::set&lt;std::__cxx11::basic_string&lt;char, s=
td::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;, std::less&lt;=
std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allo=
cator&lt;char&gt; &gt; &gt;, std::allocator&lt;std::__cxx11::basic_string&l=
t;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; =
&gt; const&amp;, bool)&#39;:<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&lt;std::__cxx11::basic_string&lt;char, std::c=
har_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;, std::less&lt;std::=
__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator=
&lt;char&gt; &gt; &gt;, std::allocator&lt;std::__cxx11::basic_string&lt;cha=
r, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt; =
const&amp;, bool)&#39;<br>
libbitcoin_wallet.a(libbitcoin_wallet_a-walletdb.o): In function `boost::fi=
lesystem::copy_file(boost::filesystem::path const&amp;, boost::filesystem::=
path const&amp;, boost::filesystem::copy_option::enum_type)&#39;:<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&amp;, boost::f=
ilesystem::path const&amp;, boost::filesystem::detail::copy_option, boost::=
system::error_code*)&#39;<br>
collect2: error: ld returned 1 exit status<br>
Makefile:2620: recipe for target &#39;bitcoind&#39; failed<br>
make[2]: *** [bitcoind] Error 1<br>
make[2]: Leaving directory &#39;/media/linuxperia/mydata/Projects/bitcoin/s=
rc&#39;<br>
Makefile:6559: recipe for target &#39;all-recursive&#39; failed<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory &#39;/media/linuxperia/mydata/Projects/bitcoin/s=
rc&#39;<br>
Makefile:626: recipe for target &#39;all-recursive&#39; 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--