• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

dark coin cpuminer install failed on CentOS

heavenevil

New member
I did everything I could...

From another Fourum

Centos dependencies

su -c 'yum install gcc-c++ m4 openssl-devel db4-devel boost-devel git'


If you still get errors one of these might help you out:

Compiling OpenSSL (for CentOS users)

This step is only required if you’re using CentOS. Red Hat has removed support for elliptic curve cryptography from the OpenSSL it supplies.

Code:
cd
rm -rf openssl-1.0.1e.tar.gz openssl-1.0.1e
wget openssl-1.0.1e.tar.gz
tar xzvf openssl-1.0.1e.tar.gz
cd openssl-1.0.1e
./config shared --prefix=/usr/local --libdir=lib
make
sudo make install

Compiling miniupnpc (for CentOS users)

Code:
cd
rm -rf miniupnpc-1.6.20120509.tar.gz
wget miniupnpc-1.6.20120509.tar.gz
tar xzvf miniupnpc-1.6.20120509.tar.gz
cd miniupnpc-1.6.20120509
make
sudo INSTALLPREFIX=/usr/local make install

----------------------------------------------------------------------

Still get errors like


make all-recursive
make[1]: Entering directory `/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master'
Making all in compat
make[2]: Entering directory `/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat'
Making all in jansson
make[3]: Entering directory `/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat/jansson'
make[3]: Entering directory `/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat'
make[2]: Leaving directory `/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master/compat'
make[2]: Entering directory `/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -O3 -msse2 -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:25:
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:97: warning: assignment discards qualifiers from pointer target type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
make[2]: *** [minerd-xcoin.o] Error 1
make[2]: Leaving directory `/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home_local/lfan/test/darkcoin-cpuminer-1.2c-master/darkcoin-cpuminer-1.2c-master'
make: *** [all] Error 2

-------------------------------------------

Please help!
 
centos is a pain, you have my deeptest condolences.

next time, get some working distribution ;-)
 
Thanks, I tried that already. My original cpuminer works well, but the improved version for dark coin which has X11 algorithm failed like that.

:sad:, CentOS is my only choice since it my office desktop and I can not change the system.... And I only have Nvidia 8400GS which is a very very old video card and I failed on ccmainer as well....
 
Back
Top