netswift / sgminer-vert

sgminer (djm34) for Vertcoin
GNU General Public License v3.0
1 stars 1 forks source link

make cmd fails with error : undefined reference to `lyra2rehash' #1

Open SachitNayak opened 6 years ago

SachitNayak commented 6 years ago

all the dependencies are in place and all commands ran perfectly just before make. just the make command fails with the following issue:

algorithm/sgminer-Lyra2RE_old.o: In function scanhash_lyra2reold': Lyra2RE_old.c:(.text+0x3aa): undefined reference tolyra2rehash' algorithm/sgminer-Lyra2_old.o: In function LYRA2O': Lyra2_old.c:(.text+0x139): undefined reference toabsorbBlockBlake2SafeO' collect2: error: ld returned 1 exit status Makefile:754: recipe for target 'sgminer' failed make[2]: [sgminer] Error 1 make[2]: Leaving directory '/home/ubuntu/sgminer-vert' Makefile:1547: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/ubuntu/sgminer-vert' Makefile:576: recipe for target 'all' failed make: *** [all] Error 2

SachitNayak commented 6 years ago

$ sed -i 's/^inline //g' algorithm/*

works like a charm