stratum-mining-proxy
stratum-mining-proxy copied to clipboard
midstatec compilation error on Raspberry Pi (pwnpi)
~/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
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.