1,-DOpenCL_ENABLE=OFF
2,-DMICROHTTPD_ENABLE=OFF
sudo apt install libmicrohttpd-dev
3,-DOpenSSL_ENABLE=OFF
sudo apt install libssl-dev
4,-DHWLOC_ENABLE=OFF
sudo apt install libhwloc-dev
xmr-stak compile
原文:https://www.cnblogs.com/gropeliang/p/9633894.html