JoinOzone / WrtMiner

A cryptonote-based cryptocurrency miner for OpenWrt routers
3 stars 2 forks source link

Unable to install... Readme is confusing (shows examples, not cpuminer) #3

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi,

The readme is confusing... I have the SDK, and I cloned this repo into the packages/ dir I even assumed you wanted me to git the cpuminer into that folder, so I did that, but I can't compile any of it...

root@pizone:~/routerbuild/source#` make package/WrtMiner/{clean,compile,install} -j1 V=s WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig! make[1]: Entering directory '/root/routerbuild/source' make[2]: Entering directory '/root/routerbuild/source/package/WrtMiner' rm -rf /root/routerbuild/source/build_dir/target-mips_24kc_musl/wrtminer rm -f /root/routerbuild/source/staging_dir/target-mips_24kc_musl/stamp/.WrtMiner_installed rm -f /root/routerbuild/source/staging_dir/target-mips_24kc_musl/packages/WrtMiner.list /root/routerbuild/source/staging_dir/host/packages/WrtMiner.list make[2]: Leaving directory '/root/routerbuild/source/package/WrtMiner' time: package/WrtMiner/clean#0.04#0.00#0.49 make[1]: Leaving directory '/root/routerbuild/source' WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig! make[1]: Entering directory '/root/routerbuild/source' make[2]: Entering directory '/root/routerbuild/source/package/libs/toolchain' rm -rf /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc.installed /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc mkdir -p /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc install -d -m0755 /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc/lib /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc/usr/bin cp -fpR /root/routerbuild/source/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/lib/ld-musl-.so /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc/lib/ cp: cannot stat '/root/routerbuild/source/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/lib/ld-musl-.so': No such file or directory Makefile:618: recipe for target '/root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc.installed' failed make[2]: [/root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc.installed] Error 1 make[2]: Leaving directory '/root/routerbuild/source/package/libs/toolchain' Command exited with non-zero status 2 time: package/libs/toolchain/compile#0.04#0.01#0.58 package/Makefile:107: recipe for target 'package/libs/toolchain/compile' failed make[1]: [package/libs/toolchain/compile] Error 2 make[1]: Leaving directory '/root/routerbuild/source' /root/routerbuild/source/include/toplevel.mk:216: recipe for target 'package/WrtMiner/compile' failed make: *** [package/WrtMiner/compile] Error 2 root@pizone:~/routerbuild/source# make menuconfig configuration written to .config

End of the configuration. Execute 'make' to start the build or try 'make help'.

root@pizone:~/routerbuild/source# make package/WrtMiner/{clean,compile,install} -j1 V=s time: target/linux/prereq#0.34#0.00#0.73 make[1]: Entering directory '/root/routerbuild/source' make[2]: Entering directory '/root/routerbuild/source/package/WrtMiner' rm -rf /root/routerbuild/source/build_dir/target-mips_24kc_musl/wrtminer rm -f /root/routerbuild/source/staging_dir/target-mips_24kc_musl/stamp/.WrtMiner_installed rm -f /root/routerbuild/source/staging_dir/target-mips_24kc_musl/packages/WrtMiner.list /root/routerbuild/source/staging_dir/host/packages/WrtMiner.list make[2]: Leaving directory '/root/routerbuild/source/package/WrtMiner' time: package/WrtMiner/clean#0.04#0.00#0.47 make[1]: Leaving directory '/root/routerbuild/source' make[1]: Entering directory '/root/routerbuild/source' make[2]: Entering directory '/root/routerbuild/source/package/libs/toolchain' rm -rf /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc.installed /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc mkdir -p /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc install -d -m0755 /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc/lib /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc/usr/bin cp -fpR /root/routerbuild/source/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/lib/ld-musl-.so /root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc/lib/ cp: cannot stat '/root/routerbuild/source/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/lib/ld-musl-.so': No such file or directory Makefile:618: recipe for target '/root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc.installed' failed make[2]: [/root/routerbuild/source/build_dir/target-mips_24kc_musl/toolchain/.pkgdir/libc.installed] Error 1 make[2]: Leaving directory '/root/routerbuild/source/package/libs/toolchain' Command exited with non-zero status 2 time: package/libs/toolchain/compile#0.05#0.00#0.70 package/Makefile:107: recipe for target 'package/libs/toolchain/compile' failed make[1]: [package/libs/toolchain/compile] Error 2 make[1]: Leaving directory '/root/routerbuild/source' /root/routerbuild/source/include/toplevel.mk:216: recipe for target 'package/WrtMiner/compile' failed make: *** [package/WrtMiner/compile] Error 2

Oh yeah the instructions show how to install example packages, not how to compile the package for cpurminer / wrtminer