Erro ao configurar o ar de crack

0

Encontrei esses erros ao configurar o aircrack

chrisdabeer@localhost:~/aircrack-ng-1.1$ make install

make -C src install

make[1]: Entering directory '/home/chrisdabeer/aircrack-ng-1.1/src'

make -C osdep

make[2]: Entering directory '/home/chrisdabeer/aircrack-ng-1.1/src/osdep'
Building for Linux

make[3]: Entering directory '/home/chrisdabeer/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -fPIC -I..    -c -o linux.o linux.c
linux.c: In function 'is_ndiswrapper':
linux.c:165:17: error: variable 'unused' set but not used [-Werror=unused-but-set-variable]
linux.c: In function 'linux_set_rate':
linux.c:334:22: error: variable 'unused' set but not used [-Werror=unused-but-set-variable]
linux.c: In function 'linux_set_channel':
linux.c:807:22: error: variable 'unused' set but not used [-Werror=unused-but-set-variable]
linux.c: In function 'linux_set_freq':
linux.c:896:22: error: variable 'unused' set but not used [-Werror=unused-but-set-variable]
linux.c: In function 'set_monitor':
linux.c:1022:22: error: variable 'unused' set but not used [-Werror=unused-but-set-variable]
linux.c: In function 'do_linux_open':
linux.c:1366:12: error: variable 'unused_str' set but not used [-Werror=unused-but-set-variable]
linux.c:1352:15: error: variable 'unused' set but not used [-Werror=unused-but-set-variable]
linux.c: In function 'get_battery_state':
linux.c:1982:35: error: variable 'current' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[3]: *** [linux.o] Error 1
make[3]: Leaving directory '/home/chrisdabeer/aircrack-ng-1.1/src/osdep'
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/chrisdabeer/aircrack-ng-1.1/src/osdep'
make[1]: *** [osd] Error 2
make[1]: Leaving directory '/home/chrisdabeer/aircrack-ng-1.1/src'
make: *** [install] Error 2
    
por Chris 24.12.2014 / 00:19

1 resposta

1

Supondo que você não quer que a versão disponível no gerenciador de pacotes sudo apt-get install aircrack-ng , dê uma olhada neste link e veja se ele irá ajudá-lo a compilar

link

Transferir dependências:

sudo apt-get install build-essential libssl-dev sqlite

Faça o download do tarball, extraia, compile e instale:

wget http://download.aircrack-ng.org/aircrack-ng-1.2-rc1.tar.gz
tar -zxvf aircrack-ng-1.2-rc1.tar.gz
cd aircrack-ng-1.2-rc1
make
sudo make install

Eu acho que a versão disponível pelo apt-get (assumindo em 14.04 é 1: 1.1-6, mas se você compilá-lo você terá aircrack-ng-1.2-rc1)

    
por geoffmcc 24.12.2014 / 00:36