Giter VIP home page Giter VIP logo

Comments (9)

joshuapinter avatar joshuapinter commented on May 11, 2024 5

@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.

tkinjo1985 avatar tkinjo1985 commented on May 11, 2024 3

it worked Pine64+!

https://github.com/tkinjo1985/cpuminer-multi

from cpuminer-multi.

tkinjo1985 avatar tkinjo1985 commented on May 11, 2024 3

@joshuapinter

I'm happy to have been able to help you out.

from cpuminer-multi.

RESBI avatar RESBI commented on May 11, 2024

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.

0xAliNik avatar 0xAliNik commented on May 11, 2024

Architecture-specific notes:
CryptoNight works only on x86 and x86-64.

use this https://github.com/lucasjones/cpuminer-multi for ARM.

from cpuminer-multi.

ch155260 avatar ch155260 commented on May 11, 2024

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.

DarrenRainey avatar DarrenRainey commented on May 11, 2024

I've had the same problem as well but it seems to build a bit more if you just use ./configure

from cpuminer-multi.

RESBI avatar RESBI commented on May 11, 2024

@ch155260 Same problem with you!

from cpuminer-multi.

why-what-how avatar why-what-how commented on May 11, 2024

I get same problem…
Pine64 + ubuntu

from cpuminer-multi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.