Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dark coin cpuminer install failed on CentOS #10

Open
heavenevil opened this issue Feb 3, 2015 · 0 comments
Open

dark coin cpuminer install failed on CentOS #10

heavenevil opened this issue Feb 3, 2015 · 0 comments

Comments

@heavenevil
Copy link

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 forall'.
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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant