stratum-mining-proxy icon indicating copy to clipboard operation
stratum-mining-proxy copied to clipboard

midstatec compilation error on Raspberry Pi (pwnpi)

Open jipegit opened this issue 10 years ago • 1 comments

~/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

jipegit avatar Apr 20 '14 15:04 jipegit

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.

ab1jx avatar Apr 20 '17 21:04 ab1jx