无法在Ubuntu 18.04上安装FLUXION 5.9依赖项“ mdk4”

时间:2019-05-04 13:40:45

标签: ubuntu-18.04

我想在ubuntu 18.04上安装Fluxion 5.9及其相关性,但是我遇到软件包“ mdk4”的问题,并且在多次警告和_make: *** [install] Error 127_之后安装中止。

apt-get install pkg-config libnl-3-dev libnl-genl-3-dev libpcap-dev

git clone https://github.com/aircrack-ng/mdk4
cd mdk4
make
sudo make install

安装失败,出现许多错误和警告:

channelhopper.c: In function ‘init_channel_hopper’:
channelhopper.c:592:19: warning: unused variable ‘i’ [-Wunused-variable]
     int lpos = 0, i;
                   ^
At top level:
channelhopper.c:240:14: warning: ‘dfs_state_name’ defined but not used [-Wunused-function]
 static char *dfs_state_name(enum nl80211_dfs_state state)
              ^~~~~~~~~~~~~~
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1  -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -g -O3 -Wall -Wextra    -c -o ghosting.o ghosting.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1  -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -g -O3 -Wall -Wextra    -c -o fragmenting.o fragmenting.c
make -C attacks
make[2]: Entering directory '/mdk4/src/attacks'
cc -g -O3 -Wall -Wextra   -c -o attacks.o attacks.c
attacks.c: In function ‘load_attacks’:
attacks.c:8:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
   struct attacks *attacks = malloc(sizeof(struct attacks) * attack_count);

0 个答案:

没有答案