Post
Topic
Board Announcements (Altcoins)
Re: [ANN][ANC] Anoncoin (anoncoin.net) | Privacy-centric currency | I2P darknet
by
6436346346
on 27/06/2016, 06:01:31 UTC
so cryptopia is still on chain v0.8.5.1-132-g73a4219-beta, did you contact them?

Hi,

we have been unable to compile the new wallet, have spent a week trying, followed all the guides, tried every conceivable Linux version/combination, still never compiles and just returns an error

Code:
 ............
  CXX    libanoncoin_server_a-main.o
main.cpp: In function 'bool LoadBlockIndexDB()':
main.cpp:3109:32: error: 'BlockHashCorrectionMap' has no member named 'reserve'
main.cpp:3177:19: error: 'BlockMap' has no member named 'reserve'
main.cpp: In function 'bool ProcessMessage(CNode*, std::string, CDataStream&)':
main.cpp:4135:18: warning: unused variable 'fFromChanged' [-Wunused-variable]
main.cpp:4659:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[2]: *** [libanoncoin_server_a-main.o] Error 1
make[2]: Leaving directory `/root/anoncoin/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/anoncoin/src'
make: *** [all-recursive] Error 1


Any ideas?

Hi,

I have never seen this error before. Also there is nothing about the errors at 3109 and 3177 that I can find on the net about bitcoin.

Thus I tried to compile it again in a Mint 17.1 VM, after erasing all data and following https://wiki.anoncoin.net/How_to_build_Anoncoin_from_source#Ubuntu_64_bit_or_Debian_8

Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install g++ git automake
sudo apt-get install autoconf make libtool pkg-config libqt4-network libqtgui4

No problem with those. I did not execute this line: sudo apt-get install libboost-all-dev  git libdb++-dev libssl-dev

Code:
cd
git clone https://github.com/Anoncoin/anoncoin.git
cd anoncoin
./autogen.sh
cd depends
make -j`nproc`

I had an issue here with retrieving the libboost library from anoncoin.net... 404 not found ... had to retry 3 times then it downloaded it correctly.

Code:
dir
cd ..
./configure --prefix=`pwd`/depends/x86_64-unknown-linux-gnu
make -j`nproc`

No issues, anoncoind, anoncoin-qtc and all others were built correctly.

It seems your issue is occuring at the very early stage of the last make -j`nproc`.

Did you have any problem with the former make? During the build of the toolchain? Maybe the toolchain conflict with your dependencies?


BTW as a reminder, block 555555 is in 9 days so the hardfork will occur very soon, everybody shall update ASAP!

Ok, so the problem will be the anoncoin.net link, why is it contacting anoncoin.net for libboost?

Our wallet servers are locked down and cannot contact external sites, is this a custom build of libboost?

if this is a custom build can you please direct me to the source code so we can review it? I am not keen to download unreview code onto our wallet server.


Thanks