cornjosh / Aminer

⛏️ Mining with Android devices. 使用 Android 设备来挖矿.
https://linkyou.top/archives/83/
BSD 3-Clause "New" or "Revised" License
222 stars 50 forks source link

编译失败 #10

Open wenj91 opened 3 years ago

wenj91 commented 3 years ago

cc: error: unrecognized command line option ‘-maes’ make[2]: [src/3rdparty/argon2/CMakeFiles/argon2.dir/build.make:63: src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/argon2.c.o] Error 1 make[1]: [CMakeFiles/Makefile2:145: src/3rdparty/argon2/CMakeFiles/argon2.dir/all] Error 2

cornjosh commented 3 years ago

Unable to identify the problem. Can you compile it manually and give feedback on a more specific problem?

wenj91 commented 3 years ago

脚本执行到编译的时候编译自动报错,无法进行下去

cornjosh commented 3 years ago

有尝试过手动编译吗?是否会出现相同错误? 根据你的描述没办法确定问题,我这边运行也没有办法复现问题

wenj91 commented 3 years ago

手动编译一样的,是在华为手机出现这个问题 手动编译的时候增加 -DARM_TARGET=7参数是可以编译的,但是编译出来的执行文件执行的时候又发生Bus error问题

cornjosh commented 3 years ago

好的,谢谢反馈 如果你之后有解决办法请给本项目发PR,感谢

collinshi commented 3 years ago

我小米6也有同样的问题。有解决方案吗?

collinshi commented 3 years ago

我小米6也有同样的问题。有解决方案吗?

进一步研究了一下,小米6的CPU是arm8l, xmrig并不能识别。我试了ARM_TARGET=8也没法编译。