01BTC10 / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

Setup CUDA for Pyrit goes wrong #407

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
I am a Newbee here,

my system iss a 64bit gnome Backtrack 5 R2

I tried to install Nvidia Cuda drivers for pyrit. by taking some tutorials like 
this -> 
http://chee-yang.blogspot.de/2011/11/backtrack-5-accelerate-pyrit-with.html

all works fine until,
at the point of the "Setup CUDA for Pyrit" by typing : "python setup.py build"

i have these lines.

root@bt:~/pyrit/cpyrit_cuda# python setup.py build
running build
running build_ext
Compiling CUDA module using nvcc 4.2, V0.2.1221...
Executing '/usr/local/cuda/bin/nvcc -m64 --host-compilation C -Xcompiler 
"-fPIC" --ptx ./_cpyrit_cudakernel.cu'
nvcc warning : option 'host-compilation' has been deprecated and is ignored
Building modules...
building 'cpyrit._cpyrit_cuda' extension
creating build
creating build/temp.linux-x86_64-2.6
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/local/cuda/include -I/usr/include/python2.6 -c 
_cpyrit_cuda.c -o build/temp.linux-x86_64-2.6/_cpyrit_cuda.o -Wall 
-fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
creating build/lib.linux-x86_64-2.6
creating build/lib.linux-x86_64-2.6/cpyrit
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
build/temp.linux-x86_64-2.6/_cpyrit_cuda.o -lcrypto -lcuda -lz -o 
build/lib.linux-x86_64-2.6/cpyrit/_cpyrit_cuda.so
/usr/bin/ld: cannot find -lcuda
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

what iss lcuda, and how kan i patch this ? please help.

Original issue reported on code.google.com by ingo.boe...@googlemail.com on 3 Sep 2012 at 9:23