hi joblo
I install on Centos but have error: im processing command: make
mv -f .deps/cpuminer-sysinfos.Tpo .deps/cpuminer-sysinfos.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -Iyes/include -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast -O3 -march=native -Iyes/include -Iyes/include -MT cpuminer-algo-gate-api.o -MD -MP -MF .deps/cpuminer-algo-gate-api.Tpo -c -o cpuminer-algo-gate-api.o `test -f 'algo-gate-api.c' || echo './'`algo-gate-api.c
algo-gate-api.c: In function register_algo_gate:
algo-gate-api.c:150: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:151: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:211: error: #pragma GCC diagnostic not allowed inside functions
make[2]: *** [cpuminer-algo-gate-api.o] Error 1
make[2]: Leaving directory `/root/cpuminer-opt-3.6.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt-3.6.0'
make: *** [all] Error 2
What version of gcc are you using? It's not an error with gcc 4.8. You can work around it by deleting the #pragma
directives causing the errors.