看到一个用 CPU 挖矿的源码,在 Linux 编译通过了,Mac 上死活编译不通过。
1. # ./autogen.sh 2. # perl ./nomacro.pl 3. # ./configure CFLAGS="-march=native" 4. # make 5. # make install 我在第 4 步时,一直报错:
undef: _freshhash
Undefined symbols for architecture x86_64:
"_freshhash", referenced from:
_miner_thread in lto.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [minerd] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
求各位能给编译一个,谢谢大神了~ 求发到 [email protected] 感谢了~
