lucasjones / cpuminer-multi

Multi-algo CPUMiner & Reference Cryptonote Miner (JSON-RPC 2.0)
Other
638 stars 1.5k forks source link

Compilation Error on centos of PPC64 #70

Open xlhzly opened 6 years ago

xlhzly commented 6 years ago

I have the following error message during compilation. I don't know how to solve it. Thank you very much OS: uname -a Linux centos7 3.10.0-693.el7.ppc64 #1 SMP Tue Aug 22 23:26:07 GMT 2017 ppc64 ppc64 ppc64 GNU/Linux

make[2]: Leaving directory /root/lucas-miner/cpuminer-multi/compat' make[2]: Entering directory/root/lucas-miner/cpuminer-multi' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -Ofast -flto -fuse-linker-plugin -g -O2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o test -f 'cpu-miner.c' || echo './'cpu-miner.c cpu-miner.c: In function ‘main’: cpu-miner.c:1823:2: error: impossible register constraint in ‘asm’ asm volatile("cpuid":"=a"(where),"=b"((where+1)), ^ make[2]: [minerd-cpu-miner.o] Error 1 make[2]: Leaving directory `/root/lucas-miner/cpuminer-multi' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/root/lucas-miner/cpuminer-multi' make: *** [all] Error 2