public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [bitcoin-dev] Problem compiling bitcoin-core
@ 2015-09-05 17:54 LinuXperia
  2015-09-07  8:58 ` Sriram Karra
  0 siblings, 1 reply; 4+ messages in thread
From: LinuXperia @ 2015-09-05 17:54 UTC (permalink / raw)
  To: bitcoin-dev

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [bitcoin-dev] Problem compiling bitcoin-core
  2015-09-05 17:54 [bitcoin-dev] Problem compiling bitcoin-core LinuXperia
@ 2015-09-07  8:58 ` Sriram Karra
  2015-09-07 10:26   ` Btc Drak
  2015-09-07 18:35   ` LinuXperia
  0 siblings, 2 replies; 4+ messages in thread
From: Sriram Karra @ 2015-09-07  8:58 UTC (permalink / raw)
  To: linuxperia; +Cc: bitcoin-dev

[-- Attachment #1: Type: text/plain, Size: 4400 bytes --]

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
>

[-- Attachment #2: Type: text/html, Size: 5358 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [bitcoin-dev] Problem compiling bitcoin-core
  2015-09-07  8:58 ` Sriram Karra
@ 2015-09-07 10:26   ` Btc Drak
  2015-09-07 18:35   ` LinuXperia
  1 sibling, 0 replies; 4+ messages in thread
From: Btc Drak @ 2015-09-07 10:26 UTC (permalink / raw)
  To: Sriram Karra; +Cc: bitcoin-dev

I mailed the solution privately, but for the record he was using the
wrong build option which should have been --with-gui=no

On Mon, Sep 7, 2015 at 9:58 AM, Sriram Karra via bitcoin-dev
<bitcoin-dev@lists•linuxfoundation.org> wrote:
> 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
>
>
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists•linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [bitcoin-dev] Problem compiling bitcoin-core
  2015-09-07  8:58 ` Sriram Karra
  2015-09-07 10:26   ` Btc Drak
@ 2015-09-07 18:35   ` LinuXperia
  1 sibling, 0 replies; 4+ messages in thread
From: LinuXperia @ 2015-09-07 18:35 UTC (permalink / raw)
  Cc: bitcoin-dev

Am 07.09.2015 um 10:58 schrieb Sriram Karra:
> Your problem is it cannot find your Boost libs. Why exactly are you trying
> to build with a custom lib directory?
>

Hi Sriram !

Thank you very much for your Reply !

Yes you are right.

I did not had the right Configuration Options.

BTC Drake and ChinaTinte contacted me yesterday direct off the Mailing 
List after i posted the mail here and helped me to solve the Problem.

I got bitcoin-core finally builded from sources and running.

Big Compliments to everyone especially also to all the bitcoin developers.

Have all a nice Day.
Greetings LinuXperia



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-07 18:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-05 17:54 [bitcoin-dev] Problem compiling bitcoin-core LinuXperia
2015-09-07  8:58 ` Sriram Karra
2015-09-07 10:26   ` Btc Drak
2015-09-07 18:35   ` LinuXperia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox