After one day of efforts I finally managed to run ./configure without error, now I am so exhausted
that I just ask what this compile error could mean:
Please help me to find the error, so that I can compile bitcoin core on linux debian.
root@debian:/home/helena/bitcoin# make
Making all in src
make[1]: Entering directory '/home/helena/bitcoin/src'
make all-recursive
make[2]: Entering directory '/home/helena/bitcoin/src'
Making all in .
make[3]: Entering directory '/home/helena/bitcoin/src'
CXX init.o
init.cpp: In function ‘bool AppInit2(boost::thread_group&)’:
init.cpp:583:9: error: reference to ‘int64_t’ is ambiguous
int64_t n = 0;
^
In file included from /usr/include/x86_64-linux-gnu/bits/uio.h:25:0,
from /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h:38,
from /usr/include/x86_64-linux-gnu/bits/fcntl.h:61,
from /usr/include/fcntl.h:35,
from /usr/include/x86_64-linux-gnu/sys/fcntl.h:1,
from compat.h:31,
from netbase.h:12,
from addrman.h:8,
from init.cpp:12:
/usr/include/x86_64-linux-gnu/sys/types.h:197:1: note: candidates are: typedef long int int64_t
__intN_t (64, __DI__);
^
In file included from /usr/include/boost/date_time/compiler_config.hpp:54:0,
from /usr/include/boost/date_time/c_time.hpp:21,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/locks.hpp:12,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from allocators.h:13,
from serialize.h:9,
from netbase.h:13,
from addrman.h:8,
from init.cpp:12:
/usr/include/boost/cstdint.hpp:308:50: note: typedef boost::long_long_type boost::int64_t
typedef ::boost::long_long_type int64_t;
^
init.cpp:584:46: error: ‘n’ was not declared in this scope
if (ParseMoney(mapArgs["-mintxfee"], n) && n > 0)
^
init.cpp:591:9: error: reference to ‘int64_t’ is ambiguous
int64_t n = 0;
^
In file included from /usr/include/x86_64-linux-gnu/bits/uio.h:25:0,
from /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h:38,
from /usr/include/x86_64-linux-gnu/bits/fcntl.h:61,
from /usr/include/fcntl.h:35,
from /usr/include/x86_64-linux-gnu/sys/fcntl.h:1,
from compat.h:31,
from netbase.h:12,
from addrman.h:8,
from init.cpp:12:
/usr/include/x86_64-linux-gnu/sys/types.h:197:1: note: candidates are: typedef long int int64_t
__intN_t (64, __DI__);
^
In file included from /usr/include/boost/date_time/compiler_config.hpp:54:0,
from /usr/include/boost/date_time/c_time.hpp:21,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/locks.hpp:12,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from allocators.h:13,
from serialize.h:9,
from netbase.h:13,
from addrman.h:8,
from init.cpp:12:
/usr/include/boost/cstdint.hpp:308:50: note: typedef boost::long_long_type boost::int64_t
typedef ::boost::long_long_type int64_t;
^
init.cpp:592:51: error: ‘n’ was not declared in this scope
if (ParseMoney(mapArgs["-minrelaytxfee"], n) && n > 0)
^
init.cpp:650:5: error: reference to ‘int64_t’ is ambiguous
int64_t nStart;
^
In file included from /usr/include/x86_64-linux-gnu/bits/uio.h:25:0,
from /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h:38,
from /usr/include/x86_64-linux-gnu/bits/fcntl.h:61,
from /usr/include/fcntl.h:35,
from /usr/include/x86_64-linux-gnu/sys/fcntl.h:1,
from compat.h:31,
from netbase.h:12,
from addrman.h:8,
from init.cpp:12:
/usr/include/x86_64-linux-gnu/sys/types.h:197:1: note: candidates are: typedef long int int64_t
__intN_t (64, __DI__);
^
In file included from /usr/include/boost/date_time/compiler_config.hpp:54:0,
from /usr/include/boost/date_time/c_time.hpp:21,
from /usr/include/boost/date_time/time_clock.hpp:16,
from /usr/include/boost/thread/thread_time.hpp:9,
from /usr/include/boost/thread/locks.hpp:12,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from allocators.h:13,
from serialize.h:9,
from netbase.h:13,
from addrman.h:8,
from init.cpp:12:
/usr/include/boost/cstdint.hpp:308:50: note: typedef boost::long_long_type boost::int64_t
typedef ::boost::long_long_type int64_t;
^
init.cpp:846:9: error: ‘nStart’ was not declared in this scope
nStart = GetTimeMillis();
^
In file included from addrman.h:11:0,
from init.cpp:12:
init.cpp:925:58: error: ‘nStart’ was not declared in this scope
LogPrintf(" block index %15dms\n", GetTimeMillis() - nStart);
^
util.h:117:39: note: in definition of macro ‘LogPrintf’
#define LogPrintf(...) LogPrint(NULL, __VA_ARGS__)
^
Makefile:827: recipe for target 'init.o' failed
make[3]: *** [init.o] Error 1
make[3]: Leaving directory '/home/helena/bitcoin/src'
Makefile:849: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/helena/bitcoin/src'
Makefile:640: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/helena/bitcoin/src'
Makefile:498: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
root@debian:/home/helena/bitcoin#