<86>Nov 9 06:19:18 userdel[2049719]: delete user 'rooter' <86>Nov 9 06:19:18 userdel[2049719]: removed group 'rooter' owned by 'rooter' <86>Nov 9 06:19:18 userdel[2049719]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 9 06:19:18 groupadd[2049762]: group added to /etc/group: name=rooter, GID=1838 <86>Nov 9 06:19:18 groupadd[2049762]: group added to /etc/gshadow: name=rooter <86>Nov 9 06:19:18 groupadd[2049762]: new group: name=rooter, GID=1838 <86>Nov 9 06:19:18 useradd[2049794]: new user: name=rooter, UID=1838, GID=1838, home=/root, shell=/bin/bash, from=none <86>Nov 9 06:19:18 userdel[2049843]: delete user 'builder' <86>Nov 9 06:19:18 userdel[2049843]: removed group 'builder' owned by 'builder' <86>Nov 9 06:19:18 userdel[2049843]: removed shadow group 'builder' owned by 'builder' <86>Nov 9 06:19:18 groupadd[2049891]: group added to /etc/group: name=builder, GID=1839 <86>Nov 9 06:19:18 groupadd[2049891]: group added to /etc/gshadow: name=builder <86>Nov 9 06:19:18 groupadd[2049891]: new group: name=builder, GID=1839 <86>Nov 9 06:19:18 useradd[2049934]: new user: name=builder, UID=1839, GID=1839, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/prescanic-0.8.1-alt1.src.rpm: The use of such a license name is ambiguous: GPL <13>Nov 9 06:19:22 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Nov 9 06:19:22 rpmi: libsystemd-1:255.13-alt1 sisyphus+359453.100.2.1 1728651220 installed <13>Nov 9 06:19:22 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <13>Nov 9 06:19:22 rpmi: libpcap0.8-2:1.10.4-alt1 sisyphus+322910.100.5.1 1687282815 installed <13>Nov 9 06:19:22 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 06:19:22 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Nov 9 06:19:22 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 06:19:22 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 06:19:22 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Nov 9 06:19:22 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Nov 9 06:19:22 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 06:19:22 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 06:19:22 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 06:19:22 rpmi: libmysqlclient21-8.0.40-alt1 sisyphus+360277.100.1.1 1729512728 installed <13>Nov 9 06:19:22 rpmi: libmysqlclient21-devel-8.0.40-alt1 sisyphus+360277.100.1.1 1729512728 installed <13>Nov 9 06:19:22 rpmi: libpcap-devel-2:1.10.4-alt1 sisyphus+322910.100.5.1 1687282815 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/prescanic-0.8.1-alt1.nosrc.rpm (w1.gzdio) Installing prescanic-0.8.1-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.75035 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf prescanic-0.8.1 + echo 'Source #0 (prescanic-0.8.1.tar.bz2):' Source #0 (prescanic-0.8.1.tar.bz2): + /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/prescanic-0.8.1.tar.bz2 + /bin/tar -xf - + cd prescanic-0.8.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (prescanic-0.8-alt-makefile.patch):' Patch #0 (prescanic-0.8-alt-makefile.patch): + /usr/bin/patch -p2 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.75035 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd prescanic-0.8.1 + make -j16 make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o db.o db.c db.c: In function 'db_load_config': db.c:86:7: error: implicit declaration of function 'strip_line_feed' [-Wimplicit-function-declaration] 86 | strip_line_feed(ptr); | ^~~~~~~~~~~~~~~ db.c:92:33: error: implicit declaration of function 'Malloc'; did you mean 'malloc'? [-Wimplicit-function-declaration] 92 | config.db_server = (char*)Malloc(strlen(ptr) +1); | ^~~~~~ | malloc make: *** [: db.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o init.o init.c init.c: In function 'init': init.c:30:38: error: implicit declaration of function 'Malloc'; did you mean 'malloc'? [-Wimplicit-function-declaration] 30 | config.single_host = (char*) Malloc(strlen(optarg)+1); | ^~~~~~ | malloc init.c:48:9: error: implicit declaration of function 'Free'; did you mean 'free'? [-Wimplicit-function-declaration] 48 | Free(config.device); | ^~~~ | free init.c:84:3: error: implicit declaration of function 'db_load_config' [-Wimplicit-function-declaration] 84 | db_load_config(); | ^~~~~~~~~~~~~~ init.c:87:23: error: implicit declaration of function 'db_setup' [-Wimplicit-function-declaration] 87 | if(config.db_setup) db_setup(); | ^~~~~~~~ init.c:98:5: error: implicit declaration of function 'init_pcap' [-Wimplicit-function-declaration] 98 | init_pcap(); | ^~~~~~~~~ init.c:102:23: error: implicit declaration of function 'get_device_ip' [-Wimplicit-function-declaration] 102 | config.local_ip = get_device_ip(config.device); | ^~~~~~~~~~~~~ make: *** [: init.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o main.o main.c main.c: In function 'main': main.c:21:3: error: implicit declaration of function 'init' [-Wimplicit-function-declaration] 21 | init(argc,argv); | ^~~~ main.c:26:29: error: implicit declaration of function 'add_victim' [-Wimplicit-function-declaration] 26 | victim = (struct host*) add_victim(config.single_host); | ^~~~~~~~~~ main.c:27:22: error: implicit declaration of function 'prescan'; did you mean 'pread'? [-Wimplicit-function-declaration] 27 | prescan_retval = prescan(victim); | ^~~~~~~ | pread main.c:30:7: error: implicit declaration of function 'determine_os' [-Wimplicit-function-declaration] 30 | determine_os(victim); /* determine OS from fingerprint responses */ | ^~~~~~~~~~~~ main.c:31:5: error: implicit declaration of function 'output' [-Wimplicit-function-declaration] 31 | output(victim); | ^~~~~~ main.c:32:5: error: implicit declaration of function 'del_victim' [-Wimplicit-function-declaration] 32 | del_victim(victim); | ^~~~~~~~~~ main.c:105:13: error: implicit declaration of function 'wait' [-Wimplicit-function-declaration] 105 | wait(NULL); | ^~~~ make: *** [: main.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o osdetect.o osdetect.c osdetect.c: In function 'init_osdetect': osdetect.c:12:56: error: implicit declaration of function 'Inet_ntoa'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration] 12 | printf("init_osdetect() running. (LOCAL IP: %s)\n",Inet_ntoa(config.local_ip)); | ^~~~~~~~~ | inet_ntoa osdetect.c:12:50: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] 12 | printf("init_osdetect() running. (LOCAL IP: %s)\n",Inet_ntoa(config.local_ip)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | int | char * | %d osdetect.c:16:3: error: implicit declaration of function 'send_tcp_stack_fingerprint' [-Wimplicit-function-declaration] 16 | send_tcp_stack_fingerprint(victim,PORT_1,1,1,0,0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ osdetect.c: In function 'determine_os': osdetect.c:117:27: error: implicit declaration of function 'Malloc'; did you mean 'malloc'? [-Wimplicit-function-declaration] 117 | victim->os = (char *) Malloc(strlen(ptr)); | ^~~~~~ | malloc make: *** [: osdetect.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o protocol.o protocol.c protocol.c: In function 'talk_with_protocol': protocol.c:28:5: error: implicit declaration of function 'tcp_close'; did you mean 'pcap_close'? [-Wimplicit-function-declaration] 28 | tcp_close(victim->tcp_current); | ^~~~~~~~~ | pcap_close protocol.c: In function 'talk_dns': protocol.c:37:3: error: implicit declaration of function 'dns_connect'; did you mean 'connect'? [-Wimplicit-function-declaration] 37 | dns_connect(victim); | ^~~~~~~~~~~ | connect protocol.c: In function 'talk_ftp': protocol.c:49:16: error: implicit declaration of function 'Malloc'; did you mean 'malloc'? [-Wimplicit-function-declaration] 49 | ptr = (char*)Malloc(victim->tcp_current->datalen + 1); | ^~~~~~ | malloc protocol.c:50:12: error: implicit declaration of function 'readline_from_sock' [-Wimplicit-function-declaration] 50 | retval = readline_from_sock(victim->tcp_current->sock,ptr,victim->tcp_current->datalen); | ^~~~~~~~~~~~~~~~~~ protocol.c:62:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | write(victim->tcp_current->sock,FTP_SYST,strlen(FTP_SYST)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c:64:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | write(victim->tcp_current->sock,FTP_USER,strlen(FTP_USER)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c:74:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | write(victim->tcp_current->sock,FTP_PASS,strlen(FTP_PASS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c: In function 'talk_telnet': protocol.c:165:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | read(victim->tcp_current->sock,string,victim->tcp_current->datalen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c:179:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 179 | write (victim->tcp_current->sock, output, 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c: In function 'talk_http': protocol.c:233:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | write(victim->tcp_current->sock,HTTP_REQUEST,strlen(HTTP_REQUEST)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [: protocol.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o output.o output.c output.c: In function 'output': output.c:17:38: error: implicit declaration of function 'Inet_ntoa'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration] 17 | sprintf(chr_local_ip,"%s\0",(char*)Inet_ntoa(config.local_ip)); | ^~~~~~~~~ | inet_ntoa output.c:26:3: error: implicit declaration of function 'db_connect'; did you mean 'connect'? [-Wimplicit-function-declaration] 26 | db_connect(); | ^~~~~~~~~~ | connect output.c:30:3: error: implicit declaration of function 'send_query' [-Wimplicit-function-declaration] 30 | send_query(query_string); | ^~~~~~~~~~ output.c:122:3: error: implicit declaration of function 'db_disconnect' [-Wimplicit-function-declaration] 122 | db_disconnect(); | ^~~~~~~~~~~~~ output.c:136:25: error: implicit declaration of function 'Malloc'; did you mean 'malloc'? [-Wimplicit-function-declaration] 136 | file_name = (char*) Malloc(16 + strlen(EXT)); | ^~~~~~ | malloc output.c:153:32: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 153 | fprintf(output_f,"[> HOST:\t%s (%s)\n",Inet_ntoa(victim->ip),(victim->name ? victim->name : "DNS NAME UNKNOWN")); | ~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | char * int | %d make: *** [: output.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o victim.o victim.c victim.c: In function 'add_victim': victim.c:13:27: error: implicit declaration of function 'Malloc'; did you mean 'malloc'? [-Wimplicit-function-declaration] 13 | victim = (struct host*) Malloc(sizeof(struct host)); | ^~~~~~ | malloc victim.c: In function 'del_victim': victim.c:51:3: error: implicit declaration of function 'Free'; did you mean 'free'? [-Wimplicit-function-declaration] 51 | Free(victim->host); | ^~~~ | free make: *** [: victim.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o sniff.o sniff.c sniff.c: In function 'sniff': sniff.c:18:16: error: implicit declaration of function 'next_packet'; did you mean 'net_write_packet'? [-Wimplicit-function-declaration] 18 | ptr=(char*)next_packet(); | ^~~~~~~~~~~ | net_write_packet sniff.c:59:17: error: implicit declaration of function 'init_osdetect' [-Wimplicit-function-declaration] 59 | init_osdetect(victim); | ^~~~~~~~~~~~~ sniff.c:79:11: error: implicit declaration of function 'handle_response' [-Wimplicit-function-declaration] 79 | handle_response(victim,0,tcp); | ^~~~~~~~~~~~~~~ make: *** [: sniff.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o prescan.o prescan.c prescan.c: In function 'prescan': prescan.c:10:3: error: implicit declaration of function 'forward_lookup' [-Wimplicit-function-declaration] 10 | forward_lookup(victim); | ^~~~~~~~~~~~~~ prescan.c:11:24: error: implicit declaration of function 'reverse_lookup' [-Wimplicit-function-declaration] 11 | if(!config.r_lookup) reverse_lookup(victim); | ^~~~~~~~~~~~~~ prescan.c:20:10: error: implicit declaration of function 'Inet_ntoa'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration] 20 | Inet_ntoa(victim->ip), | ^~~~~~~~~ | inet_ntoa prescan.c:19:22: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] 19 | printf("SCANNING: %s (%s)\n", | ~^ | | | char * | %d 20 | Inet_ntoa(victim->ip), | ~~~~~~~~~~~~~~~~~~~~~ | | | int prescan.c:27:8: error: implicit declaration of function 'send_icmp_echo' [-Wimplicit-function-declaration] 27 | if(send_icmp_echo(victim) < 0) | ^~~~~~~~~~~~~~ prescan.c:32:5: error: implicit declaration of function 'add_tcp' [-Wimplicit-function-declaration] 32 | add_tcp((SYN_SOURCE+i),config.port[i],victim); | ^~~~~~~ prescan.c:42:10: error: implicit declaration of function 'tcp_check' [-Wimplicit-function-declaration] 42 | if(tcp_check(victim)) | ^~~~~~~~~ prescan.c:46:10: error: implicit declaration of function 'dns_check' [-Wimplicit-function-declaration] 46 | if(dns_check(victim)) | ^~~~~~~~~ prescan.c:51:10: error: implicit declaration of function 'sniff' [-Wimplicit-function-declaration] 51 | if(sniff(victim)) | ^~~~~ make: *** [: prescan.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o tcp.o tcp.c tcp.c: In function 'tcp_check': tcp.c:18:34: error: implicit declaration of function 'sock_status'; did you mean 'si_status'? [-Wimplicit-function-declaration] 18 | victim->tcp_current->state = sock_status(victim->tcp_current->sock); | ^~~~~~~~~~~ | si_status tcp.c:27:7: error: implicit declaration of function 'talk_with_protocol' [-Wimplicit-function-declaration] 27 | talk_with_protocol(victim); | ^~~~~~~~~~~~~~~~~~ tcp.c:33:9: error: implicit declaration of function 'init_osdetect' [-Wimplicit-function-declaration] 33 | init_osdetect(victim); | ^~~~~~~~~~~~~ tcp.c: In function 'add_tcp': tcp.c:69:51: error: implicit declaration of function 'Malloc'; did you mean 'malloc'? [-Wimplicit-function-declaration] 69 | victim->tcp_current = (struct tcp_connection *) Malloc(sizeof(struct tcp_connection)); | ^~~~~~ | malloc tcp.c:81:5: error: implicit declaration of function 'send_syn' [-Wimplicit-function-declaration] 81 | send_syn(src_port,port,victim); | ^~~~~~~~ tcp.c:83:33: error: implicit declaration of function 'nonblock_tcp_connect' [-Wimplicit-function-declaration] 83 | victim->tcp_current->sock = nonblock_tcp_connect(victim->ip,victim->tcp_current->port); | ^~~~~~~~~~~~~~~~~~~~ tcp.c: In function 'del_tcp': tcp.c:102:3: error: implicit declaration of function 'Free'; did you mean 'free'? [-Wimplicit-function-declaration] 102 | Free(tcp_current); | ^~~~ | free make: *** [: tcp.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o tool.o tool.c make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o hnet.o hnet.c hnet.c: In function 'send_icmp_echo': hnet.c:38:12: error: implicit declaration of function 'send_raw_packet' [-Wimplicit-function-declaration] 38 | retval = send_raw_packet(&ip_header,NULL,NULL,&icmp_header,&data,PING_SIZE,0,1); | ^~~~~~~~~~~~~~~ make: *** [: hnet.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o net.o net.c net.c: In function 'send_raw_packet': net.c:44:27: error: implicit declaration of function 'Malloc'; did you mean 'malloc'? [-Wimplicit-function-declaration] 44 | packet = (char *) Malloc(packetsize + 1); /* 3 padding.. */ | ^~~~~~ | malloc net.c:106:62: error: passing argument 5 of 'sendto' from incompatible pointer type [-Wincompatible-pointer-types] 106 | if(sendto(rawsock, packet, packetsize, sendto_flags, &sin, sizeof(sin)) < 0) | ^~~~ | | | struct sockaddr_in * In file included from /usr/include/pcap/socket.h:58, from /usr/include/pcap/pcap.h:130, from /usr/include/pcap.h:43, from prescan.h:4, from net.c:1: /usr/include/sys/socket.h:153:58: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' 153 | int __flags, __CONST_SOCKADDR_ARG __addr, | ^ make: *** [: net.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o rpc.o rpc.c make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o dns.o dns.c dns.c: In function 'dns_connect': dns.c:67:22: error: implicit declaration of function 'nonblock_udp_connect' [-Wimplicit-function-declaration] 67 | victim->udp_sock = nonblock_udp_connect(victim->ip,53); | ^~~~~~~~~~~~~~~~~~~~ dns.c: In function 'dns_check': dns.c:76:12: error: implicit declaration of function 'sock_status'; did you mean 'si_status'? [-Wimplicit-function-declaration] 76 | retval = sock_status(victim->udp_sock); | ^~~~~~~~~~~ | si_status dns.c:82:22: error: implicit declaration of function 'Malloc'; did you mean 'malloc'? [-Wimplicit-function-declaration] 82 | packet = (char*) Malloc(512); | ^~~~~~ | malloc dns.c:85:5: error: implicit declaration of function 'Free'; did you mean 'free'? [-Wimplicit-function-declaration] 85 | Free(packet); | ^~~~ | free dns.c: In function 'make_keypkt': dns.c:60:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | write(sock,pktbuf,pktlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dns.c: In function 'dns_check': dns.c:93:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | read(victim->udp_sock,buf,retval); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dns.c:105:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | read(victim->udp_sock,buf,retval); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [: dns.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o pcap.o pcap.c pcap.c: In function 'init_pcap': pcap.c:18:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 18 | config.device = pcap_lookupdev(errbuffer); | ^~~~~~ In file included from /usr/include/pcap.h:43, from prescan.h:4, from pcap.c:1: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' error: Bad exit status from /usr/src/tmp/rpm-tmp.75035 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.75035 (%build) Command exited with non-zero status 1 1.12user 0.43system 0:00.39elapsed 392%CPU (0avgtext+0avgdata 25600maxresident)k 0inputs+0outputs (0major+52509minor)pagefaults 0swaps hsh-rebuild: rebuild of `prescanic-0.8.1-alt1.src.rpm' failed. Command exited with non-zero status 1 4.11user 2.71system 0:10.28elapsed 66%CPU (0avgtext+0avgdata 131620maxresident)k 2656inputs+0outputs (0major+191591minor)pagefaults 0swaps