==> Synchronizing chroot copy [/chroot/x86_64/root] -> [build]...done ==> Making package: voiphopper 2.04-4 (Tue Oct 1 10:56:14 2019) ==> Retrieving sources... -> Found voiphopper-2.04.tar.gz ==> Validating source files with sha512sums... voiphopper-2.04.tar.gz ... Passed Host and machine ids are equal (27f8a8a2107e4714a5587b00f7368723): refusing to link journals ==> Making package: voiphopper 2.04-4 (Tue 01 Oct 2019 10:56:16 AM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found voiphopper-2.04.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting voiphopper-2.04.tar.gz with bsdtar ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking whether gcc and cc understand -c and -o together... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands Making all in src make[1]: Entering directory '/build/voiphopper/src/voiphopper-2.04/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c main.c: In function ‘main’: main.c:680:17: warning: implicit declaration of function ‘spoof_lldp_loop’ [-Wimplicit-function-declaration] 680 | spoof_lldp_loop(lldpDeviceID, IfName_temp); | ^~~~~~~~~~~~~~~ main.c:827:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 827 | rc = pthread_create(&sniffermain_threads[0],NULL,sniffer_main,(void *)arg); | ^ main.c:834:3: warning: implicit declaration of function ‘start_ass_ui’ [-Wimplicit-function-declaration] 834 | start_ass_ui(); | ^~~~~~~~~~~~ main.c:844:4: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 844 | IfName_temp = pcap_lookupdev(errbuf); | ^~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from main.c:41: /usr/include/pcap/pcap.h:326:16: note: declared here 326 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ mv -f .deps/main.Tpo .deps/main.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT dhcpconfig.o -MD -MP -MF .deps/dhcpconfig.Tpo -c -o dhcpconfig.o dhcpconfig.c dhcpconfig.c: In function ‘dhcpConfig’: dhcpconfig.c:492:11: warning: ignoring return value of ‘sethostname’, declared with attribute warn_unused_result [-Wunused-result] 492 | sethostname(DhcpOptions.val[hostName],DhcpOptions.len[hostName]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcpconfig.c:548:8: warning: ignoring return value of ‘setdomainname’, declared with attribute warn_unused_result [-Wunused-result] 548 | setdomainname(DhcpOptions.val[domainName], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 549 | DhcpOptions.len[domainName]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/dhcpconfig.Tpo .deps/dhcpconfig.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT buildmsg.o -MD -MP -MF .deps/buildmsg.Tpo -c -o buildmsg.o buildmsg.c buildmsg.c: In function ‘buildDhcpDiscover’: buildmsg.c:202:3: warning: implicit declaration of function ‘sprintf’ [-Wimplicit-function-declaration] 202 | sprintf(testStr,"ALCATEL-iptouch-%s",tmpMac2); | ^~~~~~~ buildmsg.c:202:3: warning: incompatible implicit declaration of built-in function ‘sprintf’ buildmsg.c:28:1: note: include ‘<stdio.h>’ or provide a declaration of ‘sprintf’ 27 | #include "udpipgen.h" +++ |+#include <stdio.h> 28 | buildmsg.c:256:38: warning: implicit declaration of function ‘toupper’ [-Wimplicit-function-declaration] 256 | tmpMac2[y] = toupper(tmpMac2[y]); | ^~~~~~~ buildmsg.c: In function ‘buildDhcpRequest’: buildmsg.c:488:17: warning: incompatible implicit declaration of built-in function ‘sprintf’ 488 | sprintf(testStr,"ALCATEL-iptouch-%s",tmpMac2); | ^~~~~~~ buildmsg.c:488:17: note: include ‘<stdio.h>’ or provide a declaration of ‘sprintf’ buildmsg.c: In function ‘buildDhcpReboot’: buildmsg.c:879:3: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] 879 | printf("End of build message\n"); | ^~~~~~ buildmsg.c:879:3: warning: incompatible implicit declaration of built-in function ‘printf’ buildmsg.c:879:3: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ mv -f .deps/buildmsg.Tpo .deps/buildmsg.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o cache.c mv -f .deps/cache.Tpo .deps/cache.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT udpipgen.o -MD -MP -MF .deps/udpipgen.Tpo -c -o udpipgen.o udpipgen.c mv -f .deps/udpipgen.Tpo .deps/udpipgen.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT peekfd.o -MD -MP -MF .deps/peekfd.Tpo -c -o peekfd.o peekfd.c mv -f .deps/peekfd.Tpo .deps/peekfd.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT dhcpclient.o -MD -MP -MF .deps/dhcpclient.Tpo -c -o dhcpclient.o dhcpclient.c dhcpclient.c: In function ‘dhcpSendAndRecv’: dhcpclient.c:918:15: warning: implicit declaration of function ‘dhcpTimedOut’ [-Wimplicit-function-declaration] 918 | if (dhcpTimedOut()){ | ^~~~~~~~~~~~ dhcpclient.c: In function ‘dhcpRelease’: dhcpclient.c:1555:7: warning: ignoring return value of ‘sethostname’, declared with attribute warn_unused_result [-Wunused-result] 1555 | sethostname(InitialHostName,InitialHostName_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcpclient.c:1561:7: warning: ignoring return value of ‘setdomainname’, declared with attribute warn_unused_result [-Wunused-result] 1561 | setdomainname(InitialDomainName,InitialDomainName_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/dhcpclient.Tpo .deps/dhcpclient.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT arp.o -MD -MP -MF .deps/arp.Tpo -c -o arp.o arp.c mv -f .deps/arp.Tpo .deps/arp.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT signals.o -MD -MP -MF .deps/signals.Tpo -c -o signals.o signals.c signals.c: In function ‘killPid’: signals.c:49:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 49 | fscanf(fp,"%u",&pid); | ^~~~~~~~~~~~~~~~~~~~ mv -f .deps/signals.Tpo .deps/signals.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT mac.o -MD -MP -MF .deps/mac.Tpo -c -o mac.o mac.c mv -f .deps/mac.Tpo .deps/mac.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT netinfo.o -MD -MP -MF .deps/netinfo.Tpo -c -o netinfo.o netinfo.c mv -f .deps/netinfo.Tpo .deps/netinfo.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT voiphop.o -MD -MP -MF .deps/voiphop.Tpo -c -o voiphop.o voiphop.c voiphop.c: In function ‘dhcpclientcall’: voiphop.c:235:21: warning: implicit declaration of function ‘dhcpTime’ [-Wimplicit-function-declaration] 235 | time_t elapsed = dhcpTime(); | ^~~~~~~~ voiphop.c: In function ‘create_cdp_pcap’: voiphop.c:426:25: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 426 | IfName_temp = pcap_lookupdev(errbuf); | ^~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from voiphop.c:35: /usr/include/pcap/pcap.h:326:16: note: declared here 326 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ voiphop.c: In function ‘cdp_mode’: voiphop.c:926:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 926 | rc = pthread_create(&threads[0],NULL,send_cdp,(void *)atsock); | ^ voiphop.c: In function ‘send_cdp’: voiphop.c:946:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 946 | atsock = (int)threadarg; | ^ mv -f .deps/voiphop.Tpo .deps/voiphop.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT asl.o -MD -MP -MF .deps/asl.Tpo -c -o asl.o asl.c asl.c: In function ‘print_arp_summary’: asl.c:374:13: warning: implicit declaration of function ‘ntohs’ [-Wimplicit-function-declaration] 374 | if (ntohs (eth_tempheader->ether_type) == ETHERTYPE_ARP) { | ^~~~~ mv -f .deps/asl.Tpo .deps/asl.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT ass.o -MD -MP -MF .deps/ass.Tpo -c -o ass.o ass.c ass.c: In function ‘sniff_arp_new’: ass.c:115:17: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 115 | vinterfaceTmp = pcap_lookupdev(errbuf); | ^~~~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from ./global_includes.h:14, from ass.c:23: /usr/include/pcap/pcap.h:326:16: note: declared here 326 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ ass.c: In function ‘sniffer_main’: ass.c:220:17: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 220 | IfName_temp = pcap_lookupdev(errbuf_main); | ^~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from ./global_includes.h:14, from ass.c:23: /usr/include/pcap/pcap.h:326:16: note: declared here 326 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ ass.c:270:38: warning: implicit declaration of function ‘process_main_packet’; did you mean ‘process_arp_packet’? [-Wimplicit-function-declaration] 270 | int retval = process_main_packet(header_main, packet_main); | ^~~~~~~~~~~~~~~~~~~ | process_arp_packet ass.c: In function ‘start_ass_ui’: ass.c:323:5: warning: implicit declaration of function ‘text_help’ [-Wimplicit-function-declaration] 323 | text_help(); | ^~~~~~~~~ ass.c:357:5: warning: implicit declaration of function ‘spoof_ip_mac’ [-Wimplicit-function-declaration] 357 | spoof_ip_mac(); | ^~~~~~~~~~~~ ass.c: At top level: ass.c:373:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 373 | text_help(){ | ^~~~~~~~~ ass.c: In function ‘process_main_packet’: ass.c:529:7: warning: implicit declaration of function ‘check_if_cdp’ [-Wimplicit-function-declaration] 529 | if ((check_if_cdp(header, packet) == 1) && (toggle_cdp_analysis == 1)) { | ^~~~~~~~~~~~ ass.c:536:14: warning: implicit declaration of function ‘get_cdp’ [-Wimplicit-function-declaration] 536 | vvid_cdp = get_cdp(args, header, packet); | ^~~~~~~ ass.c:540:5: warning: implicit declaration of function ‘vlan_hop_cdplldp’ [-Wimplicit-function-declaration] 540 | vlan_hop_cdplldp(vvid_cdp); | ^~~~~~~~~~~~~~~~ ass.c:549:6: warning: implicit declaration of function ‘check_if_arp’ [-Wimplicit-function-declaration] 549 | if (check_if_arp(header, packet) == 1) { | ^~~~~~~~~~~~ ass.c:557:7: warning: implicit declaration of function ‘check_if_8021Q’ [-Wimplicit-function-declaration] 557 | if ((check_if_8021Q(header, packet) == 1) && (toggle_8021q_analysis == 1)) { | ^~~~~~~~~~~~~~ ass.c:578:7: warning: implicit declaration of function ‘check_if_lldp’ [-Wimplicit-function-declaration] 578 | if ((check_if_lldp(header, packet) == 1) && (toggle_lldp_analysis == 1)) { | ^~~~~~~~~~~~~ ass.c:582:15: warning: implicit declaration of function ‘get_lldp’ [-Wimplicit-function-declaration] 582 | vvid_lldp = get_lldp(header, packet); | ^~~~~~~~ ass.c: In function ‘vlan_hop_cdplldp’: ass.c:729:17: warning: implicit declaration of function ‘create_vlan_interface’ [-Wimplicit-function-declaration] 729 | create_vlan_interface(IfName_temp,vvid_learned); | ^~~~~~~~~~~~~~~~~~~~~ ass.c:736:36: warning: implicit declaration of function ‘dhcpclientcall’ [-Wimplicit-function-declaration] 736 | int return_value = dhcpclientcall(vinterface); | ^~~~~~~~~~~~~~ ass.c:743:4: warning: implicit declaration of function ‘SetIP’ [-Wimplicit-function-declaration] 743 | SetIP(vinterface, randomIP); | ^~~~~ ass.c:744:17: warning: implicit declaration of function ‘ifup’ [-Wimplicit-function-declaration] 744 | int retval = ifup(vinterface); | ^~~~ ass.c:755:73: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 755 | rc = pthread_create(&new_arp_threads,NULL,sniff_arp_new,(void *)arg); | ^ ass.c: At top level: ass.c:767:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 767 | spoof_ip_mac() { | ^~~~~~~~~~~~ ass.c: In function ‘spoof_ip_mac’: ass.c:769:2: warning: implicit declaration of function ‘cancelthreads’ [-Wimplicit-function-declaration] 769 | cancelthreads(); | ^~~~~~~~~~~~~ ass.c:771:19: warning: implicit declaration of function ‘displaymenu’ [-Wimplicit-function-declaration] 771 | int phoneindex = displaymenu(host_count_n); | ^~~~~~~~~~~ ass.c:776:14: warning: implicit declaration of function ‘spoofIPPhone’ [-Wimplicit-function-declaration] 776 | int spoof = spoofIPPhone(phoneindex, vinterfaceTmp); | ^~~~~~~~~~~~ ass.c: At top level: ass.c:779:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 779 | cancelthreads(){ | ^~~~~~~~~~~~~ ass.c: In function ‘displaymenu’: ass.c:849:16: warning: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Wimplicit-function-declaration] 849 | if((result = gets(line)) != NULL){ | ^~~~ | fgets ass.c:849:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 849 | if((result = gets(line)) != NULL){ | ^ ass.c:852:8: warning: implicit declaration of function ‘checkinput_alpha’ [-Wimplicit-function-declaration] 852 | if (checkinput_alpha(line) == 0) { | ^~~~~~~~~~~~~~~~ ass.c:854:16: warning: implicit declaration of function ‘checkinput_numeric’ [-Wimplicit-function-declaration] 854 | int retv = checkinput_numeric(line); | ^~~~~~~~~~~~~~~~~~ ass.c: In function ‘spoofIPPhone’: ass.c:1000:2: warning: implicit declaration of function ‘SetMAC’ [-Wimplicit-function-declaration] 1000 | SetMAC(interface, addressbuff_n[index].mac); | ^~~~~~ ass.c: In function ‘SetMAC’: ass.c:1038:17: warning: implicit declaration of function ‘mc_macbytes_into_string’; did you mean ‘mc_mac_into_string’? [-Wimplicit-function-declaration] 1038 | mac_to_spoof = mc_macbytes_into_string(bytes); | ^~~~~~~~~~~~~~~~~~~~~~~ | mc_mac_into_string ass.c:1038:15: warning: assignment to ‘unsigned char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1038 | mac_to_spoof = mc_macbytes_into_string(bytes); | ^ mv -f .deps/ass.Tpo .deps/ass.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -D_FORTIFY_SOURCE=2 -I/usr/include/tirpc/ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT lldp.o -MD -MP -MF .deps/lldp.Tpo -c -o lldp.o lldp.c lldp.c: In function ‘get_lldp’: lldp.c:213:25: warning: implicit declaration of function ‘lldpcompare’ [-Wimplicit-function-declaration] 213 | retvallldpcompare = lldpcompare(sysnamebuff, lldpendpoints); | ^~~~~~~~~~~ lldp.c: At top level: lldp.c:1361:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1361 | spoof_lldp_loop(char *lldpdev, char *interface) { | ^~~~~~~~~~~~~~~ lldp.c: In function ‘spoof_lldp_loop’: lldp.c:1524:3: warning: implicit declaration of function ‘create_vlan_interface’ [-Wimplicit-function-declaration] 1524 | create_vlan_interface(interface, vvid); | ^~~~~~~~~~~~~~~~~~~~~ lldp.c:1530:37: warning: implicit declaration of function ‘dhcpclientcall’ [-Wimplicit-function-declaration] 1530 | int return_value = dhcpclientcall(vinterface); | ^~~~~~~~~~~~~~ lldp.c:1535:4: warning: ‘return’ with no value, in function returning non-void 1535 | return; | ^~~~~~ lldp.c:1361:1: note: declared here 1361 | spoof_lldp_loop(char *lldpdev, char *interface) { | ^~~~~~~~~~~~~~~ lldp.c: In function ‘create_lldp_pcap’: lldp.c:1574:25: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 1574 | IfName_temp = pcap_lookupdev(errbuf); | ^~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from lldp.c:35: /usr/include/pcap/pcap.h:326:16: note: declared here 326 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ lldp.c: In function ‘send_lldp’: lldp.c:1619:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1619 | atsock = (int)threadarg; | ^ mv -f .deps/lldp.Tpo .deps/lldp.Po gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -g -Wl,-O1,--sort-common,--as-needed,-z,relro -ltirpc -o voiphopper main.o dhcpconfig.o buildmsg.o cache.o udpipgen.o peekfd.o dhcpclient.o arp.o signals.o mac.o netinfo.o voiphop.o asl.o ass.o lldp.o -lpthread -lpcap /usr/bin/ld: ass.o: in function `displaymenu.part.0': ass.c:(.text+0x957): warning: the `gets' function is dangerous and should not be used. make[1]: Leaving directory '/build/voiphopper/src/voiphopper-2.04/src' make[1]: Entering directory '/build/voiphopper/src/voiphopper-2.04' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/build/voiphopper/src/voiphopper-2.04' ==> Entering fakeroot environment... ==> Starting package()... Making install in src make[1]: Entering directory '/build/voiphopper/src/voiphopper-2.04/src' make[2]: Entering directory '/build/voiphopper/src/voiphopper-2.04/src' test -z "/usr/bin" || /usr/bin/mkdir -p "/build/voiphopper/pkg/voiphopper/usr/bin" /usr/bin/install -c voiphopper '/build/voiphopper/pkg/voiphopper/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/build/voiphopper/src/voiphopper-2.04/src' make[1]: Leaving directory '/build/voiphopper/src/voiphopper-2.04/src' make[1]: Entering directory '/build/voiphopper/src/voiphopper-2.04' make[2]: Entering directory '/build/voiphopper/src/voiphopper-2.04' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/build/voiphopper/src/voiphopper-2.04' make[1]: Leaving directory '/build/voiphopper/src/voiphopper-2.04' ==> 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 "voiphopper"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: voiphopper 2.04-4 (Tue 01 Oct 2019 10:56:26 AM EDT) ==> Cleaning up...