gcode-mirror / truecrack

Automatically exported from code.google.com/p/truecrack
GNU General Public License v3.0
0 stars 1 forks source link

Compilation problem #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
cuda:~/truecrack$ make GPU=true
cat Cuda/CudaCore.cu > Cuda.cu 
cat Cuda/CudaPkcs5.cu >> Cuda.cu
cat Cuda/CudaRmd160.cu >> Cuda.cu
cat Cuda/CudaAes.cu >> Cuda.cu
cat Cuda/CudaXts.cu >> Cuda.cu
nvcc -c Cuda.cu -I./Common/ -I./Crypto/ -I./Cuda/ -I./Main/ -I./ -lm -D_GPU_ 
--opencc-options -OPT:Olimit=0  -o Cuda.o
Cuda.cu(60): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(68): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(165): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(191): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(197): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(397): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(404): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(431): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(438): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(489): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(496): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(527): error: calling a host function from a __device__/__global__ 
function is not allowed

Cuda.cu(534): error: calling a host function from a __device__/__global__ 
function is not allowed

13 errors detected in the compilation of 
"/tmp/tmpxft_00004d97_00000000-4_Cuda.cpp1.ii".
make: *** [Cuda.o] Error 2

Original issue reported on code.google.com by czu...@gmail.com on 22 Apr 2012 at 10:53

GoogleCodeExporter commented 9 years ago
problem witch cuda version. I've  compiled  on 4.0 without any problems

Original comment by czu...@gmail.com on 26 Apr 2012 at 4:17

GoogleCodeExporter commented 9 years ago
Configure cuda is not an easy work. If you have some problems you can follow my 
guide in download section.

Original comment by luck87 on 26 Apr 2012 at 7:48

GoogleCodeExporter commented 9 years ago

Original comment by luck87 on 26 Apr 2012 at 7:52