Skip to content

Instantly share code, notes, and snippets.

@marcinwol
Created August 16, 2015 01:19
Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save marcinwol/073f7cff475b33e9c7bc to your computer and use it in GitHub Desktop.
Save marcinwol/073f7cff475b33e9c7bc to your computer and use it in GitHub Desktop.
Ubuntu 14:04: compile CPUMiner/minerd (forked by LucasJones & Wolf) for Monero mining
# get git to install it
sudo apt-get install git
# dependencies
sudo apt-get install build-essential autotools-dev autoconf libcurl3 libcurl4-gnutls-dev
# download latest version
git clone https://github.com/wolf9466/cpuminer-multi
cd cpuminer-multi/
# compile
./autogen.sh
CFLAGS="-march=native" ./configure
make
#install
sudo make install
@Litas-dev
Copy link

died

@KoryKor
Copy link

KoryKor commented Feb 20, 2018

Ребят, выручайте, нужно точно такой же Майнер, чтоб можно было вклеить его сюда sudo apt-get update
sudo apt-get -y install git make
automake gcc screen libcurl4-openssl-dev libmysqlclient-dev
sudo apt-get -y install git && sudo apt-get -y install build-essential autotools-dev autoconf libcurl3 libcurl4-gnutls-dev && git clone https://github.com/wolf9466/cpuminer-multi/ && cd cpuminer-multi/ && ./autogen.sh && CFLAGS="-march=native" && ./configure && sudo make install && nohup ./minerd -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u Email -p x

@esemi
Copy link

esemi commented Mar 14, 2018

А ты прикольный =)

@JoseAlmela
Copy link

JoseAlmela commented Mar 20, 2018

Hello everybody,
I get an unexpected compiling error:

In file included from cryptonight_aesni.c:2:0:
cryptonight.h:65:6: note: expected ‘uint64_t *’ but argument is of type ‘union hash_state *’
cryptonight_aesni.c:166:4: error: impossible register constraint in ‘asm’
cryptonight_aesni.c:222:1: error: impossible register constraint in ‘asm’
cryptonight_aesni.c:222:1: error: impossible register constraint in ‘asm’
cryptonight_aesni.c:166:4: error: impossible register constraint in ‘asm’
cryptonight_aesni.c:222:1: error: impossible register constraint in ‘asm’
cryptonight_aesni.c:222:1: error: impossible register constraint in ‘asm’
make[1]: *** [minerd-cryptonight_aesni.o] Error 1
make[1]: se sale del directorio `/home/pepe/cpuminer-multi'
make: *** [install-recursive] Error 1

All the previous steps went web (autogen, configure...).
Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment