Reported by toshi382 on 30 Dec 2017 11:29 UTC
Hello,
Since airodump and airbase don't work on unit that does not support AVX instruction I was force to install aircrack-ng from the source. Below are the errors from the make command. I am using Fedora 27.
aircrack-ng-1.2-rc4# make
make -C src all
make[Entering directory '/home/aircrack-ng-1.2-rc4/src'
gcc -g -w -Wall -O3 -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -DOLD_SSE_CORE -c -o aircrack-ng.o aircrack-ng.c
gcc -g -w -Wall -O3 -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -DOLD_SSE_CORE -c -o cpuid.o cpuid.c
gcc -g -w -Wall -O3 -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -DOLD_SSE_CORE aircrack-ng.o cpuid.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o liblinecount.a sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto -lstdc++
gcc -g -w -Wall -O3 -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude crypto.o common.o uniqueiv.o aircrack-ptw-lib.o memory.o simd-intrinsics.o aircrack-ng-core.o wpapsk-simd.o sha1-sse2.S -o aircrack-ng-simd -lpthread -lssl -lcrypto -lstdc++ liblinecount.a
aircrack-ng-core.o: In function crack_wpa_thread':
/home/aircrack-ng-1.2-rc4/src/aircrack-ng.c:4038: undefined reference tocpuid_simdsize'
/home/aircrack-ng-1.2-rc4/src/aircrack-ng.c:4038: undefined reference to cpuinfo'
/home/aircrack-ng-1.2-rc4/src/aircrack-ng.c:4088: undefined reference tocpuinfo'
/home/aircrack-ng-1.2-rc4/src/aircrack-ng.c:4088: undefined reference to cpuinfo'
/home/aircrack-ng-1.2-rc4/src/aircrack-ng.c:4128: undefined reference tocpuinfo'
/home/aircrack-ng-1.2-rc4/src/aircrack-ng.c:4131: undefined reference to cpuinfo'
aircrack-ng-core.o:/home/aircrack-ng-1.2-rc4/src/aircrack-ng.c:4221: more undefined references tocpuinfo' follow
aircrack-ng-core.o: In function main':
/home/aircrack-ng-1.2-rc4/src/aircrack-ng.c:5217: undefined reference tocpuid_getinfo'
wpapsk-simd.o: In function init_wpapsk':
/home/aircrack-ng-1.2-rc4/src/wpapsk.c:518: undefined reference tocpuinfo'
wpapsk-simd.o: In function wpapsk_sse':
/home/aircrack-ng-1.2-rc4/src/wpapsk.c:218: undefined reference tocpuinfo'
collect2: error: ld returned 1 exit status
make1: aircrack-ng-simd Error 1
make[Leaving directory '/home/aircrack-ng-1.2-rc4/src'
make: Makefile:25: all Error 2
该提问来源于开源项目:aircrack-ng/aircrack-ng