New Paste

 

Recent Pastes

Administrate




Pastebin on p.luis.im

PasteID: 1k8
Pasted by Anonymous, 2020-11-27 22:53:07 GMT
Expires Never
Paste size 43.56 Kb
Tools Raw   Download
 
  1. ==> Making package: mdk4 4.1-1 (Sat 28 Nov 2020 09:52:29)  
  2. ==> Checking runtime dependencies...  
  3. ==> Checking buildtime dependencies...  
  4. ==> Retrieving sources...  
  5.   -> Found mdk4-4.1.tar.gz  
  6. ==> Validating source files with sha512sums...  
  7.     mdk4-4.1.tar.gz ... Passed  
  8. ==> Extracting sources...  
  9.   -> Extracting mdk4-4.1.tar.gz with bsdtar  
  10. ==> Starting prepare()...  
  11. /home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/PKGBUILD: line 17: PREFIX: command not found  
  12. /home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/PKGBUILD: line 17: PREFIX: command not found  
  13. /home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/PKGBUILD: line 18: PREFIX: command not found  
  14. /home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/PKGBUILD: line 18: PREFIX: command not found  
  15. ==> Removing existing $pkgdir/ directory...  
  16. ==> Starting build()...  
  17. make -C src clean  
  18. make[1]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src'  
  19. rm -f mdk4  
  20. rm -f debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o osdep.o channelhopper.o ghosting.o fragmenting.o  
  21. rm -f ../test *.o  
  22. make -C osdep clean  
  23. make[2]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep'  
  24. make -C radiotap clean  
  25. make[3]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep/radiotap'  
  26. rm -f *.o  
  27. make[3]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep/radiotap'  
  28. rm -f libosdep.a  *.o .os.*  
  29. make[2]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep'  
  30. make -C attacks clean  
  31. make[2]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  32. rm -f attacks.o auth_dos.o beacon_flood.o countermeasures.o deauth.o dummy.o eapol.o fuzzer.o ieee80211s.o probing.o wids.o *.o  
  33. make[2]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  34. make[1]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src'  
  35. make -C src  
  36. make[1]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src'  
  37. make -C osdep  
  38. make -C osdep  
  39. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o debug.o debug.c  
  40. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o helpers.o helpers.c  
  41. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o mac_addr.o mac_addr.c  
  42. make[2]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep'  
  43. make[2]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep'  
  44. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o linkedlist.o linkedlist.c  
  45. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o greylist.o greylist.c  
  46. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o dumpfile.o dumpfile.c  
  47. greylist.c: In function ‘load_greylist’:  
  48. greylist.c:67:13: warning: assignment to ‘struct greylist *’ from incompatible pointer type ‘struct blacklist *’ [-Wincompatible-pointer-types]  
  49.    67 |       glist = blist;  
  50.       |             ^  
  51. greylist.c:72:13: warning: assignment to ‘struct greylist *’ from incompatible pointer type ‘struct whitelist *’ [-Wincompatible-pointer-types]  
  52.    72 |       glist = wlist;  
  53.       |             ^  
  54. greylist.c: In function ‘is_blacklisted’:  
  55. greylist.c:105:38: warning: passing argument 2 of ‘search_in_greylist’ from incompatible pointer type [-Wincompatible-pointer-types]  
  56.   105 |      entry = search_in_greylist(mac, blist);  
  57.       |                                      ^~~~~  
  58.       |                                      |  
  59.       |                                      struct blacklist *  
  60. greylist.c:44:77: note: expected ‘struct greylist *’ but argument is of type ‘struct blacklist *’  
  61.    44 | struct greylist *search_in_greylist(struct ether_addr mac, struct greylist *glist) {  
  62.       |                                                            ~~~~~~~~~~~~~~~~~^~~~~  
  63. greylist.c: In function ‘is_whitelisted’:  
  64. greylist.c:119:37: warning: passing argument 2 of ‘search_in_greylist’ from incompatible pointer type [-Wincompatible-pointer-types]  
  65.   119 |     entry = search_in_greylist(mac, wlist);  
  66.       |                                     ^~~~~  
  67.       |                                     |  
  68.       |                                     struct whitelist *  
  69. greylist.c:44:77: note: expected ‘struct greylist *’ but argument is of type ‘struct whitelist *’  
  70.    44 | struct greylist *search_in_greylist(struct ether_addr mac, struct greylist *glist) {  
  71.       |                                                            ~~~~~~~~~~~~~~~~~^~~~~  
  72. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o packet.o packet.c  
  73. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o brute.o brute.c  
  74. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o osdep.o osdep.c  
  75. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o channelhopper.o channelhopper.c  
  76. packet.c: In function ‘create_ieee_hdr’:  
  77. packet.c:13:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]  
  78.    13 |   if (!fragment) seqno++; seqno %= 0x1000;  
  79.       |   ^~  
  80. packet.c:13:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’  
  81.    13 |   if (!fragment) seqno++; seqno %= 0x1000;  
  82.       |                           ^~~~~  
  83. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o ghosting.o ghosting.c  
  84. In file included from /usr/include/string.h:519,  
  85.                  from osdep.c:4:  
  86. In function ‘strncpy’,  
  87.     inlined from ‘osdep_init_txpowers’ at osdep.c:180:5:  
  88. /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]  
  89.   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));  
  90.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  91. In function ‘strncpy’,  
  92.     inlined from ‘osdep_init_txpowers’ at osdep.c:219:3:  
  93. /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]  
  94.   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));  
  95.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  96. In file included from /usr/include/stdio.h:866,  
  97.                  from osdep.c:1:  
  98. In function ‘printf’,  
  99.     inlined from ‘osdep_init_txpowers’ at osdep.c:166:7:  
  100. /usr/include/bits/stdio2.h:110:10: warning: ‘%s’ directive argument is null [-Wformat-overflow=]  
  101.   110 |   return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());  
  102.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  103. In file included from /usr/include/string.h:519,  
  104.                  from osdep.c:4:  
  105. In function ‘strncpy’,  
  106.     inlined from ‘osdep_random_txpower’ at osdep.c:266:5:  
  107. /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]  
  108.   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));  
  109.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  110. In function ‘strncpy’,  
  111.     inlined from ‘osdep_random_txpower’ at osdep.c:283:3:  
  112. /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]  
  113.   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));  
  114.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  115. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2  -c -o fragmenting.o fragmenting.c  
  116. make -C attacks  
  117. channelhopper.c:48:26: warning: initialization of ‘pthread_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]  
  118.    48 | pthread_t chan_sniffer = NULL;  
  119.       |                          ^~~~  
  120. channelhopper.c: In function ‘error_handler’:  
  121. channelhopper.c:155:46: warning: unused parameter ‘nla’ [-Wunused-parameter]  
  122.   155 | static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err,  
  123.       |                          ~~~~~~~~~~~~~~~~~~~~^~~  
  124. channelhopper.c: In function ‘finish_handler’:  
  125. channelhopper.c:163:42: warning: unused parameter ‘msg’ [-Wunused-parameter]  
  126.   163 | static int finish_handler(struct nl_msg *msg, void *arg)  
  127.       |                           ~~~~~~~~~~~~~~~^~~  
  128. channelhopper.c: In function ‘ack_handler’:  
  129. channelhopper.c:170:39: warning: unused parameter ‘msg’ [-Wunused-parameter]  
  130.   170 | static int ack_handler(struct nl_msg *msg, void *arg)  
  131.       |                        ~~~~~~~~~~~~~~~^~~  
  132. channelhopper.c: In function ‘valid_handler’:  
  133. channelhopper.c:186:45: warning: unused parameter ‘arg’ [-Wunused-parameter]  
  134.   186 | int valid_handler(struct nl_msg *msg, void *arg)  
  135.       |                                       ~~~~~~^~~  
  136. channelhopper.c: In function ‘handle_channels’:  
  137. channelhopper.c:328:50: warning: unused parameter ‘state’ [-Wunused-parameter]  
  138.   328 | static int handle_channels(struct nl80211_state *state, struct nl_msg *msg)  
  139.       |                            ~~~~~~~~~~~~~~~~~~~~~~^~~~~  
  140. channelhopper.c: In function ‘channel_sniff’:  
  141. channelhopper.c:387:6: warning: unused variable ‘ie_type’ [-Wunused-variable]  
  142.   387 |  int ie_type;  
  143.       |      ^~~~~~~  
  144. channelhopper.c: In function ‘init_channel_hopper’:  
  145. channelhopper.c:592:19: warning: unused variable ‘i’ [-Wunused-variable]  
  146.   592 |     int lpos = 0, i;  
  147.       |                   ^  
  148. At top level:  
  149. channelhopper.c:240:14: warning: ‘dfs_state_name’ defined but not used [-Wunused-function]  
  150.   240 | static char *dfs_state_name(enum nl80211_dfs_state state)  
  151.       |              ^~~~~~~~~~~~~~  
  152. make[2]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  153. make -C attacks  
  154. make -C attacks  
  155. make[2]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  156. make[2]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  157. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o attacks.o attacks.c  
  158. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o attacks.o attacks.c  
  159. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o attacks.o attacks.c  
  160. attacks.c: In function ‘load_attacks’:  
  161. attacks.c:8:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]  
  162.     8 |   struct attacks *attacks = malloc(sizeof(struct attacks) * attack_count);  
  163.       |                             ^~~~~~  
  164. attacks.c:8:29: warning: incompatible implicit declaration of built-in function ‘malloc’  
  165. attacks.c:4:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’  
  166.     3 | #include "attacks.h"  
  167.   +++ |+#include <stdlib.h>  
  168.     4 |   
  169. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o auth_dos.o auth_dos.c  
  170. attacks.c: In function ‘load_attacks’:  
  171. attacks.c:8:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]  
  172.     8 |   struct attacks *attacks = malloc(sizeof(struct attacks) * attack_count);  
  173.       |                             ^~~~~~  
  174. attacks.c:8:29: warning: incompatible implicit declaration of built-in function ‘malloc’  
  175. attacks.c:4:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’  
  176.     3 | #include "attacks.h"  
  177.   +++ |+#include <stdlib.h>  
  178.     4 |   
  179. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o auth_dos.o auth_dos.c  
  180. attacks.c: In function ‘load_attacks’:  
  181. attacks.c:8:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]  
  182.     8 |   struct attacks *attacks = malloc(sizeof(struct attacks) * attack_count);  
  183.       |                             ^~~~~~  
  184. attacks.c:8:29: warning: incompatible implicit declaration of built-in function ‘malloc’  
  185. attacks.c:4:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’  
  186.     3 | #include "attacks.h"  
  187.   +++ |+#include <stdlib.h>  
  188.     4 |   
  189. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o auth_dos.o auth_dos.c  
  190. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o beacon_flood.o beacon_flood.c  
  191. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o beacon_flood.o beacon_flood.c  
  192. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o countermeasures.o countermeasures.c  
  193. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o beacon_flood.o beacon_flood.c  
  194. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o deauth.o deauth.c  
  195. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o countermeasures.o countermeasures.c  
  196. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o countermeasures.o countermeasures.c  
  197. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o dummy.o dummy.c  
  198. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o deauth.o deauth.c  
  199. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o deauth.o deauth.c  
  200. dummy.c: In function ‘dummy_parse’:  
  201. dummy.c:30:32: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]  
  202.    30 |   struct dummy_options *dopt = malloc(sizeof(struct dummy_options));  
  203.       |                                ^~~~~~  
  204. dummy.c:30:32: warning: incompatible implicit declaration of built-in function ‘malloc’  
  205. dummy.c:5:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’  
  206.     4 | #include "dummy.h"  
  207.   +++ |+#include <stdlib.h>  
  208.     5 |   
  209. dummy.c: In function ‘load_dummy’:  
  210. dummy.c:69:22: warning: incompatible implicit declaration of built-in function ‘malloc’  
  211.    69 |   char *dummy_name = malloc(strlen(DUMMY_NAME) + 1);  
  212.       |                      ^~~~~~  
  213. dummy.c:69:22: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’  
  214. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o eapol.o eapol.c  
  215. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o dummy.o dummy.c  
  216. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o eapol.o eapol.c  
  217. dummy.c: In function ‘dummy_parse’:  
  218. dummy.c:30:32: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]  
  219.    30 |   struct dummy_options *dopt = malloc(sizeof(struct dummy_options));  
  220.       |                                ^~~~~~  
  221. dummy.c:30:32: warning: incompatible implicit declaration of built-in function ‘malloc’  
  222. dummy.c:5:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’  
  223.     4 | #include "dummy.h"  
  224.   +++ |+#include <stdlib.h>  
  225.     5 |   
  226. dummy.c: In function ‘load_dummy’:  
  227. dummy.c:69:22: warning: incompatible implicit declaration of built-in function ‘malloc’  
  228.    69 |   char *dummy_name = malloc(strlen(DUMMY_NAME) + 1);  
  229.       |                      ^~~~~~  
  230. dummy.c:69:22: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’  
  231. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o eapol.o eapol.c  
  232. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o fuzzer.o fuzzer.c  
  233. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o fuzzer.o fuzzer.c  
  234. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o fuzzer.o fuzzer.c  
  235. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o ieee80211s.o ieee80211s.c  
  236. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o ieee80211s.o ieee80211s.c  
  237. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o probing.o probing.c  
  238. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o ieee80211s.o ieee80211s.c  
  239. probing.c: In function ‘create_probe_req’:  
  240. probing.c:236:3: warning: implicit declaration of function ‘add_ssid_set’ [-Wimplicit-function-declaration]  
  241.   236 |   add_ssid_set(&probe, ssid);  
  242.       |   ^~~~~~~~~~~~  
  243. probing.c:237:3: warning: implicit declaration of function ‘add_rate_sets’ [-Wimplicit-function-declaration]  
  244.   237 |   add_rate_sets(&probe, 1, 1);  
  245.       |   ^~~~~~~~~~~~~  
  246. probing.c:240:25: warning: pointer targets in passing argument 2 of ‘stpcpy’ differ in signedness [-Wpointer-sign]  
  247.   240 |   stpcpy(popt->proceed, ssid);  
  248.       |                         ^~~~  
  249.       |                         |  
  250.       |                         unsigned char *  
  251. In file included from probing.c:4:  
  252. /usr/include/string.h:475:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’  
  253.   475 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)  
  254.       |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~  
  255. probing.c:195:27: warning: unused variable ‘ssid_len’ [-Wunused-variable]  
  256.   195 |   unsigned char i,c,type, ssid_len;  
  257.       |                           ^~~~~~~~  
  258. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o probing.o probing.c  
  259. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o wids.o wids.c  
  260. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o wids.o wids.c  
  261. probing.c: In function ‘create_probe_req’:  
  262. probing.c:236:3: warning: implicit declaration of function ‘add_ssid_set’ [-Wimplicit-function-declaration]  
  263.   236 |   add_ssid_set(&probe, ssid);  
  264.       |   ^~~~~~~~~~~~  
  265. probing.c:237:3: warning: implicit declaration of function ‘add_rate_sets’ [-Wimplicit-function-declaration]  
  266.   237 |   add_rate_sets(&probe, 1, 1);  
  267.       |   ^~~~~~~~~~~~~  
  268. probing.c:240:25: warning: pointer targets in passing argument 2 of ‘stpcpy’ differ in signedness [-Wpointer-sign]  
  269.   240 |   stpcpy(popt->proceed, ssid);  
  270.       |                         ^~~~  
  271.       |                         |  
  272.       |                         unsigned char *  
  273. In file included from probing.c:4:  
  274. /usr/include/string.h:475:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’  
  275.   475 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)  
  276.       |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~  
  277. probing.c:195:27: warning: unused variable ‘ssid_len’ [-Wunused-variable]  
  278.   195 |   unsigned char i,c,type, ssid_len;  
  279.       |                           ^~~~~~~~  
  280. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o wids.o wids.c  
  281. make[2]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  282. make -C attacks  
  283. make[2]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  284. make[2]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  285. make[2]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  286. make -C attacks  
  287. Building for Linux  
  288. make[2]: Nothing to be done for 'all'.  
  289. make[2]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  290. make[2]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  291. make[3]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep'  
  292. Building for Linux  
  293. make[2]: Nothing to be done for 'all'.  
  294. make[2]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  295. make[3]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep'  
  296. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o osdep.o osdep.c  
  297. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o network.o network.c  
  298. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o file.o file.c  
  299. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o linux.o linux.c  
  300. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o linux_tap.o linux_tap.c  
  301. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o radiotap/radiotap.o radiotap/radiotap.c  
  302. In file included from /usr/include/string.h:519,  
  303.                  from linux_tap.c:33:  
  304. In function ‘strncpy’,  
  305.     inlined from ‘ti_do_open_linux’ at linux_tap.c:72:5,  
  306.     inlined from ‘ti_open_linux’ at linux_tap.c:192:7,  
  307.     inlined from ‘ti_open’ at linux_tap.c:207:9:  
  308. /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 15 bytes from a string of length 63 [-Wstringop-truncation]  
  309.   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));  
  310.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  311. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o common.o common.c  
  312. linux.c: In function ‘is_ndiswrapper’:  
  313. linux.c:183:17: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable]  
  314.   183 |     int n, pid, unused;  
  315.       |                 ^~~~~~  
  316. linux.c: In function ‘linux_set_rate’:  
  317. linux.c:457:22: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable]  
  318.   457 |     int pid, status, unused;  
  319.       |                      ^~~~~~  
  320. linux.c: In function ‘linux_set_channel_nl80211’:  
  321. linux.c:950:22: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable]  
  322.   950 |     int pid, status, unused;  
  323.       |                      ^~~~~~  
  324. linux.c: In function ‘linux_set_channel’:  
  325. linux.c:1052:22: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable]  
  326.  1052 |     int pid, status, unused;  
  327.       |                      ^~~~~~  
  328. linux.c: In function ‘linux_set_freq’:  
  329. linux.c:1143:22: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable]  
  330.  1143 |     int pid, status, unused;  
  331.       |                      ^~~~~~  
  332. linux.c: In function ‘set_monitor’:  
  333. linux.c:1273:22: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable]  
  334.  1273 |     int pid, status, unused;  
  335.       |                      ^~~~~~  
  336. linux.c: In function ‘openraw’:  
  337. linux.c:1513:63: warning: comparison of constant ‘6’ with boolean expression is always false [-Wbool-compare]  
  338.  1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )  
  339.       |                                                               ^~  
  340. linux.c:1513:63: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]  
  341. linux.c:1513:46: note: add parentheses around left hand side expression to silence this warning  
  342.  1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )  
  343.       |                                              ^~~~~~~~~~~~~~~~  
  344.       |                                              (               )  
  345. linux.c:1523:67: warning: comparison of constant ‘6’ with boolean expression is always false [-Wbool-compare]  
  346.  1523 |             if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )  
  347.       |                                                                   ^~  
  348. linux.c:1523:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]  
  349. linux.c:1523:50: note: add parentheses around left hand side expression to silence this warning  
  350.  1523 |             if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )  
  351.       |                                                  ^~~~~~~~~~~~~~~~  
  352.       |                                                  (               )  
  353. linux.c: In function ‘do_linux_open’:  
  354. linux.c:1620:12: warning: variable ‘unused_str’ set but not used [-Wunused-but-set-variable]  
  355.  1620 |     char * unused_str;  
  356.       |            ^~~~~~~~~~  
  357. linux.c:1606:15: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable]  
  358.  1606 |     int kver, unused;  
  359.       |               ^~~~~~  
  360. linux.c: In function ‘get_battery_state’:  
  361. linux.c:2273:35: warning: variable ‘current’ set but not used [-Wunused-but-set-variable]  
  362.  2273 |         int rate = 1, remain = 0, current = 0;  
  363.       |                                   ^~~~~~~  
  364. At top level:  
  365. linux.c:2057:13: warning: ‘linux_close’ defined but not used [-Wunused-function]  
  366.  2057 | static void linux_close(struct wif *wi)  
  367.       |             ^~~~~~~~~~~  
  368. linux.c:1048:12: warning: ‘linux_set_channel’ defined but not used [-Wunused-function]  
  369.  1048 | static int linux_set_channel(struct wif *wi, int channel)  
  370.       |            ^~~~~~~~~~~~~~~~~  
  371. In file included from /usr/include/string.h:519,  
  372.                  from linux.c:36:  
  373. In function ‘strncpy’,  
  374.     inlined from ‘do_linux_open.constprop’ at linux.c:1906:9:  
  375. /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]  
  376.   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));  
  377.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  378. linux.c: In function ‘do_linux_open.constprop’:  
  379. linux.c:1906:9: note: length computed here  
  380.  1906 |         strncpy(dev->main_if, iface, strlen(iface));  
  381.       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  382. In file included from /usr/include/string.h:519,  
  383.                  from linux.c:36:  
  384. In function ‘strncpy’,  
  385.     inlined from ‘do_linux_open.constprop’ at linux.c:1911:9:  
  386. /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]  
  387.   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));  
  388.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  389. linux.c: In function ‘do_linux_open.constprop’:  
  390. linux.c:1911:9: note: length computed here  
  391.  1911 |         strncpy(iface, buf, strlen(buf));  
  392.       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  393. linux.c:1937:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=]  
  394.  1937 |                     "/sys/class/net/%s/device/rtap_iface", this_iface->d_name);  
  395.       |                                     ^~  
  396. In file included from /usr/include/stdio.h:866,  
  397.                  from linux.c:34:  
  398. /usr/include/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 34 and 289 bytes into a destination of size 128  
  399.    70 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,  
  400.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  401.    71 |        __bos (__s), __fmt, __va_arg_pack ());  
  402.       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  403. linux.c: In function ‘get_battery_state’:  
  404. linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull]  
  405.  2310 |             closedir(batteries);  
  406.       |             ^~~~~~~~~~~~~~~~~~~  
  407. In file included from linux.c:40:  
  408. /usr/include/dirent.h:149:12: note: in a call to function ‘closedir’ declared here  
  409.   149 | extern int closedir (DIR *__dirp) __nonnull ((1));  
  410.       |            ^~~~~~~~  
  411. linux.c:2318:78: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]  
  412.  2318 |             snprintf(battery_info, sizeof(battery_info), "/proc/acpi/battery/%s/info", this_battery->d_name);  
  413.       |                                                                              ^~  
  414. In file included from /usr/include/stdio.h:866,  
  415.                  from linux.c:34:  
  416. /usr/include/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 25 and 280 bytes into a destination of size 128  
  417.    70 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,  
  418.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  419.    71 |        __bos (__s), __fmt, __va_arg_pack ());  
  420.       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  421. linux.c:2330:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]  
  422.  2330 |                 "/proc/acpi/battery/%s/state", this_battery->d_name);  
  423.       |                                     ^~  
  424. In file included from /usr/include/stdio.h:866,  
  425.                  from linux.c:34:  
  426. /usr/include/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 26 and 281 bytes into a destination of size 128  
  427.    70 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,  
  428.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  429.    71 |        __bos (__s), __fmt, __va_arg_pack ());  
  430.       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  431. linux.c:2289:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 106 [-Wformat-truncation=]  
  432.  2289 |                 "/proc/acpi/ac_adapter/%s/state", this_adapter->d_name);  
  433.       |                                        ^~  
  434. In file included from /usr/include/stdio.h:866,  
  435.                  from linux.c:34:  
  436. /usr/include/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 29 and 284 bytes into a destination of size 128  
  437.    70 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,  
  438.       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  439.    71 |        __bos (__s), __fmt, __va_arg_pack ());  
  440.       |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  441. ar cru libosdep.a  osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o  
  442. ar cru libosdep.a  osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o  
  443. ar: `u' modifier ignored since `D' is the default (see `U')  
  444. ar: `u' modifier ignored since `D' is the default (see `U')  
  445. ranlib libosdep.a   
  446. ranlib libosdep.a   
  447. touch .os.Linux  
  448. make[3]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep'  
  449. make[2]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep'  
  450. touch .os.Linux  
  451. make -C attacks  
  452. make[3]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep'  
  453. make[2]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/osdep'  
  454. make[2]: Entering directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  455. make[2]: Nothing to be done for 'all'.  
  456. make[2]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks'  
  457. gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -g -O3 -Wall -Wextra  -D_FORTIFY_SOURCE=2 mdk4.c osdep/libosdep.a debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o osdep.o channelhopper.o ghosting.o fragmenting.o attacks/attacks.o attacks/auth_dos.o attacks/beacon_flood.o attacks/countermeasures.o attacks/deauth.o attacks/dummy.o attacks/eapol.o attacks/fuzzer.o attacks/ieee80211s.o attacks/probing.o attacks/wids.o -o mdk4 -lnl-genl-3 -lnl-3  -lm -Losdep -losdep -lpthread -lpcap -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  
  458. mdk4.c: In function ‘main’:  
  459. mdk4.c:168:3: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]  
  460.   168 |   setuid(getuid());  
  461.       |   ^~~~~~~~~~~~~~~~  
  462. /usr/bin/ld: channelhopper.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/./attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  463. /usr/bin/ld: attacks/attacks.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  464. /usr/bin/ld: attacks/auth_dos.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  465. /usr/bin/ld: attacks/beacon_flood.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/beacon_flood.c:34: multiple definition of `bssid'; attacks/auth_dos.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/auth_dos.c:50: first defined here  
  466. /usr/bin/ld: attacks/beacon_flood.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  467. /usr/bin/ld: attacks/countermeasures.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  468. /usr/bin/ld: attacks/deauth.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/deauth.c:19: multiple definition of `bssid'; attacks/auth_dos.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/auth_dos.c:50: first defined here  
  469. /usr/bin/ld: attacks/deauth.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  470. /usr/bin/ld: attacks/dummy.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  471. /usr/bin/ld: attacks/eapol.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  472. /usr/bin/ld: attacks/fuzzer.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  473. /usr/bin/ld: attacks/ieee80211s.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  474. /usr/bin/ld: attacks/probing.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  475. /usr/bin/ld: attacks/wids.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: multiple definition of `attack_count'; /tmp/ccC5tBKr.o:/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src/attacks/attacks.h:39: first defined here  
  476. collect2: error: ld returned 1 exit status  
  477. make[1]: *** [Makefile:36: mdk4] Error 1  
  478. make[1]: Leaving directory '/home/pizzaman/Downloads/work-folder/PKGBUILDs/mdk4/src/mdk4-4.1/src'  
  479. make: *** [Makefile:10: all] Error 2  
  480. ==> ERROR: A failure occurred in build().  
  481.     Aborting...  
  482.  
 
 
 
 
Written by Xan Manning, 2010.