Aircrack-ng

Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: aircrack-ng-cuda error on build in Ubuntu 12.04  (Read 15459 times)

sanfranla49

  • Newbie
  • *
  • Offline Offline
  • Posts: 3
    • View Profile
aircrack-ng-cuda error on build in Ubuntu 12.04
« on: July 09, 2013, 03:29:34 pm »

Hey guys im trying to build aircrack-ng-cuda but on the build trying to make the build before the install im getting this error...

sf49@sf49:~/aircrack-ng-cuda/src$  make CUDA=true sqlite=true unstable=true install
make -C osdep
make[1]: Entering directory `/home/sf49/aircrack-ng-cuda/src/osdep'
Building for Linux
make[2]: 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[2]: Leaving directory `/home/sf49/aircrack-ng-cuda/src/osdep'
make[1]: 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 cudacrypto.cu
make: /bin/nvcc: Command not found
make: *** [cudacrypto.o] Error 127
sf49@sf49:~/aircrack-ng-cuda/src$  CUDA=true make
make -C osdep
make[1]: Entering directory `/home/sf49/aircrack-ng-cuda/src/osdep'
Building for Linux
make[2]: Entering directory `/home/sf49/aircrack-ng-cuda/src/osdep'
make[2]: `.os.Linux' is up to date.
make[2]: Leaving directory `/home/sf49/aircrack-ng-cuda/src/osdep'
make[1]: Leaving directory `/home/sf49/aircrack-ng-cuda/src/osdep'
/bin/nvcc --compiler-options -fno-strict-aliasing --host-compilation=C -I. -I/include -DUNIX -maxrregcount 12  -o cudacrypto.o -c cudacrypto.cu
make: /bin/nvcc: Command not found
make: *** [cudacrypto.o] Error 127


Im running on a optimus system with cuda toolkit 5.0 bumblebee i jus got pyrit with cuda support working correctly now im on this lol all responses and help are greatly appreciated thanks
Logged

sanfranla49

  • Newbie
  • *
  • Offline Offline
  • Posts: 3
    • View Profile
Re: aircrack-ng-cuda error on build in Ubuntu 12.04
« Reply #1 on: July 09, 2013, 07:34:55 pm »

Can i not get no help guys com on man this is susposed to be a fourm for helping people not reading then ignoring
Logged

misterx

  • Aircrack-ng Author
  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 350
  • Aircrack-ng Author
    • View Profile
    • Aircrack-ng
Re: aircrack-ng-cuda error on build in Ubuntu 12.04
« Reply #2 on: July 09, 2013, 10:14:33 pm »

You have to install the cuda compiler but anyway, as explained in the other thread, compile the regular version and install oclhashcat
Logged
 

+ Quick Reply