Cook: mdk3 v6 ================================================================================ QA: checking package receipt... QA: unable to reach "http://aspj.aircrack-ng.org/index.html#mdk3" Extracting source archive "mdk3-v6.tar.bz2" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed make: Entering directory '/home/slitaz/wok/mdk3/source/mdk3-v6/osdep' Building for Linux make[1]: Entering directory '/home/slitaz/wok/mdk3/source/mdk3-v6/osdep' gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_GLIBCXX_USE_C99_MATH=1 -c -o osdep.o osdep.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_GLIBCXX_USE_C99_MATH=1 -c -o common.o common.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_GLIBCXX_USE_C99_MATH=1 -c -o network.o network.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_GLIBCXX_USE_C99_MATH=1 -c -o linux.o linux.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_GLIBCXX_USE_C99_MATH=1 -c -o linux_tap.o linux_tap.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_GLIBCXX_USE_C99_MATH=1 -c -o radiotap/radiotap-parser.o radiotap/radiotap-parser.c ar cru libosdep.a osdep.o common.o network.o linux.o linux_tap.o radiotap/radiotap-parser.o common.o ranlib libosdep.a touch .os.Linux make[1]: Leaving directory '/home/slitaz/wok/mdk3/source/mdk3-v6/osdep' make: Leaving directory '/home/slitaz/wok/mdk3/source/mdk3-v6/osdep' make -C osdep cc -g -O3 -Wall -Wextra -lpthread mdk3.c osdep/libosdep.a -o mdk3 -Losdep -losdep make[1]: Entering directory '/home/slitaz/wok/mdk3/source/mdk3-v6/osdep' Building for Linux make[2]: Entering directory '/home/slitaz/wok/mdk3/source/mdk3-v6/osdep' make[2]: '.os.Linux' is up to date. make[2]: Leaving directory '/home/slitaz/wok/mdk3/source/mdk3-v6/osdep' make[1]: Leaving directory '/home/slitaz/wok/mdk3/source/mdk3-v6/osdep' mdk3.c: In function 'ssid_brute_sniffer': mdk3.c:1512:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len=0; ^~~ mdk3.c: In function 'mac_bruteforce_sniffer': mdk3.c:1926:9: warning: variable 'plen' set but not used [-Wunused-but-set-variable] int plen = 0; ^~~~ mdk3.c: In function 'eapol_machine': mdk3.c:2560:17: warning: variable 'len' set but not used [-Wunused-but-set-variable] int co, flag, len; ^~~ mdk3.c: In function 'check_probe': mdk3.c:3153:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len = 0; ^~~ mdk3.c: In function 'mdk_parser': mdk3.c:3431:16: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (! argc > t+1) { printf(use_auth); return -1; } ^ mdk3.c:3431:9: note: add parentheses around left hand side expression to silence this warning if (! argc > t+1) { printf(use_auth); return -1; } ^~~~~~ ( ) mdk3.c:3436:16: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (! argc > t+1) { printf(use_auth); return -1; } ^ mdk3.c:3436:9: note: add parentheses around left hand side expression to silence this warning if (! argc > t+1) { printf(use_auth); return -1; } ^~~~~~ ( ) mdk3.c:3494:14: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (! argc > t+1) { printf(use_prob); return -1; } ^ mdk3.c:3494:7: note: add parentheses around left hand side expression to silence this warning if (! argc > t+1) { printf(use_prob); return -1; } ^~~~~~ ( ) mdk3.c:3746:31: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((nb_sent % 512 == 0) || (total_time % 30 == 0)) // After 512 packets or 30 seconds, search for new target ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ mdk3.c:3751:2: note: here case 'A': // Auth DoS mode with target MAC given ^~~~ mdk3.c: In function 'main': mdk3.c:3931:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid( getuid() ); ^~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/cc191XH7.o: in function `init_channel_hopper': /home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:1269: undefined reference to `pthread_create' /usr/bin/ld: /tmp/cc191XH7.o: in function `ssid_brute': /home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:2282: undefined reference to `pthread_create' /usr/bin/ld: /tmp/cc191XH7.o: in function `ssid_brute_real': /home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:2332: undefined reference to `pthread_create' /usr/bin/ld: /tmp/cc191XH7.o: in function `intelligent_auth_dos': /home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:2702: undefined reference to `pthread_create' /usr/bin/ld: /tmp/cc191XH7.o: in function `wids_machine': /home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:2790: undefined reference to `pthread_create' /usr/bin/ld: /tmp/cc191XH7.o:/home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:2868: more undefined references to `pthread_create' follow collect2: error: ld returned 1 exit status make: *** [Makefile:22: mdk3] Error 1 Debug information ret1. ================================================================================ Cook date: 2022-07-22 14:03 Wasted time : 2s 85:/home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:1269: undefined reference to `pthread_create' 87:/home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:2282: undefined reference to `pthread_create' 89:/home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:2332: undefined reference to `pthread_create' 91:/home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:2702: undefined reference to `pthread_create' 93:/home/slitaz/wok/mdk3/source/mdk3-v6/mdk3.c:2790: undefined reference to `pthread_create' 95:collect2: error: ld returned 1 exit status ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================