cbuchner1 / ccminer

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

Compile error under Ubuntu 16.04 #38

Closed Singman33 closed 8 years ago

Singman33 commented 8 years ago

nvcc -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v -o heavy/heavy.o -c heavy/heavy.cu

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:1475: recipe for target 'heavy/heavy.o' failed make[2]: *\ [heavy/heavy.o] Error 255

Singman33 commented 8 years ago

Solved by using CUDA 8 dev kit.