Open SachitNayak opened 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
scanhash_lyra2reold': Lyra2RE_old.c:(.text+0x3aa): undefined reference to
LYRA2O': Lyra2_old.c:(.text+0x139): undefined reference to
$ sed -i 's/^inline //g' algorithm/*
works like a charm
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 to
lyra2rehash' algorithm/sgminer-Lyra2_old.o: In functionLYRA2O': Lyra2_old.c:(.text+0x139): undefined reference to
absorbBlockBlake2SafeO' 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