Configuration

Add ccminer-Xevan to nvOC

full kudos to damNmad for this one!

Get the image file from the sourcecode location

wget https://github.com/krnlx/ccminer-xevan/archive/master.zip
unzip master.zip #you can rename or set location to ccminer-Xevan if you want
cd master
sudo bash build.sh

There can be 2 issues:

1. a fatal error -> ccminer.cpp:45:26: fatal error : cuda_runtime.h : no such file or directory
the fix is listed here
go to the directory where you unzipped to and do

sudo nano configure.sh

Change the last line to (or only change parameter –with-cuda and remove the 7.5) :

CUDA_CFLAGS="-O3 -lineno -Xcompiler -Wall -D_FORCE_INLINES" ./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/usr/local/cuda --with-nvml=libnvidia-ml.so

thanks to computerGenie and jayneL for this

2. bignum.hpp:491:47: error: cannot convert ‘CBigNum’ to ‘BIGNUM’
You will need to change the ssl version.

wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz
tar -xvzf openssl-1.0.1e.tar.gz
cp /usr/local/include/openssl/bn.h bn.h.backup
sudo cp openssl-1.0.1e/crypto/bn/bn.h /usr/local/include/openssl/

Now go to the xevan folder and do ./build.sh

IMPORTANT: you need to replace the new SSL with the old one again!!

cd /usr/local/include/openssl/
 sudo rm bn.h
 sudo cp bn.h.bkp bn.h

!Thanks to damNmad for this fix!

Leave a Reply

Your email address will not be published. Required fields are marked *

Powered by: Wordpress
%d bloggers like this: