Lots of errors when compiling on CentOS, trying to figure out
what error's are you getting?
All the others steps are ok, but when I run the make, it cannot find the files in boost/*. There are no such directory and files
[root@abcxyz src]# make -f makefile.unix
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/memorycoin/src -I/root/memorycoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/root/memorycoin/src/leveldb/include -I/root/memorycoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:6:53: warning: boost/algorithm/string/classification.hpp: No such file or directory
alert.cpp:7:46: warning: boost/algorithm/string/replace.hpp: No such file or directory
alert.cpp:8:29: warning: boost/foreach.hpp: No such file or directory
In file included from alert.h:13,
from alert.cpp:11:
util.h:25:29: warning: boost/version.hpp: No such file or directory
util.h:26:28: warning: boost/thread.hpp: No such file or directory
util.h:27:32: warning: boost/filesystem.hpp: No such file or directory
util.h:28:37: warning: boost/filesystem/path.hpp: No such file or directory
util.h:29:57: warning: boost/date_time/gregorian/gregorian_types.hpp: No such file or directory
util.h:30:59: warning: boost/date_time/posix_time/posix_time_types.hpp: No such file or directory
In file included from netbase.h:10,
from util.h:32,
from alert.h:13,
from alert.cpp:11:
serialize.h:17:48: warning: boost/type_traits/is_fundamental.hpp: No such file or directory
serialize.h:18:33: warning: boost/tuple/tuple.hpp: No such file or directory
serialize.h:19:44: warning: boost/tuple/tuple_comparison.hpp: No such file or directory
serialize.h:20:36: warning: boost/tuple/tuple_io.hpp: No such file or directory
In file included from serialize.h:22,
from netbase.h:10,
from util.h:32,
from alert.h:13,
from alert.cpp:11:
allocators.h:10:34: warning: boost/thread/mutex.hpp: No such file or directory
In file included from alert.cpp:12:
key.h:16:49: warning: openssl/ec.h: No such file or directory
In file included from alert.cpp:13:
net.h:9:27: warning: boost/array.hpp: No such file or directory
In file included from addrman.h:10,
from net.h:21,
from alert.cpp:13:
sync.h:9:44: warning: boost/thread/recursive_mutex.hpp: No such file or directory
sync.h:10:34: warning: boost/thread/locks.hpp: No such file or directory
sync.h:11:47: warning: boost/thread/condition_variable.hpp: No such file or directory
In file included from alert.cpp:15:
ui_interface.h:10:37: warning: boost/signals2/signal.hpp: No such file or directory
ui_interface.h:11:41: warning: boost/signals2/last_value.hpp: No such file or directory
allocators.h:111: error: ‘boost’ has not been declared
allocators.h:111: error: ISO C++ forbids declaration of ‘mutex’ with no type
allocators.h:111: error: expected ‘;’ before ‘mutex’
allocators.h: In member function ‘void LockedPageManagerBase::LockRange(void*, size_t)’:
allocators.h:59: error: ‘boost’ has not been declared
allocators.h:59: error: expected `;' before ‘lock’
allocators.h: In member function ‘void LockedPageManagerBase::UnlockRange(void*, size_t)’:
allocators.h:82: error: ‘boost’ has not been declared
allocators.h:82: error: expected `;' before ‘lock’
allocators.h: In member function ‘int LockedPageManagerBase::GetLockedPageCount()’:
allocators.h:105: error: ‘boost’ has not been declared
allocators.h:105: error: expected `;' before ‘lock’
serialize.h: In function ‘uint64 ReadCompactSize(Stream&)’:
serialize.h:233: error: incomplete type ‘std::ios_base’ used in nested name specifier
serialize.h: At global scope:
serialize.h:375: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:375: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:376: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:376: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:378: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:378: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:379: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:379: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:381: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:381: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:382: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:382: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:396: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:396: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:397: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:397: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:398: error: ‘boost’ has not been declared
serialize.h:398: error: expected ‘,’ or ‘...’ before ‘<’ token
serialize.h:401: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:401: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:402: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:402: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:403: error: ‘boost’ has not been declared
serialize.h:403: error: expected ‘,’ or ‘...’ before ‘<’ token
serialize.h:479: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:479: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:485: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:485: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:485: error: redefinition of ‘template unsigned int GetSerializeSize_impl(const std::vector<_Tp, _Alloc>&, int, int, int)’
serialize.h:479: error: ‘template unsigned int GetSerializeSize_impl(const std::vector<_Tp, _Alloc>&, int, int, int)’ previously declared here
serialize.h: In function ‘unsigned int GetSerializeSize(const std::vector<_Tp, _Alloc>&, int, int)’:
serialize.h:496: error: ‘boost’ has not been declared
serialize.h:496: error: expected primary-expression before ‘>’ token
serialize.h:496: error: expected primary-expression before ‘)’ token
serialize.h: At global scope:
serialize.h:501: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:501: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:509: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:509: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:509: error: redefinition of ‘template void Serialize_impl(Stream&, const std::vector&, int, int, int)’
serialize.h:501: error: ‘template void Serialize_impl(Stream&, const std::vector&, int, int, int)’ previously declared here
serialize.h: In function ‘void Serialize(Stream&, const std::vector&, int, int)’:
serialize.h:519: error: ‘boost’ has not been declared
serialize.h:519: error: expected primary-expression before ‘>’ token
serialize.h:519: error: expected primary-expression before ‘)’ token
serialize.h: At global scope:
serialize.h:524: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:524: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:540: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:540: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h:540: error: redefinition of ‘template void Unserialize_impl(Stream&, std::vector&, int, int, int)’
serialize.h:524: error: ‘template void Unserialize_impl(Stream&, std::vector&, int, int, int)’ previously declared here
serialize.h: In function ‘void Unserialize(Stream&, std::vector&, int, int)’:
serialize.h:560: error: ‘boost’ has not been declared
serialize.h:560: error: expected primary-expression before ‘>’ token
serialize.h:560: error: expected primary-expression before ‘)’ token
serialize.h: At global scope:
serialize.h:616: error: expected ‘,’ or ‘...’ before ‘::’ token
serialize.h:616: error: ISO C++ forbids declaration of ‘boost’ with no type
serialize.h: In function ‘unsigned int GetSerializeSize(int)’:
serialize.h:619: error: ‘boost’ is not a class or namespace
serialize.h:619: error: ‘item’ was not declared in this scope
serialize.h:619: error: ‘nType’ was not declared in this scope
serialize.h:619: error: ‘nVersion’ was not declared in this scope
serialize.h:620: error: ‘boost’ is not a class or namespace
serialize.h:621: error: ‘boost’ is not a class or namespace