==> Synchronizing chroot copy [/chroot/i686/root] -> [build]...done
==> Making package: mdk4 4.1-1 (Wed Jan  8 09:41:06 2020)
==> Retrieving sources...
  -> Found 4.1.tar.gz
==> Validating source files with sha512sums...
    4.1.tar.gz ... Passed
Host and machine ids are equal (27f8a8a2107e4714a5587b00f7368723): refusing to link journals
==> Making package: mdk4 4.1-1 (Wed 08 Jan 2020 09:41:12 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 4.1.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting 4.1.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
make -C src clean
make[1]: Entering directory '/build/mdk4/src/mdk4-4.1/src'
rm -f mdk4
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
rm -f ../test *.o
make -C osdep clean
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/osdep'
make -C radiotap clean
make[3]: Entering directory '/build/mdk4/src/mdk4-4.1/src/osdep/radiotap'
rm -f *.o
make[3]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/osdep/radiotap'
rm -f libosdep.a  *.o .os.*
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/osdep'
make -C attacks clean
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/attacks'
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
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make[1]: Leaving directory '/build/mdk4/src/mdk4-4.1/src'
make -C src
make[1]: Entering directory '/build/mdk4/src/mdk4-4.1/src'
make -C osdep
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/osdep'
Building for Linux
make[3]: Entering directory '/build/mdk4/src/mdk4-4.1/src/osdep'
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o osdep.o osdep.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o network.o network.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o file.o file.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o linux.o linux.c
linux.c: In function ‘openraw’:
linux.c:1513:63: warning: comparison of constant ‘6’ with boolean expression is always false [-Wbool-compare]
 1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                               ^~
linux.c:1513:63: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
linux.c:1513:46: note: add parentheses around left hand side expression to silence this warning
 1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                              ^~~~~~~~~~~~~~~~
      |                                              (               )
linux.c:1523:67: warning: comparison of constant ‘6’ with boolean expression is always false [-Wbool-compare]
 1523 |           if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                                 ^~

linux.c:1523:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
linux.c:1523:50: note: add parentheses around left hand side expression to silence this warning
 1523 |             if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                  ^~~~~~~~~~~~~~~~
      |                                                  (               )
At top level:
linux.c:2057:13: warning: linux_close’ defined but not used [-Wunused-function]
 2057 | static void linux_close(struct wif *wi)
      |             ^~~~~~~~~~~
linux.c:1048:12: warning: linux_set_channel’ defined but not used [-Wunused-function]
 1048 | static int linux_set_channel(struct wif *wi, int channel)
      |            ^~~~~~~~~~~~~~~~~
linux.c: In function ‘do_linux_open.constprop’:
linux.c:1937:37: warning: %s’ directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=]
 1937 |                     "/sys/class/net/%s/device/rtap_iface", this_iface->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/bits/stdio2.h:67:10: note: __builtin___snprintf_chk’ output between 34 and 289 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from linux.c:36:
In function ‘strncpy’,
    inlined from ‘do_linux_open.constprop’ at linux.c:1906:9:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function ‘do_linux_open.constprop’:
linux.c:1906:9: note: length computed here
 1906 |         strncpy(dev->main_if, iface, strlen(iface));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from linux.c:36:
In function ‘strncpy’,
    inlined from ‘do_linux_open.constprop’ at linux.c:1911:9:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function ‘do_linux_open.constprop’:
linux.c:1911:9: note: length computed here
 1911 |         strncpy(iface, buf, strlen(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function ‘get_battery_state’:
linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull]
 2310 |             closedir(batteries);
      |             ^~~~~~~~~~~~~~~~~~~
In file included from linux.c:40:
/usr/include/dirent.h:149:12: note: in a call to function ‘closedir’ declared here
  149 | extern int closedir (DIR *__dirp) __nonnull ((1));
      |            ^~~~~~~~
linux.c:2318:78: warning: %s’ directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]
 2318 | intf(battery_info, sizeof(battery_info), "/proc/acpi/battery/%s/info", this_battery->d_name);
      |                                                              ^~

In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/bits/stdio2.h:67:10: note: __builtin___snprintf_chk’ output between 25 and 280 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:2330:37: warning: %s’ directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]
 2330 |                 "/proc/acpi/battery/%s/state", this_battery->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/bits/stdio2.h:67:10: note: __builtin___snprintf_chk’ output between 26 and 281 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:2289:40: warning: %s’ directive output may be truncated writing up to 255 bytes into a region of size 106 [-Wformat-truncation=]
 2289 |                 "/proc/acpi/ac_adapter/%s/state", this_adapter->d_name);
      |                                        ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/bits/stdio2.h:67:10: note: __builtin___snprintf_chk’ output between 29 and 284 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o linux_tap.o linux_tap.c
In file included from /usr/include/string.h:494,
                 from linux_tap.c:33:
In function ‘strncpy’,
    inlined from ‘ti_do_open_linux’ at linux_tap.c:72:5,
    inlined from ‘ti_open_linux’ at linux_tap.c:192:7,
    inlined from ‘ti_open’ at linux_tap.c:207:9:
/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]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o radiotap/radiotap.o radiotap/radiotap.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o common.o common.c
ar cru libosdep.a  osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libosdep.a 
touch .os.Linux
make[3]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/osdep'
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/osdep'
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o debug.o debug.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o helpers.o helpers.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o mac_addr.o mac_addr.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o linkedlist.o linkedlist.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o greylist.o greylist.c
greylist.c: In function ‘load_greylist’:
greylist.c:67:13: warning: assignment to ‘struct greylist *’ from incompatible pointer type ‘struct blacklist *’ [-Wincompatible-pointer-types]
   67 |       glist = blist;
      |             ^
greylist.c:72:13: warning: assignment to ‘struct greylist *’ from incompatible pointer type ‘struct whitelist *’ [-Wincompatible-pointer-types]
   72 |       glist = wlist;
      |             ^
greylist.c: In function ‘is_blacklisted’:
greylist.c:105:38: warning: passing argument 2 of ‘search_in_greylist’ from incompatible pointer type [-Wincompatible-pointer-types]
  105 |      entry = search_in_greylist(mac, blist);
      |                                      ^~~~~
      |                                      |
      |                                      struct blacklist *
greylist.c:44:77: note: expected ‘struct greylist *’ but argument is of type ‘struct blacklist *’
   44 | t greylist *search_in_greylist(struct ether_addr mac, struct greylist *glist) {
      |                                                       ~~~~~~~~~~~~~~~~~^~~~~

greylist.c: In function ‘is_whitelisted’:
greylist.c:119:37: warning: passing argument 2 of ‘search_in_greylist’ from incompatible pointer type [-Wincompatible-pointer-types]
  119 |     entry = search_in_greylist(mac, wlist);
      |                                     ^~~~~
      |                                     |
      |                                     struct whitelist *
greylist.c:44:77: note: expected ‘struct greylist *’ but argument is of type ‘struct whitelist *’
   44 | t greylist *search_in_greylist(struct ether_addr mac, struct greylist *glist) {
      |                                                       ~~~~~~~~~~~~~~~~~^~~~~

gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o dumpfile.o dumpfile.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o packet.o packet.c
packet.c: In function ‘create_ieee_hdr’:
packet.c:13:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   13 |   if (!fragment) seqno++; seqno %= 0x1000;
      |   ^~
packet.c:13:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   13 |   if (!fragment) seqno++; seqno %= 0x1000;
      |                           ^~~~~
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o brute.o brute.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o osdep.o osdep.c
In file included from /usr/include/stdio.h:867,
                 from osdep.c:1:
In function ‘printf’,
    inlined from ‘osdep_init_txpowers’ at osdep.c:166:7:
/usr/include/bits/stdio2.h:107:10: warning: %s’ directive argument is null [-Wformat-overflow=]
  107 |   return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from osdep.c:4:
In function ‘strncpy’,
    inlined from ‘osdep_init_txpowers’ at osdep.c:180:5:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘osdep_init_txpowers’ at osdep.c:219:3:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘osdep_random_txpower’ at osdep.c:266:5:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘osdep_random_txpower’ at osdep.c:283:3:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o channelhopper.o channelhopper.c
channelhopper.c:48:26: warning: initialization of ‘pthread_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
   48 | pthread_t chan_sniffer = NULL;
      |                          ^~~~
channelhopper.c: In function ‘error_handler’:
channelhopper.c:155:46: warning: unused parameter ‘nla’ [-Wunused-parameter]
  155 | static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err,
      |                          ~~~~~~~~~~~~~~~~~~~~^~~
channelhopper.c: In function ‘finish_handler’:
channelhopper.c:163:42: warning: unused parameter ‘msg’ [-Wunused-parameter]
  163 | static int finish_handler(struct nl_msg *msg, void *arg)
      |                           ~~~~~~~~~~~~~~~^~~
channelhopper.c: In function ‘ack_handler’:
channelhopper.c:170:39: warning: unused parameter ‘msg’ [-Wunused-parameter]
  170 | static int ack_handler(struct nl_msg *msg, void *arg)
      |                        ~~~~~~~~~~~~~~~^~~
channelhopper.c: In function ‘valid_handler’:
channelhopper.c:186:45: warning: unused parameter ‘arg’ [-Wunused-parameter]
  186 | int valid_handler(struct nl_msg *msg, void *arg)
      |                                       ~~~~~~^~~
channelhopper.c: In function ‘handle_channels’:
channelhopper.c:328:50: warning: unused parameter ‘state’ [-Wunused-parameter]
  328 | static int handle_channels(struct nl80211_state *state, struct nl_msg *msg)
      |                            ~~~~~~~~~~~~~~~~~~~~~~^~~~~
channelhopper.c: In function ‘channel_sniff’:
channelhopper.c:387:6: warning: unused variable ‘ie_type’ [-Wunused-variable]
  387 |  int ie_type;
      |      ^~~~~~~
channelhopper.c: In function ‘init_channel_hopper’:
channelhopper.c:592:19: warning: unused variable ‘i’ [-Wunused-variable]
  592 |     int lpos = 0, i;
      |                   ^
At top level:
channelhopper.c:240:14: warning: dfs_state_name’ defined but not used [-Wunused-function]
  240 | static char *dfs_state_name(enum nl80211_dfs_state state)
      |              ^~~~~~~~~~~~~~
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o ghosting.o ghosting.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o fragmenting.o fragmenting.c
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/attacks'
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -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]
    8 |   struct attacks *attacks = malloc(sizeof(struct attacks) * attack_count);
      |                             ^~~~~~
attacks.c:8:29: warning: incompatible implicit declaration of built-in function ‘mallocattacks.c:4:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
    3 | #include "attacks.h"
  +++ |+#include <stdlib.h>
    4 | 
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o auth_dos.o auth_dos.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o beacon_flood.o beacon_flood.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o countermeasures.o countermeasures.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o deauth.o deauth.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o dummy.o dummy.c
dummy.c: In function ‘dummy_parse’:
dummy.c:30:32: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
   30 |   struct dummy_options *dopt = malloc(sizeof(struct dummy_options));
      |                                ^~~~~~
dummy.c:30:32: warning: incompatible implicit declaration of built-in function ‘mallocdummy.c:5:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
    4 | #include "dummy.h"
  +++ |+#include <stdlib.h>
    5 | 
dummy.c: In function ‘load_dummy’:
dummy.c:69:22: warning: incompatible implicit declaration of built-in function ‘malloc’
   69 |   char *dummy_name = malloc(strlen(DUMMY_NAME) + 1);
      |                      ^~~~~~
dummy.c:69:22: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o eapol.o eapol.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o fuzzer.o fuzzer.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o ieee80211s.o ieee80211s.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o probing.o probing.c
probing.c: In function ‘create_probe_req’:
probing.c:236:3: warning: implicit declaration of function ‘add_ssid_set’ [-Wimplicit-function-declaration]
  236 |   add_ssid_set(&probe, ssid);
      |   ^~~~~~~~~~~~
probing.c:237:3: warning: implicit declaration of function ‘add_rate_sets’ [-Wimplicit-function-declaration]
  237 |   add_rate_sets(&probe, 1, 1);
      |   ^~~~~~~~~~~~~
probing.c:240:25: warning: pointer targets in passing argument 2 of ‘stpcpy’ differ in signedness [-Wpointer-sign]
  240 |   stpcpy(popt->proceed, ssid);
      |                         ^~~~
      |                         |
      |                         unsigned char *
In file included from probing.c:4:
/usr/include/string.h:451:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
  451 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)
      |              ^~~~~~
probing.c:195:27: warning: unused variable ‘ssid_len’ [-Wunused-variable]
  195 |   unsigned char i,c,type, ssid_len;
      |                           ^~~~~~~~
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o wids.o wids.c
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/attacks'
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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
mdk4.c: In function ‘main’:
mdk4.c:168:3: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result]
  168 |   setuid(getuid());
      |   ^~~~~~~~~~~~~~~~
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make[1]: Leaving directory '/build/mdk4/src/mdk4-4.1/src'
==> Entering fakeroot environment...
==> Starting package()...
make -C src clean
make[1]: Entering directory '/build/mdk4/src/mdk4-4.1/src'
rm -f mdk4
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
rm -f ../test *.o
make -C osdep clean
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/osdep'
make -C radiotap clean
make[3]: Entering directory '/build/mdk4/src/mdk4-4.1/src/osdep/radiotap'
rm -f *.o
make[3]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/osdep/radiotap'
rm -f libosdep.a  *.o .os.*
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/osdep'
make -C attacks clean
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/attacks'
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
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make[1]: Leaving directory '/build/mdk4/src/mdk4-4.1/src'
make -C src
make[1]: Entering directory '/build/mdk4/src/mdk4-4.1/src'
make -C osdep
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/osdep'
Building for Linux
make[3]: Entering directory '/build/mdk4/src/mdk4-4.1/src/osdep'
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o osdep.o osdep.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o network.o network.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o file.o file.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o linux.o linux.c
linux.c: In function ‘openraw’:
linux.c:1513:63: warning: comparison of constant ‘6’ with boolean expression is always false [-Wbool-compare]
 1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                               ^~
linux.c:1513:63: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
linux.c:1513:46: note: add parentheses around left hand side expression to silence this warning
 1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                              ^~~~~~~~~~~~~~~~
      |                                              (               )
linux.c:1523:67: warning: comparison of constant ‘6’ with boolean expression is always false [-Wbool-compare]
 1523 |           if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                                 ^~

linux.c:1523:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
linux.c:1523:50: note: add parentheses around left hand side expression to silence this warning
 1523 |             if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                  ^~~~~~~~~~~~~~~~
      |                                                  (               )
At top level:
linux.c:2057:13: warning: linux_close’ defined but not used [-Wunused-function]
 2057 | static void linux_close(struct wif *wi)
      |             ^~~~~~~~~~~
linux.c:1048:12: warning: linux_set_channel’ defined but not used [-Wunused-function]
 1048 | static int linux_set_channel(struct wif *wi, int channel)
      |            ^~~~~~~~~~~~~~~~~
linux.c: In function ‘do_linux_open.constprop’:
linux.c:1937:37: warning: %s’ directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=]
 1937 |                     "/sys/class/net/%s/device/rtap_iface", this_iface->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/bits/stdio2.h:67:10: note: __builtin___snprintf_chk’ output between 34 and 289 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from linux.c:36:
In function ‘strncpy’,
    inlined from ‘do_linux_open.constprop’ at linux.c:1906:9:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function ‘do_linux_open.constprop’:
linux.c:1906:9: note: length computed here
 1906 |         strncpy(dev->main_if, iface, strlen(iface));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from linux.c:36:
In function ‘strncpy’,
    inlined from ‘do_linux_open.constprop’ at linux.c:1911:9:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function ‘do_linux_open.constprop’:
linux.c:1911:9: note: length computed here
 1911 |         strncpy(iface, buf, strlen(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function ‘get_battery_state’:
linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull]
 2310 |             closedir(batteries);
      |             ^~~~~~~~~~~~~~~~~~~
In file included from linux.c:40:
/usr/include/dirent.h:149:12: note: in a call to function ‘closedir’ declared here
  149 | extern int closedir (DIR *__dirp) __nonnull ((1));
      |            ^~~~~~~~
linux.c:2318:78: warning: %s’ directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]
 2318 | intf(battery_info, sizeof(battery_info), "/proc/acpi/battery/%s/info", this_battery->d_name);
      |                                                              ^~

In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/bits/stdio2.h:67:10: note: __builtin___snprintf_chk’ output between 25 and 280 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:2330:37: warning: %s’ directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]
 2330 |                 "/proc/acpi/battery/%s/state", this_battery->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/bits/stdio2.h:67:10: note: __builtin___snprintf_chk’ output between 26 and 281 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:2289:40: warning: %s’ directive output may be truncated writing up to 255 bytes into a region of size 106 [-Wformat-truncation=]
 2289 |                 "/proc/acpi/ac_adapter/%s/state", this_adapter->d_name);
      |                                        ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/bits/stdio2.h:67:10: note: __builtin___snprintf_chk’ output between 29 and 284 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o linux_tap.o linux_tap.c
In file included from /usr/include/string.h:494,
                 from linux_tap.c:33:
In function ‘strncpy’,
    inlined from ‘ti_do_open_linux’ at linux_tap.c:72:5,
    inlined from ‘ti_open_linux’ at linux_tap.c:192:7,
    inlined from ‘ti_open’ at linux_tap.c:207:9:
/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]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o radiotap/radiotap.o radiotap/radiotap.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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 -fPIC -I..  -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 -fPIC -I..  -D_FORTIFY_SOURCE=2  -c -o common.o common.c
ar cru libosdep.a  osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libosdep.a 
touch .os.Linux
make[3]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/osdep'
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/osdep'
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o debug.o debug.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o helpers.o helpers.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o mac_addr.o mac_addr.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o linkedlist.o linkedlist.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o greylist.o greylist.c
greylist.c: In function ‘load_greylist’:
greylist.c:67:13: warning: assignment to ‘struct greylist *’ from incompatible pointer type ‘struct blacklist *’ [-Wincompatible-pointer-types]
   67 |       glist = blist;
      |             ^
greylist.c:72:13: warning: assignment to ‘struct greylist *’ from incompatible pointer type ‘struct whitelist *’ [-Wincompatible-pointer-types]
   72 |       glist = wlist;
      |             ^
greylist.c: In function ‘is_blacklisted’:
greylist.c:105:38: warning: passing argument 2 of ‘search_in_greylist’ from incompatible pointer type [-Wincompatible-pointer-types]
  105 |      entry = search_in_greylist(mac, blist);
      |                                      ^~~~~
      |                                      |
      |                                      struct blacklist *
greylist.c:44:77: note: expected ‘struct greylist *’ but argument is of type ‘struct blacklist *’
   44 | t greylist *search_in_greylist(struct ether_addr mac, struct greylist *glist) {
      |                                                       ~~~~~~~~~~~~~~~~~^~~~~

greylist.c: In function ‘is_whitelisted’:
greylist.c:119:37: warning: passing argument 2 of ‘search_in_greylist’ from incompatible pointer type [-Wincompatible-pointer-types]
  119 |     entry = search_in_greylist(mac, wlist);
      |                                     ^~~~~
      |                                     |
      |                                     struct whitelist *
greylist.c:44:77: note: expected ‘struct greylist *’ but argument is of type ‘struct whitelist *’
   44 | t greylist *search_in_greylist(struct ether_addr mac, struct greylist *glist) {
      |                                                       ~~~~~~~~~~~~~~~~~^~~~~

gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o dumpfile.o dumpfile.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o packet.o packet.c
packet.c: In function ‘create_ieee_hdr’:
packet.c:13:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   13 |   if (!fragment) seqno++; seqno %= 0x1000;
      |   ^~
packet.c:13:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   13 |   if (!fragment) seqno++; seqno %= 0x1000;
      |                           ^~~~~
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o brute.o brute.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o osdep.o osdep.c
In file included from /usr/include/stdio.h:867,
                 from osdep.c:1:
In function ‘printf’,
    inlined from ‘osdep_init_txpowers’ at osdep.c:166:7:
/usr/include/bits/stdio2.h:107:10: warning: %s’ directive argument is null [-Wformat-overflow=]
  107 |   return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from osdep.c:4:
In function ‘strncpy’,
    inlined from ‘osdep_init_txpowers’ at osdep.c:180:5:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘osdep_init_txpowers’ at osdep.c:219:3:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘osdep_random_txpower’ at osdep.c:266:5:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘osdep_random_txpower’ at osdep.c:283:3:
/usr/include/bits/string_fortified.h:106:10: warning: __builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o channelhopper.o channelhopper.c
channelhopper.c:48:26: warning: initialization of ‘pthread_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
   48 | pthread_t chan_sniffer = NULL;
      |                          ^~~~
channelhopper.c: In function ‘error_handler’:
channelhopper.c:155:46: warning: unused parameter ‘nla’ [-Wunused-parameter]
  155 | static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err,
      |                          ~~~~~~~~~~~~~~~~~~~~^~~
channelhopper.c: In function ‘finish_handler’:
channelhopper.c:163:42: warning: unused parameter ‘msg’ [-Wunused-parameter]
  163 | static int finish_handler(struct nl_msg *msg, void *arg)
      |                           ~~~~~~~~~~~~~~~^~~
channelhopper.c: In function ‘ack_handler’:
channelhopper.c:170:39: warning: unused parameter ‘msg’ [-Wunused-parameter]
  170 | static int ack_handler(struct nl_msg *msg, void *arg)
      |                        ~~~~~~~~~~~~~~~^~~
channelhopper.c: In function ‘valid_handler’:
channelhopper.c:186:45: warning: unused parameter ‘arg’ [-Wunused-parameter]
  186 | int valid_handler(struct nl_msg *msg, void *arg)
      |                                       ~~~~~~^~~
channelhopper.c: In function ‘handle_channels’:
channelhopper.c:328:50: warning: unused parameter ‘state’ [-Wunused-parameter]
  328 | static int handle_channels(struct nl80211_state *state, struct nl_msg *msg)
      |                            ~~~~~~~~~~~~~~~~~~~~~~^~~~~
channelhopper.c: In function ‘channel_sniff’:
channelhopper.c:387:6: warning: unused variable ‘ie_type’ [-Wunused-variable]
  387 |  int ie_type;
      |      ^~~~~~~
channelhopper.c: In function ‘init_channel_hopper’:
channelhopper.c:592:19: warning: unused variable ‘i’ [-Wunused-variable]
  592 |     int lpos = 0, i;
      |                   ^
At top level:
channelhopper.c:240:14: warning: dfs_state_name’ defined but not used [-Wunused-function]
  240 | static char *dfs_state_name(enum nl80211_dfs_state state)
      |              ^~~~~~~~~~~~~~
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o ghosting.o ghosting.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -D_FORTIFY_SOURCE=2  -c -o fragmenting.o fragmenting.c
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/attacks'
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -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]
    8 |   struct attacks *attacks = malloc(sizeof(struct attacks) * attack_count);
      |                             ^~~~~~
attacks.c:8:29: warning: incompatible implicit declaration of built-in function ‘mallocattacks.c:4:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
    3 | #include "attacks.h"
  +++ |+#include <stdlib.h>
    4 | 
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o auth_dos.o auth_dos.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o beacon_flood.o beacon_flood.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o countermeasures.o countermeasures.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o deauth.o deauth.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o dummy.o dummy.c
dummy.c: In function ‘dummy_parse’:
dummy.c:30:32: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
   30 |   struct dummy_options *dopt = malloc(sizeof(struct dummy_options));
      |                                ^~~~~~
dummy.c:30:32: warning: incompatible implicit declaration of built-in function ‘mallocdummy.c:5:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
    4 | #include "dummy.h"
  +++ |+#include <stdlib.h>
    5 | 
dummy.c: In function ‘load_dummy’:
dummy.c:69:22: warning: incompatible implicit declaration of built-in function ‘malloc’
   69 |   char *dummy_name = malloc(strlen(DUMMY_NAME) + 1);
      |                      ^~~~~~
dummy.c:69:22: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o eapol.o eapol.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o fuzzer.o fuzzer.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o ieee80211s.o ieee80211s.c
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o probing.o probing.c
probing.c: In function ‘create_probe_req’:
probing.c:236:3: warning: implicit declaration of function ‘add_ssid_set’ [-Wimplicit-function-declaration]
  236 |   add_ssid_set(&probe, ssid);
      |   ^~~~~~~~~~~~
probing.c:237:3: warning: implicit declaration of function ‘add_rate_sets’ [-Wimplicit-function-declaration]
  237 |   add_rate_sets(&probe, 1, 1);
      |   ^~~~~~~~~~~~~
probing.c:240:25: warning: pointer targets in passing argument 2 of ‘stpcpy’ differ in signedness [-Wpointer-sign]
  240 |   stpcpy(popt->proceed, ssid);
      |                         ^~~~
      |                         |
      |                         unsigned char *
In file included from probing.c:4:
/usr/include/string.h:451:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
  451 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)
      |              ^~~~~~
probing.c:195:27: warning: unused variable ‘ssid_len’ [-Wunused-variable]
  195 |   unsigned char i,c,type, ssid_len;
      |                           ^~~~~~~~
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -g -O3 -Wall -Wextra -D_FORTIFY_SOURCE=2  -c -o wids.o wids.c
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/attacks'
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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  -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
mdk4.c: In function ‘main’:
mdk4.c:168:3: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result]
  168 |   setuid(getuid());
      |   ^~~~~~~~~~~~~~~~
make -C attacks
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make[1]: Leaving directory '/build/mdk4/src/mdk4-4.1/src'
PREFIX=/build/mdk4/pkg/mdk4/usr make -C src install
make[1]: Entering directory '/build/mdk4/src/mdk4-4.1/src'
install -D -m 0755 mdk4 /build/mdk4/pkg/mdk4/usr/bin/mdk4
make -C attacks install
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make[2]: Nothing to be done for 'install'.
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/attacks'
make -C osdep install
make[2]: Entering directory '/build/mdk4/src/mdk4-4.1/src/osdep'
Building for Linux
make[3]: Entering directory '/build/mdk4/src/mdk4-4.1/src/osdep'
make[3]: '.os.Linux' is up to date.
make[3]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/osdep'
make[2]: Leaving directory '/build/mdk4/src/mdk4-4.1/src/osdep'
make[1]: Leaving directory '/build/mdk4/src/mdk4-4.1/src'
install -D -m 0644 man/mdk4.1 /build/mdk4/pkg/mdk4/usr/share/man/man8/mdk4.1
gzip -f /build/mdk4/pkg/mdk4/usr/share/man/man8/mdk4.1
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "mdk4"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: mdk4 4.1-1 (Wed 08 Jan 2020 09:41:37 AM EST)
==> Cleaning up...