Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling Cudaminer #161

Open
AdemilsonSouza opened this issue Nov 15, 2017 · 5 comments
Open

Error compiling Cudaminer #161

AdemilsonSouza opened this issue Nov 15, 2017 · 5 comments

Comments

@AdemilsonSouza
Copy link

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

@charlieporth1
Copy link

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

@hilga007
Copy link

Are you using Ubuntu 14.04?

@AdemilsonSouza
Copy link
Author

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

Thank you

@hilga007
Copy link

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??

@Sephiroth4269
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants