Export to GitHub

pyrit - issue #407

Setup CUDA for Pyrit goes wrong


Posted on Sep 3, 2012 by Massive Elephant

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.

Status: New

Labels:
Type-Defect Priority-Medium