Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Hey guys im trying to build Cuda Support for my aircrack suit but im gettin the following errors...

sf49@sf49:~/aircrack-ng-cuda$ make CUDA=true sqlite=true unstable=true install
make -C src install
make[1]: Entering directory `/home/sf49/aircrack-ng-cuda/src'
make -C osdep
make[2]: Entering directory `/home/sf49/aircrack-ng-cuda/src/osdep'
Building for Linux
make[3]: Entering directory `/home/sf49/aircrack-ng-cuda/src/osdep'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -fPIC -I..    -c -o osdep.o osdep.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -fPIC -I..    -c -o network.o network.c
network.c: In function ‘net_read’:
network.c:305: warning: dereferencing type-punned pointer will break strict-aliasing rules
network.c: In function ‘net_get_mac’:
network.c:353: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -fPIC -I..    -c -o linux.o linux.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -fPIC -I..    -c -o linux_tap.o linux_tap.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -fPIC -I..    -c -o radiotap-parser.o radiotap-parser.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -fPIC -I..    -c -o common.o common.c
ar cru libosdep.a  osdep.o network.o linux.o linux_tap.o radiotap-parser.o common.o
ranlib libosdep.a 
touch .os.Linux
make[3]: Leaving directory `/home/sf49/aircrack-ng-cuda/src/osdep'
make[2]: Leaving directory `/home/sf49/aircrack-ng-cuda/src/osdep'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -Iinclude -DCUDA_ENABLED   -c -o aircrack-ng.o aircrack-ng.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -Iinclude -DCUDA_ENABLED   -c -o crypto.o crypto.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -Iinclude -DCUDA_ENABLED   -c -o common.o common.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -Iinclude -DCUDA_ENABLED   -c -o uniqueiv.o uniqueiv.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2312  -I/usr/local/include -DHAVE_SQLITE -Iinclude -DCUDA_ENABLED   -c -o aircrack-ptw-lib.o aircrack-ptw-lib.c
/bin/nvcc --compiler-options -fno-strict-aliasing --host-compilation=C -I. -I/include -DUNIX -maxrregcount 12  -o cudacrypto.o -c
make[1]: /bin/nvcc: Command not found
make[1]: *** [cudacrypto.o] Error 127
make[1]: Leaving directory `/home/sf49/aircrack-ng-cuda/src'
make: *** [install] Error 2

If anyone can help please all answeres are greatly appreciated!

share|improve this question
Im not sure nethier i guess aircrack-ng-cuda i quite outdated and hasnt been updated so i might go with oclhashcat-plus you know ne thing about that bro – user173106 Jul 9 '13 at 19:31
It seems that it's looking for /bin/nvcc but it can't find it. Can you do whereis nvcc and find out where the binary is located? Then, you can create a symlink to /bin/nvcc. Take a look at the answer here: nvcc compiler setup Ubuntu 12.04. – Alaa Ali Jul 24 '13 at 10:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.