Open ryan763 opened 4 years ago
I have satisfied all dependencies and twice tried compiling the source code to encounter a undefined reference to cpus.
make[3]: Leaving directory '/home/pi/bfgminer/lib' ( cd . && ./gen-version.sh ) >version.h.new cmp ./version.h version.h.new && rm version.h.new || mv version.h.new ./version.h make -C libbase58 make[3]: Entering directory '/home/pi/bfgminer/libbase58' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/pi/bfgminer/libbase58' make -C libblkmaker make[3]: Entering directory '/home/pi/bfgminer/libblkmaker' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/pi/bfgminer/libblkmaker' CCLD bfgminer /usr/bin/ld: bfgminer-miner.o: in function `_bfg_clean_up': /home/pi/bfgminer/miner.c:11958: undefined reference to `cpus' /usr/bin/ld: /home/pi/bfgminer/miner.c:11958: undefined reference to `cpus' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1341: bfgminer] Error 1 make[2]: Leaving directory '/home/pi/bfgminer' make[1]: *** [Makefile:2845: all-recursive] Error 1 make[1]: Leaving directory '/home/pi/bfgminer' make: *** [Makefile:1210: all] Error 2
I got the same error in Ubuntu 20.10 amd64
I have satisfied all dependencies and twice tried compiling the source code to encounter a undefined reference to cpus.