pooler / cpuminer

CPU miner for Litecoin and Bitcoin
https://bitcointalk.org/index.php?topic=55038.0
Other
2.79k stars 1.21k forks source link

Can't compile at openbsd 6.9 #241

Closed MateuszCz closed 3 years ago

MateuszCz commented 3 years ago

Hi, I'm trying to compile git; https://pastebin.pl/view/f6ec0491 I found this

pooler commented 3 years ago

Just tried on a fresh OpenBSD 6.9 install, I had no problem building from the cpuminer 2.5.1 tarball. I was able to reproduce your issue after installing the jansson package. As the link you posted points out, it appears to be a versioning issue. I resolved it by installing the gcc package (which got gcc 8.4.0 installed as egcc alongside gcc 4.2.1) and passing CC=egcc to configure.