Bitcoin Forum
November 05, 2024, 02:56:30 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: Digital Ocean Monero Pool Mining Guide! CPU only! [MRO] Cryptonight Algo!  (Read 18666 times)
Molet
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
February 19, 2015, 03:04:47 PM
 #41

This should work.

sudo apt-get update && sudo apt-get install git make automake screen libcurl4-openssl-dev

git clone https://github.com/wolf9466/cpuminer-multi
(This is wolfs miner which is more efficient than Lucas one)
thx  Smiley

Quote
(I assume you know how screen works)
yes  Wink

Quote
Also, have in mind that this is for Ubuntu. I have tried it in Debian and i had problems with gcc i think. Ultimately i fixed it but i dont remember right now. Anyway if you get an error ask away...
I will try and tell you the result
Molet
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
February 20, 2015, 08:00:04 AM
 #42

Quote
This should work.

sudo apt-get update && sudo apt-get install git make automake screen libcurl4-openssl-dev

git clone https://github.com/wolf9466/cpuminer-multi
(This is wolfs miner which is more efficient than Lucas one)

not work  Sad

my system
Quote
root@BDServer:/home/user_miner/cpuminer-multi# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.8 (wheezy)
Release:        7.8
Codename:       wheezy

"make" log
Code:
root@BDServer:/home/user_miner/cpuminer-multi# make
make  all-recursive
make[1]: Entering directory `/home/user_miner/cpuminer-multi'
Making all in compat
make[2]: Entering directory `/home/user_miner/cpuminer-multi/compat'
Making all in jansson
make[3]: Entering directory `/home/user_miner/cpuminer-multi/compat/jansson'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -march=native -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c
mv -f .deps/dump.Tpo .deps/dump.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -march=native -MT hashtable.o -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.o hashtable.c
mv -f .deps/hashtable.Tpo .deps/hashtable.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -march=native -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c
mv -f .deps/load.Tpo .deps/load.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -march=native -MT strbuffer.o -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.o strbuffer.c
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -march=native -MT utf.o -MD -MP -MF .deps/utf.Tpo -c -o utf.o utf.c
mv -f .deps/utf.Tpo .deps/utf.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -march=native -MT value.o -MD -MP -MF .deps/value.Tpo -c -o value.o value.c
mv -f .deps/value.Tpo .deps/value.Po
rm -f libjansson.a
ar cru libjansson.a dump.o hashtable.o load.o strbuffer.o utf.o value.o
ranlib libjansson.a
make[3]: Leaving directory `/home/user_miner/cpuminer-multi/compat/jansson'
make[3]: Entering directory `/home/user_miner/cpuminer-multi/compat'
make[3]: Цeль `all-am' нe тpeбyeт выпoлнeния кoмaнд.
make[3]: Leaving directory `/home/user_miner/cpuminer-multi/compat'
make[2]: Leaving directory `/home/user_miner/cpuminer-multi/compat'
make[2]: Entering directory `/home/user_miner/cpuminer-multi'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -pthread -I./compat/jansson   -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16  -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -maes  -march=native -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
mv -f .deps/minerd-cpu-miner.Tpo .deps/minerd-cpu-miner.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -pthread -I./compat/jansson   -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16  -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -maes  -march=native -MT minerd-util.o -MD -MP -MF .deps/minerd-util.Tpo -c -o minerd-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/minerd-util.Tpo .deps/minerd-util.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -pthread -I./compat/jansson   -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16  -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -maes  -march=native -MT minerd-cryptonight_common.o -MD -MP -MF .deps/minerd-cryptonight_common.Tpo -c -o minerd-cryptonight_common.o `test -f 'cryptonight_common.c' || echo './'`cryptonight_common.c
mv -f .deps/minerd-cryptonight_common.Tpo .deps/minerd-cryptonight_common.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -pthread -I./compat/jansson   -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16  -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -maes  -march=native -MT crypto/minerd-c_keccak.o -MD -MP -MF crypto/.deps/minerd-c_keccak.Tpo -c -o crypto/minerd-c_keccak.o `test -f 'crypto/c_keccak.c' || echo './'`crypto/c_keccak.c
crypto/c_keccak.c: In function ‘keccak’:
crypto/c_keccak.c:102:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
crypto/c_keccak.c:102:5: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
crypto/c_keccak.c:111:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
crypto/c_keccak.c:111:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
mv -f crypto/.deps/minerd-c_keccak.Tpo crypto/.deps/minerd-c_keccak.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -pthread -I./compat/jansson   -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16  -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -maes  -march=native -MT crypto/minerd-c_groestl.o -MD -MP -MF crypto/.deps/minerd-c_groestl.Tpo -c -o crypto/minerd-c_groestl.o `test -f 'crypto/c_groestl.c' || echo './'`crypto/c_groestl.c
mv -f crypto/.deps/minerd-c_groestl.Tpo crypto/.deps/minerd-c_groestl.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -pthread -I./compat/jansson   -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16  -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -maes  -march=native -MT crypto/minerd-c_blake256.o -MD -MP -MF crypto/.deps/minerd-c_blake256.Tpo -c -o crypto/minerd-c_blake256.o `test -f 'crypto/c_blake256.c' || echo './'`crypto/c_blake256.c
mv -f crypto/.deps/minerd-c_blake256.Tpo crypto/.deps/minerd-c_blake256.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -pthread -I./compat/jansson   -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16  -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -maes  -march=native -MT crypto/minerd-c_jh.o -MD -MP -MF crypto/.deps/minerd-c_jh.Tpo -c -o crypto/minerd-c_jh.o `test -f 'crypto/c_jh.c' || echo './'`crypto/c_jh.c
mv -f crypto/.deps/minerd-c_jh.Tpo crypto/.deps/minerd-c_jh.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -pthread -I./compat/jansson   -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16  -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -maes  -march=native -MT crypto/minerd-c_skein.o -MD -MP -MF crypto/.deps/minerd-c_skein.Tpo -c -o crypto/minerd-c_skein.o `test -f 'crypto/c_skein.c' || echo './'`crypto/c_skein.c
mv -f crypto/.deps/minerd-c_skein.Tpo crypto/.deps/minerd-c_skein.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -pthread -I./compat/jansson   -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16  -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -maes  -march=native -MT minerd-cryptonight_aesni.o -MD -MP -MF .deps/minerd-cryptonight_aesni.Tpo -c -o minerd-cryptonight_aesni.o `test -f 'cryptonight_aesni.c' || echo './'`cryptonight_aesni.c
In file included from cryptonight.h:6:0,
                 from cryptonight_aesni.c:2:
miner.h:188:58: warning: ‘struct cryptonight_ctx’ declared inside parameter list [enabled by default]
cryptonight_aesni.c: In function ‘cryptonight_hash_ctx’:
cryptonight_aesni.c:90:2: warning: passing argument 3 of ‘keccak’ from incompatible pointer type [enabled by default]
In file included from cryptonight_aesni.c:2:0:
cryptonight.h:64:6: note: expected ‘uint8_t *’ but argument is of type ‘union hash_state *’
cryptonight_aesni.c:94:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
cryptonight_aesni.c:94:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
cryptonight_aesni.c:172:18: warning: initialization from incompatible pointer type [enabled by default]
cryptonight_aesni.c:215:2: warning: passing argument 1 of ‘keccakf’ from incompatible pointer type [enabled by default]
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:162:4: error: impossible register constraint in ‘asm’
cryptonight_aesni.c:217:1: error: impossible register constraint in ‘asm’
cryptonight_aesni.c:217:1: error: impossible register constraint in ‘asm’
cryptonight_aesni.c:162:4: error: impossible register constraint in ‘asm’
cryptonight_aesni.c:217:1: error: impossible register constraint in ‘asm’
cryptonight_aesni.c:217:1: error: impossible register constraint in ‘asm’
make[2]: *** [minerd-cryptonight_aesni.o] Error 1
make[2]: Leaving directory `/home/user_miner/cpuminer-multi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user_miner/cpuminer-multi'
make: *** [all] Error 2

Go to a Wolf0 topic
forevernoob
Hero Member
*****
Offline Offline

Activity: 687
Merit: 500



View Profile
February 21, 2015, 12:16:43 AM
 #43

Could you post output of ./configure ?

GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
February 21, 2015, 12:20:08 AM
 #44

Could you post output of ./configure ?

His problem was that he had a  32-bit system...
DurrMinerNoob
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
May 09, 2016, 11:38:33 AM
 #45

Hi guys, as my name suggests, I am new to Monero mining (and coding generally). I have followed GreekBitcoin's guide and it seems to be working perfectly fine. However, I use minergate, and apparently, I cannot connect the digitalocean cloud mining to my current account which I use. Is there any code that I can key in so that I can link the digitalocean mining to my own account that I have already registered? Thanks and sorry for posting on such an outdated thread!
GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
May 09, 2016, 11:59:32 AM
 #46

Hi guys, as my name suggests, I am new to Monero mining (and coding generally). I have followed GreekBitcoin's guide and it seems to be working perfectly fine. However, I use minergate, and apparently, I cannot connect the digitalocean cloud mining to my current account which I use. Is there any code that I can key in so that I can link the digitalocean mining to my own account that I have already registered? Thanks and sorry for posting on such an outdated thread!

This thread is too outdated. Also if i recall correctly the miner this guide use is not efficient enough.

I cannot understand what you mask.

Finally dont use Minergate. It is bad.
DurrMinerNoob
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
May 10, 2016, 11:22:40 AM
 #47

OK. I have the miner working OK with digitalocean but error came out when using interserver.net
Code:
root@miner1:~/cpuminer-multi# CFLAGS="-march=native" ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/cpuminer-multi/cpuminer-multi':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
root@miner1:~/cpuminer-multi# make
make: *** No targets specified and no makefile found.  Stop.
Any fixes to that? Everything before the codes in here works ok, and on digitalocean all codes ok too
GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
May 12, 2016, 12:51:40 AM
 #48

First of all use this mine: https://github.com/wolf9466/cpuminer-multi

so it should be:

sudo apt-get update && sudo apt-get install git make automake screen libcurl4-openssl-dev

git clone https://github.com/wolf9466/cpuminer-multi

cd cpuminer-multi

./autogen.sh

CFLAGS="-march=native" ./configure

make



Btw you probably have a cpuminer-multi folder already so delete with rm -rf cpuminer-multi in order to download the new miner.

justuser
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 19, 2017, 10:39:01 AM
 #49

Hello, I try to install cryptonote daemon
How to fix this problem?

Code:
./configure: line 5668: syntax error near unexpected token `,'                                                                                                
./configure: line 5668: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'
                                                                                                   


Here is log file, g++ version - 4.8.5
justuser
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 19, 2017, 11:09:25 AM
 #50

Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by cpuminer configure 2.3.3, which was
generated by GNU Autoconf 2.69.  Invocation command line was
  $ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = node11.isp.hyperhost.ua
uname -m = x86_64
uname -r = 3.10.0-427.36.1.lve1.4.44.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Sun Apr 2 11:56:48 EDT 2017
/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown
/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2330: checking build system type
configure:2344: result: x86_64-unknown-linux-gnu
configure:2364: checking host system type
configure:2377: result: x86_64-unknown-linux-gnu
configure:2397: checking target system type
configure:2410: result: x86_64-unknown-linux-gnu
configure:2453: checking for a BSD-compatible install
configure:2521: result: /bin/install -c
configure:2532: checking whether build environment is sane
configure:2587: result: yes
configure:2738: checking for a thread-safe mkdir -p
configure:2777: result: /bin/mkdir -p
configure:2784: checking for gawk
configure:2800: found /bin/gawk
configure:2811: result: gawk
configure:2822: checking whether make sets $(MAKE)
configure:2844: result: yes
configure:2873: checking whether make supports nested variables
configure:2890: result: yes
configure:2978: checking whether to enable maintainer-specific portions of Makefiles
configure:2987: result: no
configure:3015: checking for style of include used by make
configure:3043: result: GNU
configure:3114: checking for gcc
configure:3130: found /bin/gcc
configure:3141: result: gcc
configure:3370: checking for C compiler version
configure:3379: gcc --version >&5
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3390: $? = 0
configure:3379: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC)
configure:3390: $? = 0
configure:3379: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3390: $? = 4
configure:3379: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3390: $? = 4
configure:3410: checking whether the C compiler works
configure:3432: gcc -march=native   conftest.c  >&5
configure:3436: $? = 0
configure:3484: result: yes
configure:3487: checking for C compiler default output file name
configure:3489: result: a.out
configure:3495: checking for suffix of executables
configure:3502: gcc -o conftest -march=native   conftest.c  >&5
configure:3506: $? = 0
configure:3528: result:
configure:3550: checking whether we are cross compiling
configure:3558: gcc -o conftest -march=native   conftest.c  >&5
configure:3562: $? = 0
configure:3569: ./conftest
configure:3573: $? = 0
configure:3588: result: no
configure:3593: checking for suffix of object files
configure:3615: gcc -c -march=native  conftest.c >&5
configure:3619: $? = 0
configure:3640: result: o
configure:3644: checking whether we are using the GNU C compiler
configure:3663: gcc -c -march=native  conftest.c >&5
configure:3663: $? = 0
configure:3672: result: yes
configure:3681: checking whether gcc accepts -g
configure:3701: gcc -c -g  conftest.c >&5
configure:3701: $? = 0
configure:3742: result: yes
configure:3759: checking for gcc option to accept ISO C89
configure:3822: gcc  -c -march=native  conftest.c >&5
configure:3822: $? = 0
configure:3835: result: none needed
configure:3857: checking dependency style of gcc
configure:3968: result: gcc3
configure:3983: checking for gcc option to accept ISO C99
configure:4132: gcc  -c -march=native  conftest.c >&5
conftest.c:61:29: error: expected ';', ',' or ')' before 'text'
Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!