You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to build on Debian 9, ./autogen.sh and ./configure complete successfully, but make fails with: /usr/bin/ld: cryptonight/cryptonight.o: relocation R_X86_64_32S against .bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: cryptonight/cuda_cryptonight_core.o: relocation R_X86_64_32S against .bss' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: cryptonight/cuda_cryptonight_extra.o: relocation R_X86_64_32S against .bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:529: recipe for target 'ccminer' failed
make[2]: *** [ccminer] Error 1
make[2]: Leaving directory '/home/kev/ccminer-cryptonight'
Makefile:729: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/kev/ccminer-cryptonight'
Makefile:399: recipe for target 'all' failed
make: *** [all] Error 2
`
Any suggestions on how to get beyond this?
The text was updated successfully, but these errors were encountered:
I'm facing this, too. I'm trying to compile ccminer and I get this for lot of object files, not just ccminer-cryptonight. I did add -fPIC to the flags and I could see it being added to the g++, but it still errors out with that message
Attempting to build on Debian 9, ./autogen.sh and ./configure complete successfully, but make fails with:
/usr/bin/ld: cryptonight/cryptonight.o: relocation R_X86_64_32S against
.bss' can not be used when making a shared object; recompile with -fPIC/usr/bin/ld: cryptonight/cuda_cryptonight_core.o: relocation R_X86_64_32S against
.bss' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: cryptonight/cuda_cryptonight_extra.o: relocation R_X86_64_32S against
.bss' can not be used when making a shared object; recompile with -fPIC/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:529: recipe for target 'ccminer' failed
make[2]: *** [ccminer] Error 1
make[2]: Leaving directory '/home/kev/ccminer-cryptonight'
Makefile:729: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/kev/ccminer-cryptonight'
Makefile:399: recipe for target 'all' failed
make: *** [all] Error 2
`
Any suggestions on how to get beyond this?
The text was updated successfully, but these errors were encountered: