How to compile cpuminer-opt miner on Debian 9.6 i386 (32bit miner)

edited January 22 in Mining

How to compile cpuminer-opt miner on Debian 9.6 i386 (32bit miner)

Download other miner
sudo apt-get install -y git
git clone https://github.com/bellflower2015/cpuminer-opt.git
cd cpuminer-opt

install dependencies for compile
sudo apt-get install -y automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++
sudo apt-get install -y zlib1g-dev
chmod +x build.sh

We remove the hodl algorithm. It causes an error when compiling on a 32 bit system.

in file Makefile.am delete string:
algo/hodl/aes.c \
algo/hodl/hodl-gate.c \
algo/hodl/hodl-wolf.c \
algo/hodl/sha512_avx.c \
algo/hodl/sha512_avx2.c \

in file algo-gate-api.c delete string:
case ALGO_HODL: register_hodl_algo ( gate ); break;

in file miner.h delete string:
ALGO_HODL,
"hodl",

./build.sh

Mining command:
./cpuminer -a yescryptr16 -o stratum+tcp://cpu-pool.com:63368 -u WALLET_ADDRESS

or (fast 1%)
./cpuminer -a yespowerr16 -o stratum+tcp://cpu-pool.com:63368 -u WALLET_ADDRESS

Sign In or Register to comment.