Post
Topic
Board Mining (Italiano)
Re: minerd in redhat con X11
by
lukenukem
on 16/07/2014, 08:58:16 UTC
Ciao e grazie per la risposta...

...poche descrizioni perchè non ho trovato niente in giro e volevo sapere se qualcunaltro aveva provato.

in dettaglio


Ho scaricato il pacchetto darkcoin-cpuminer-1.3-avx-aes

e seguito le istruzioni di compilazione

./autogen.sh
./configure CFLAGS="-O3 -msse2 -msse3 -mssse3 -maes -mavx" 
make


Ho provato anche le opzioni di comp in nativo ./configure CFLAGS="-O3 -march=native" ma il risultato non cambia da errore di compilazione.

in particolare questo è lo step finale della compilazione

.....
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -I/usr/local/include   -O3 -march=native -MT minerd-xcoin.o -MD -MP -MF .deps/minerd-xcoin.Tpo -c -o minerd-xcoin.o `test -f 'xcoin.c' || echo './'`xcoin.c
In file included from xcoin.c:34:
x6/jh_sse2_opt64.h:32: error: redefinition of typedef ‘BitSequence’
x5/defs_x5.h:5: note: previous declaration of ‘BitSequence’ was here
x6/jh_sse2_opt64.h:33: error: redefinition of typedef ‘DataLength’
x5/defs_x5.h:6: note: previous declaration of ‘DataLength’ was here
xcoin.c: In function ‘Xhash’:
xcoin.c:154: warning: assignment discards qualifiers from pointer target type
xcoin.c:175: warning: right shift count >= width of type
xcoin.c:175: warning: right shift count >= width of type
xcoin.c:175: warning: right shift count >= width of type
xcoin.c:175: warning: right shift count >= width of type
make[2]: *** [minerd-xcoin.o] Error 1
make[2]: Leaving directory `/root/minerd/dark'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/minerd/dark'
make: *** [all] Error 2
....

copilato su una Red Hat Enterprise Linux Server release 6.4 (Santiago)

Premesso che la versione base di cpuminer (sia 2.4 che 2.3) va alla grande

Ciao