Return-Path: <btcdrak@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 96F67E9B
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon,  7 Sep 2015 10:26:47 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com
	[209.85.212.171])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id DD7A113C
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon,  7 Sep 2015 10:26:46 +0000 (UTC)
Received: by wicge5 with SMTP id ge5so78621798wic.0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 07 Sep 2015 03:26:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=eN45EVnhILbFNblvTvczF+weUtf/X/VkkXZQscODoHQ=;
	b=Ax7gIR6IdspJQpsZmqJ4PNMxsWZBKCM3SsUZ6Ny10Bn6r826kpl9UES7p6TElziow9
	QlES5flgS2jGuqCgamwd/w8fnUXIxgg0hAWbYVxqHWmZkb1MPSATMlAwSdwUD7syg9yS
	xMK5L09AI+zajwe2ShLm8hdFAzvdnvaEXHN44HTkeAfrJLLSasX8MSrfq33xF9x+9GT3
	P2oUZnvseLm2im80lyap2fzoFNiJpbcBn13PzJfTct8sVep0BEdOTBO8u3acKdp/eq6Z
	fxtmjeiTkldVsK7TQDX32vj6gRFn5HaJhWQmtMXyV+eOcPjqAefe3rbDCq6UZc4BpPix
	oKfQ==
X-Received: by 10.180.105.196 with SMTP id go4mr29592406wib.36.1441621605520; 
	Mon, 07 Sep 2015 03:26:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.211.16 with HTTP; Mon, 7 Sep 2015 03:26:26 -0700 (PDT)
In-Reply-To: <CAFkt3UPHa0PdhPMNt1FHqLnyGQqJ1Uhw+qK0QQLLZ3qid7rZ9Q@mail.gmail.com>
References: <55EB2C6F.2030100@gmx.ch>
	<CAFkt3UPHa0PdhPMNt1FHqLnyGQqJ1Uhw+qK0QQLLZ3qid7rZ9Q@mail.gmail.com>
From: Btc Drak <btcdrak@gmail.com>
Date: Mon, 7 Sep 2015 11:26:26 +0100
Message-ID: <CADJgMzuqSQqs7p0JBC_U0GRN9z_RY-mvy5fDxYttbDZhFzieLg@mail.gmail.com>
To: Sriram Karra <karra.etc@gmail.com>
Content-Type: text/plain; charset=UTF-8
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HK_RANDOM_ENVFROM,
	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 10:26:47 -0000

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
>