CudaMiner icon indicating copy to clipboard operation
CudaMiner copied to clipboard

Error compiling Cudaminer

Open AdemilsonSouza opened this issue 7 years ago • 5 comments

Error compiling Cudaminer

Good afternoon

I have the following error message:

"/ usr / bin / ld: end link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status Makefile: 508: recipe for target 'cudaminer' failed make [2]: *** [cudaminer] Error 1 make [2]: Leaving directory '/ home / ademilson / Downloads / CudaMiner-master' Makefile: 688: recipe for target 'all-recursive' failed make [1]: *** [all-recursive] Error 1 make [1]: Leaving directory '/ home / ademilson / Downloads / CudaMiner-master' Makefile: 412: recipe for target 'all' failed make: *** [all] Error 2 "

My system is Debian Strech 9.2, does anyone have any suggestions for me to select the problem?

Thank you

AdemilsonSouza avatar Nov 15 '17 18:11 AdemilsonSouza

gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT cudaminer-cpu-miner.o -MD -MP -MF .deps/cudaminer-cpu-miner.Tpo -c -o cudaminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
gcc: error: unrecognized command line option '-msse2'
Makefile:542: recipe for target 'cudaminer-cpu-miner.o' failed
make[2]: *** [cudaminer-cpu-miner.o] Error 1
make[2]: Leaving directory '/mnt/HDD/CUDAMiner'
Makefile:688: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/mnt/HDD/CUDAMiner'
Makefile:412: recipe for target 'all' failed
make: *** [all] Error 2

I get it too

charlieporth1 avatar Dec 15 '17 00:12 charlieporth1

Are you using Ubuntu 14.04?

hilga007 avatar Jan 22 '18 06:01 hilga007

My system is Debian Strech 9.2, does anyone have any suggestions for me to select the problem?

Thank you

AdemilsonSouza avatar Jan 24 '18 13:01 AdemilsonSouza

Shoot. I ran into that on Ubuntu 16.04 which was too new and used 14.04.... wonder if that’s the same with your version of Debian.

Had to install the older CUDA SDK and compatible driver as well... which version are you using??

hilga007 avatar Jan 24 '18 19:01 hilga007

How do you even get this program to compile? There isn't a bat file or exe file. I'm not trying to seem like a complete novice, but getting this off the ground from scratch is a bit out of my realm of knowledge.

Sephiroth4269 avatar Feb 18 '18 18:02 Sephiroth4269