JayDDee / cpuminer-opt

Optimized multi algo CPU miner
Other
770 stars 544 forks source link

Compiling error #86

Closed sampwork closed 6 years ago

sampwork commented 6 years ago

Ubuntu 16 04 LTS I want use this miner for ZOI (lyra2z330) Makefile:2815: recipe for target 'algo/echo/aes_ni/cpuminer-hash.o' failed make[2]: [algo/echo/aes_ni/cpuminer-hash.o] Error 1 make[2]: Waiting for unfinished jobs.... mv -f algo/jh/.deps/cpuminer-jha-gate.Tpo algo/jh/.deps/cpuminer-jha-gate.Po mv -f algo/jh/.deps/cpuminer-jha-4way.Tpo algo/jh/.deps/cpuminer-jha-4way.Po mv -f algo/jh/.deps/cpuminer-sph_jh.Tpo algo/jh/.deps/cpuminer-sph_jh.Po make[2]: Leaving directory '/root/cpuminer-opt' Makefile:5204: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/root/cpuminer-opt' Makefile:849: recipe for target 'all' failed make: [all] Error 2 strip: 'cpuminer': No such file

goodthebest commented 6 years ago

run this....

./build.sh

sampwork commented 6 years ago

logs from build.sh

goodthebest commented 6 years ago

where are the logs?

sampwork commented 6 years ago

Makefile:2815: recipe for target 'algo/echo/aes_ni/cpuminer-hash.o' failed make[2]: [algo/echo/aes_ni/cpuminer-hash.o] Error 1 make[2]: Waiting for unfinished jobs.... mv -f algo/jh/.deps/cpuminer-jha-gate.Tpo algo/jh/.deps/cpuminer-jha-gate.Po mv -f algo/jh/.deps/cpuminer-jha-4way.Tpo algo/jh/.deps/cpuminer-jha-4way.Po mv -f algo/jh/.deps/cpuminer-sph_jh.Tpo algo/jh/.deps/cpuminer-sph_jh.Po make[2]: Leaving directory '/root/cpuminer-opt' Makefile:5204: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/root/cpuminer-opt' Makefile:849: recipe for target 'all' failed make: [all] Error 2 strip: 'cpuminer': No such file

goodthebest commented 6 years ago

It seems you do not have all dependencies installed, you may use below command line to install dependencies

sudo apt-get install build-essential libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev automake

Once installed, then run ./build.sh again

sampwork commented 6 years ago

All installed

bjansson-dev libgmp-dev automake Reading package lists... Done Building dependency tree Reading state information... Done automake is already the newest version (1:1.15-4ubuntu1). build-essential is already the newest version (12.1ubuntu2). build-essential set to manually installed. libgmp-dev is already the newest version (2:6.1.0+dfsg-2). libjansson-dev is already the newest version (2.7-3). libcurl4-openssl-dev is already the newest version (7.47.0-1ubuntu2.6). libssl-dev is already the newest version (1.0.2g-1ubuntu4.10). 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

goodthebest commented 6 years ago

did you run ./build.sh again?

goodthebest commented 6 years ago

before compilation, update your os:

sudo apt-get update

JayDDee commented 6 years ago

Not enough info. Always provide first compile errors, not last. Always provide CPU model. Always provide compile commands used. You never confirmedf you used build.sh.

Qwertylex commented 6 years ago

wonder if he figured out how to compile it and forgot to report back and close the issue

JayDDee commented 6 years ago

That's a nice way of putting it.