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
|
Return-Path: <linuxperia@gmx.ch>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 081C4F64
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 5 Sep 2015 18:00:05 +0000 (UTC)
X-Greylist: delayed 00:05:06 by SQLgrey-1.7.6
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 4CEA9A1
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 5 Sep 2015 18:00:04 +0000 (UTC)
Received: from [192.168.1.121] ([80.254.182.249]) by mail.gmx.com (mrgmx001)
with ESMTPSA (Nemesis) id 0MHXXo-1ZXAgW0zCm-003PhE for
<bitcoin-dev@lists.linuxfoundation.org>; Sat, 05 Sep 2015 19:54:56 +0200
Reply-To: linuxperia@gmx.ch
To: bitcoin-dev@lists.linuxfoundation.org
From: LinuXperia <linuxperia@gmx.ch>
Message-ID: <55EB2C6F.2030100@gmx.ch>
Date: Sat, 5 Sep 2015 19:54:55 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.2.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:haE25vuxAM2h/stQSs1lyNlS9lmEWA4hi6PtAyb1jTUpLqLxhd0
TzO2hAhQHaohC0XQ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=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
Subject: [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: Sat, 05 Sep 2015 18:00:05 -0000
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
|