Everything seems fine until the following step:
./autogen.sh && ./configure && sudo make install -j 2
results in the following:
main.cpp: In function ‘bool ProcessMessage(CNode*, std::__cxx11::string, CDataStream&)’:
main.cpp:3967:13: error: ‘nHeight’ was not declared in this scope
if (nHeight > 1040000 && pfrom->nVersion < MIN_PEER_PROTO_VERSION)
^
Makefile:886: recipe for target 'main.o' failed
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/root/src/crowncoin/src'
Makefile:908: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/root/src/crowncoin/src'
Makefile:509: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
Dunno if this is the cause but then when I get to
./crowncoind
in the VPS6 section, it says no such file or directory.
Help appreciated! I've repeated all steps several times but always with the same result.
Where did you download this version of the wallet from?
I'm getting the same error. I cloned the git repository and the error occurs when compiling on Linux. I'm using Berkeley DB 5.3 instead of 4.8 on Debian 8, but I'm fairly sure that is not the problem.
It looks like the error could somehow be related to the last commit: https://github.com/Crowndev/crowncoin/commit/03c3669604dcba0751ff138bbeb9095182a89f21, the error message seems to refer to the block height. That said, I don't know if previous version compiled properly.
Maybe I'm doing something wrong, but I see I'm not the only one having this problem.