lucasjones / cpuminer-multi

Multi-algo CPUMiner & Reference Cryptonote Miner (JSON-RPC 2.0)
Other
635 stars 1.49k forks source link

DWARF error when compiling on Raspberry Pi 3 #123

Open deadtom76 opened 4 years ago

deadtom76 commented 4 years ago

/usr/bin/ld: /usr/bin/ld: DWARF error: offset (1342246400) greater than or equal to .debug_str size (371) /usr/bin/ld: DWARF error: offset (243239313) greater than or equal to .debug_str size (371) /usr/bin/ld: DWARF error: offset (805392641) greater than or equal to .debug_str size (371) /usr/bin/ld: DWARF error: could not find abbrev number 80 /tmp/ccqyxviH.ltrans6.ltrans.o: in functionminer_thread':

:(.text+0xb80c): undefined reference to `freshhash' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:662: minerd] Error 1 make[2]: Leaving directory '/home/pi/temp/cpuminer-multi' make[1]: *** [Makefile:1511: all-recursive] Error 1 make[1]: Leaving directory '/home/pi/temp/cpuminer-multi' make: *** [Makefile:503: all] Error 2` Raspbian Buster. I've made sure everything is up to date, and run _apt install autoconf libcurl4-openssl-dev libjansson-dev openssl libssl-dev gcc gawk_, which reports all installing fine. Autogen.sh and configure run swimmingly.
torralbaalla commented 3 years ago

I have the same problem in a RPi 4B (8 GiB RAM) and Raspbian Buster.

DarrenRainey commented 3 years ago

try running make clean or using Raspbian jessie in the meantime. Unfortunately this project is basically abandoned so it might be best to look at a more up to date branch or an alternative miner like xmrig

torralbaalla commented 3 years ago

Oh oops, didn't know it was abandoned. Thanks for the info.