LINUX.ORG.RU

сборка aircrack-ng-cuda

 ,


0

1

Пытаюсь собрать aircrack-ng-cuda с исходников. Вот что получаю при make:

make -C src all
make[1]: Entering directory '/home/renegade/Downloads/aaa-aircrack-ng-cuda-master/aircrack-ng-cuda/src'
make -C osdep
make[2]: Entering directory '/home/renegade/Downloads/aaa-aircrack-ng-cuda-master/aircrack-ng-cuda/src/osdep'
Building for Linux
make[3]: Entering directory '/home/renegade/Downloads/aaa-aircrack-ng-cuda-master/aircrack-ng-cuda/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -fPIC -I..    -c -o osdep.o osdep.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -fPIC -I..    -c -o network.o network.c
network.c: In function ‘net_read’:
network.c:305:4: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
    return ntohl(*((uint32_t*)buf));
    ^
network.c: In function ‘net_get_mac’:
network.c:353:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
   return ntohl(*((uint32_t*)buf));
   ^
cc1: all warnings being treated as errors
<builtin>: recipe for target 'network.o' failed
make[3]: *** [network.o] Error 1
make[3]: Leaving directory '/home/renegade/Downloads/aaa-aircrack-ng-cuda-master/aircrack-ng-cuda/src/osdep'
Makefile:28: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/renegade/Downloads/aaa-aircrack-ng-cuda-master/aircrack-ng-cuda/src/osdep'
Makefile:127: recipe for target 'osd' failed
make[1]: *** [osd] Error 2
make[1]: Leaving directory '/home/renegade/Downloads/aaa-aircrack-ng-cuda-master/aircrack-ng-cuda/src'
Makefile:18: recipe for target 'all' failed
make: *** [all] Error 2



Последнее исправление: cetjs2 (всего исправлений: 1)

Убрать тот параметр сборки из мейкфайла

ZenitharChampion ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.