Having serious compilation issued trying to get any version of aircrack to install. I've downloaded and installed libraries that were required and updated everything I think is needed to get this to actually do anything. However, when I run either make or sudo make I am faced with the following set of errors.
make -C src all
make: Entering directory '/root/aircrack-ng-1.2-rc4/src'
gcc -g -W -Wall -O3 -DOLD_SSE_CORE=1 -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 -c -o crypto.o crypto.c
crypto.c: In function ‘calc_mic’:
crypto.c:291:11: error: storage size of ‘ctx’ isn’t known
crypto.c:317:2: warning: implicit declaration of function ‘HMAC_CTX_init’ [-Wimplicit-function-declaration]
crypto.c:327:2: warning: implicit declaration of function ‘HMAC_CTX_cleanup’ [-Wimplicit-function-declaration]
crypto.c:291:11: warning: unused variable ‘ctx’ [-Wunused-variable]
crypto.c: In function ‘calc_tkip_mic_key’:
crypto.c:932:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if((ptr-message) % 4 > 0)
crypto.c:933:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
memcpy(ptr, ZERO, 4-((ptr-message)%4)); ptr+=4-((ptr-message)%4);
<builtin>: recipe for target 'crypto.o' failed
make: *** [crypto.o] Error 1
make: Leaving directory '/root/aircrack-ng-1.2-rc4/src'
Makefile:25: recipe for target 'all' failed
make: *** [all] Error 2
and it fails quite spectacularly. I'm assuming it's a library error but I'm a complete newbie at this and I'm completely lost as to where to go next.
Any suggestions or advice as to how to resolve this would be gratefully received.