一、编译PC版本
1、svn co http://svn.aircrack-ng.org/trunk aircrack
2、make 出错
common.mak:100: *** Cannot find development files for any supported version of libnl. install either libnl1 or libnl3.. Stop.
需要安装libnl库
# pkg-config --libs libnl-1 libnl-3
No package 'libnl-1' found
No package 'libnl-3' found
3、# sudo apt-get install libnl-dev
# pkg-config --libs libnl-1
-lnl
4、make 出错
make -C src all
make[1]: Entering directory `/data/user/luotong/working/test/aircrack-ng/src'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2413 -DCONFIG_LIBNL -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:0:
crypto.h:42:26: fatal error: openssl/hmac.h: No such file or directory
compilation terminated.
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/data/user/luotong/working/test/aircrack-ng/src'
make: *** [all] Error 2
需要安装openssl库
# sudo apt-get install openssl libssl-dev
# pkg-config --libs openssl
-lssl -lcrypto
1、svn co http://svn.aircrack-ng.org/trunk aircrack
2、make 出错
common.mak:100: *** Cannot find development files for any supported version of libnl. install either libnl1 or libnl3.. Stop.
需要安装libnl库
# pkg-config --libs libnl-1 libnl-3
No package 'libnl-1' found
No package 'libnl-3' found
3、# sudo apt-get install libnl-dev
# pkg-config --libs libnl-1
-lnl
4、make 出错
make -C src all
make[1]: Entering directory `/data/user/luotong/working/test/aircrack-ng/src'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2413 -DCONFIG_LIBNL -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:0:
crypto.h:42:26: fatal error: openssl/hmac.h: No such file or directory
compilation terminated.
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/data/user/luotong/working/test/aircrack-ng/src'
make: *** [all] Error 2
需要安装openssl库
# sudo apt-get install openssl libssl-dev
# pkg-config --libs openssl
-lssl -lcrypto