Tried to compile the latest version of aircrack-ng today (1.00 rc2.)
There seems to be a few errors in the aircrack-ng.h file that prevent me from compiling it.
Lines 230-232 of aircrack-ng.h are below:
Does anybody know how I should go about fixing this?
I am using the software for legitimate, legal purposes, in case you were wondering.
There seems to be a few errors in the aircrack-ng.h file that prevent me from compiling it.
Code:
laptop:aircrack-ng-1.0-rc2 jethryn$ make install
make -C src install
make -C osdep
Building for Darwin
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
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o dummy.o dummy.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o dummy_tap.o dummy_tap.c
ar cru libosdep.a osdep.o network.o dummy.o dummy_tap.o
ranlib libosdep.a
touch .os.dummy
Your platform is unsupported
touch .os.Darwin
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o crypto.o crypto.c
In file included from crypto.c:26:
aircrack-ng.h:230: error: syntax error before ‘pthread_cond_t’
cc1: warnings being treated as errors
aircrack-ng.h:230: warning: no semicolon at end of struct or union
aircrack-ng.h:231: warning: type defaults to ‘int’ in declaration of ‘mutex’
aircrack-ng.h:231: warning: data definition has no type or storage class
Lines 230-232 of aircrack-ng.h are below:
Code:
pthread_cond_t cond; /* condition for waiting when buffer is full until keys are tried and new keys can be written */
pthread_mutex_t mutex;
};
Does anybody know how I should go about fixing this?
I am using the software for legitimate, legal purposes, in case you were wondering.