cbuchner1 / ccminer

Christian Buchner's & Christian H.'s CUDA miner project
Other
273 stars 1.7k forks source link

Can’t compile 1.2 and current git version #98

Open Cigydd opened 5 years ago

Cigydd commented 5 years ago

Hello @cbuchner1 ,

I can’t seem to be able to compile ccminer on Linux Mint 19 Tara x86_64. I have CUDA 10 and nVidia 410 drivers installed. My GPU is GeForce 920MX.

The error message I get is this:

nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v -I./compat/jansson -o heavy/heavy.o -c heavy/heavy.cu
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
ptxas warning : 'option -abi=no' might get deprecated in future
ptxas warning : Too big maxrregcount value specified 80, will be ignored
ptxas fatal   : Unresolved extern function 'malloc'
Makefile:1201: recipe for target 'heavy/heavy.o' failed
make[2]: *** [heavy/heavy.o] Error 255
make[2]: Opouští se adresář „/home/pavel/build/ccminer“
Makefile:744: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Opouští se adresář „/home/pavel/build/ccminer“
Makefile:305: recipe for target 'all' failed
make: *** [all] Error 2