Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

midstatec compilation error on Raspberry Pi (pwnpi) #70

Open
jipegit opened this issue Apr 20, 2014 · 1 comment
Open

midstatec compilation error on Raspberry Pi (pwnpi) #70

jipegit opened this issue Apr 20, 2014 · 1 comment

Comments

@jipegit
Copy link

jipegit commented Apr 20, 2014

~/stratum-mining-proxy/midstatec# make
gcc -march=native -Wall -funroll-all-loops -O3 -fstrict-aliasing -Wall -std=c99 -I/usr/include/python2.7 midstatemodule.c -o test -Wl,-O1 -Wl,--as-needed -lpython2.7
cc1: error: bad value (native) for -march switch
make: *** [test] Error 1

Fixed with:
-march=armv6

@ab1jx
Copy link

ab1jx commented Apr 20, 2017

But does it actually work? I see this in the messages when it starts:
C extension for midstate not available. Using default implementation instead.

And I changed it both in the Makefile and in setup.py

Pooler on IRC says not to worry about it, it was for some early (2010 or so) Getwork miners, isn't needed anymore. Sure kept it from installing on my Pi 3 though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants