I can't build the file after running the following code:
make -f makefile.unix USE_UPNP=- USE_IPV6=0 USE_QRCODE=0 BDB_INCLUDE_PATH='/usr/include/db4.8'
Here is my compilation log:
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/netbase.d -o obj/netbase.o netbase.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/addrman.d -o obj/addrman.o addrman.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/crypter.d -o obj/crypter.o crypter.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/key.d -o obj/key.o key.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/db.d -o obj/db.o db.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/init.d -o obj/init.o init.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/irc.d -o obj/irc.o irc.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/keystore.d -o obj/keystore.o keystore.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/main.d -o obj/main.o main.cpp
main.cpp: In function âbool Reorganize(CTxDB&, CBlockIndex*)â:
main.cpp:1458:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
main.cpp: At global scope:
main.cpp:3316:21: warning: âunsigned int ScanHash_CryptoPP(char*, char*, char*, char*, unsigned int&)â defined but not used [-Wunused-function]
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/net.d -o obj/net.o net.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/protocol.d -o obj/protocol.o protocol.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/mincoinuser/mincoin/src -I/home/mincoinuser/mincoin/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/bitcoinrpc.d -o obj/bitcoinrpc.o bitcoinrpc.cpp
bitcoinrpc.cpp: In function âjson_spirit::Value listtxfromblock(const Array&, bool)â:
bitcoinrpc.cpp:1588:51: error: conversion from âlong long intâ to âconst Value_type {aka const json_spirit::Value_impl > >}â is ambiguous
bitcoinrpc.cpp:1588:51: note: candidates are:
In file included from json/json_spirit_reader_template.h:9:0,
from bitcoinrpc.h:14,
from bitcoinrpc.cpp:15:
json/json_spirit_value.h:283:5: note: json_spirit::Value_impl::Value_impl(double) [with Config = json_spirit::Config_vector >]
json/json_spirit_value.h:275:5: note: json_spirit::Value_impl::Value_impl(uint64_t) [with Config = json_spirit::Config_vector >; uint64_t = long unsigned int]
json/json_spirit_value.h:267:5: note: json_spirit::Value_impl::Value_impl(int64_t) [with Config = json_spirit::Config_vector >; int64_t = long int]
json/json_spirit_value.h:259:5: note: json_spirit::Value_impl::Value_impl(int) [with Config = json_spirit::Config_vector >]
json/json_spirit_value.h:251:5: note: json_spirit::Value_impl::Value_impl(bool) [with Config = json_spirit::Config_vector >]
json/json_spirit_value.h:219:5: note: json_spirit::Value_impl::Value_impl(json_spirit::Value_impl::Const_str_ptr) [with Config = json_spirit::Config_vector >; json_spirit::Value_impl::Const_str_ptr = const char*]
json/json_spirit_value.h:219:5: note: no known conversion for argument 1 from âlong long intâ to âjson_spirit::Value_impl > >::Const_str_ptr {aka const char*}â
json/json_spirit_value.h:439:5: error: initializing argument 2 of âjson_spirit::Pair_impl::Pair_impl(const String_type&, const Value_type&) [with Config = json_spirit::Config_vector >; json_spirit::Pair_impl::String_type = std::basic_string; json_spirit::Pair_impl::Value_type = json_spirit::Value_impl > >]â
bitcoinrpc.cpp:1556:18: warning: unused variable âpindexâ [-Wunused-variable]
bitcoinrpc.cpp:1557:9: warning: unused variable âtarget_confirmsâ [-Wunused-variable]
make: *** [obj/bitcoinrpc.o] Error 1
Any ideas?