Post
Topic
Board Announcements (Altcoins)
Re: | ANN | Espers [ESP] | New Algo | New Features In Development | Reverse-ICO |
by
ZioTantra
on 21/05/2016, 18:46:21 UTC
Hi all,

I just need an help to understand this error during compiling.

I'm trying to compile the ocminer following this instructions on a Raspberry PI 2 :

sudo apt-get update -y
sudo apt-get -y install git automake gcc g++ libcurl4-openssl-dev libssl-dev make

git clone https://github.com/ocminer/cpuminer-hmq1725
cd cpuminer-hmq1725/
./autogen.sh
./configure --with-crypto --with-curl
make

After the make command, it starts to compile but gives me some error (italian language):

gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing -I./compat/jansson -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2  -Iyes/include -Iyes/include -MT algo/cpuminer-cryptonight.o -MD -MP -MF algo/.deps/cpuminer-cryptonight.Tpo -c -o algo/cpuminer-cryptonight.o `test -f 'algo/cryptonight.c' || echo './'`algo/cryptonight.c
algo/cryptonight.c:84:17: error: static declaration of ‘mul128’ follows non-static declaration
./crypto/int-util.h:54:17: note: previous declaration of ‘mul128’ was here
Makefile:1578: set di istruzioni per l'obiettivo "algo/cpuminer-cryptonight.o" non riuscito
make[2]: *** [algo/cpuminer-cryptonight.o] Errore 1
make[2]: uscita dalla directory "/root/cpuminer-hmq1725"
Makefile:2005: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/root/cpuminer-hmq1725"
Makefile:427: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2


Someone of you could give me some suggestion?
Thank you in advance
ZioTantra