Comments (9)
@tkinjo1985 Thanks for fixing that issue!
I tried this on a 96-core ARM server and it worked great. Just clone his git branch like so:
git clone https://github.com/tkinjo1985/cpuminer-multi.git
cd cpuminer-multi
./build.sh
If you're on Ubuntu/Debian, of course make sure you install the necessary packages:
apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++
And then ./cpuminer --help
from cpuminer-multi.
it worked Pine64+!
https://github.com/tkinjo1985/cpuminer-multi
from cpuminer-multi.
I'm happy to have been able to help you out.
from cpuminer-multi.
When I make ”https://github.com/OhGodAPet/cpuminer-multi“ this one,always:
make all-recursive
make[1]: Entering directory '/root/srcs/cpuminer-multi'
Making all in compat
make[2]: Entering directory '/root/srcs/cpuminer-multi/compat'
make[3]: Entering directory '/root/srcs/cpuminer-multi/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/root/srcs/cpuminer-multi/compat'
make[2]: Leaving directory '/root/srcs/cpuminer-multi/compat'
make[2]: Entering directory '/root/srcs/cpuminer-multi'
gcc -DHAVE_CONFIG_H -I. -pthread -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16 -O2 -fno-strict-aliasing -march=native -MT minerd-cryptonight_lobotomized.o -MD -MP -MF .deps/minerd-cryptonight_lobotomized.Tpo -c -o minerd-cryptonight_lobotomized.o test -f 'cryptonight_lobotomized.c' || echo './'
cryptonight_lobotomized.c
In file included from cryptonight.h:6:0,
from cryptonight_lobotomized.c:1:
miner.h:188:58: warning: 'struct cryptonight_ctx' declared inside parameter list
uint32_t max_nonce, unsigned long *hashes_done, struct cryptonight_ctx *persistentctx);
^
miner.h:188:58: warning: its scope is only this definition or declaration, which is probably not what you want
cryptonight_lobotomized.c:2:23: fatal error: x86intrin.h: No such file or directory
compilation terminated.
Makefile:685: recipe for target 'minerd-cryptonight_lobotomized.o' failed
make[2]: *** [minerd-cryptonight_lobotomized.o] Error 1
make[2]: Leaving directory '/root/srcs/cpuminer-multi'
Makefile:776: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/srcs/cpuminer-multi'
Makefile:420: recipe for target 'all' failed
make: *** [all] Error 2
It says:”fatal error: x86intrin.h“
But I don't know how to install this lib.
from cpuminer-multi.
Architecture-specific notes:
CryptoNight works only on x86 and x86-64.
use this https://github.com/lucasjones/cpuminer-multi for ARM.
from cpuminer-multi.
When I make " https://github.com/lucasjones/cpuminer-multi " on my aarch64 system,get below error
cpu-miner.c: In function &main*:
cpu-miner.c:1823:2: error: impossible constraint in &asm*
asm volatile("cpuid":"=a"(where),"=b"((where+1)),
^
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Makefile:622: recipe for target 'minerd' failed
make[2]: *** [minerd] Error 1
make[2]: Leaving directory '/root/cpuminer-multi'
Makefile:1466: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/cpuminer-multi'
Makefile:464: recipe for target 'all' failed
make: *** [all] Error 2
My procedure as below:
1.git clone https://github.com/lucasjones/cpuminer-multi
2. ./autogen.sh
3../configure CFLAGS="-march=native"
when I add -mfpu=neon to CFLAGS will get error as below:
checking whether the C compiler works... no
configure: error: in /root/cpuminer-multi': configure: error: C compiler cannot create executables See
config.log' for more details
config.log:
configure:3447: $? = 0
configure:3436: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3447: $? = 1
configure:3436: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3447: $? = 1
configure:3467: checking whether the C compiler works
configure:3489: gcc -march=native -mfpu=neon conftest.c >&5
gcc: error: unrecognized command line option '-mfpu=neon'
configure:3493: $? = 1
configure:3531: result: no
configure: failed program was:
from cpuminer-multi.
I've had the same problem as well but it seems to build a bit more if you just use ./configure
from cpuminer-multi.
@ch155260 Same problem with you!
from cpuminer-multi.
I get same problem…
Pine64 + ubuntu
from cpuminer-multi.
Related Issues (20)
- Update to 1.3.7 windows build
- "Make" after "autogen" and"configure" HOT 4
- can you add hmq1725 algo?
- Algorithm Crypto
- Permission Denied with ./nomacro.pl HOT 3
- Add the Minotaur algorithm [Ring (RNG)]
- DWARF error when compiling on Raspberry Pi 3 HOT 3
- Algorithms
- NEW ALGO FOR BITCORE MEGA-BTX
- When Power9 compile Assenbler error are submitted from gcc
- stratnum failed to connect error HOT 3
- rx2 compile error arm64
- Miner
- algoritm verthash
- rx2 cache error
- Connection Lost if ssh timesout. HOT 1
- Table
- Lyra2v3 and Tribus algo issue
- Trouble with bitcoind is it error, support or server issue ? HOT 1
- Stratum authentication failed error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpuminer-multi.