看到一个用 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] 感谢了~
1
tmdbug OP |
2
tmdbug OP 求大神😢
|
3
forwind 2018-02-05 19:33:50 +08:00
付费
|
4
jackyzy823 2018-02-05 20:15:54 +08:00 via Android
|
6
tmdbug OP @jackyzy823 谢谢了,搜索了好多相关问题,都解决不了。谢谢了!
|
7
q397064399 2018-02-06 10:43:03 +08:00
缺少静态链接库
|
8
q397064399 2018-02-06 11:07:39 +08:00
@tmdbug #6
|
9
q397064399 2018-02-06 11:07:55 +08:00
@tmdbug #6 我搞定了 你还准备付费吗? 黑人问好
|
10
q397064399 2018-02-06 11:21:20 +08:00
收费 20 一包烟就好
|
11
tmdbug OP @q397064399 谢谢了,已经搞好了!谢谢
|