==> Retrieving sources... -> Found fl0p-devel.tgz ==> Generating checksums for source files... ==> Making package: fl0p 0.1-3 (Fri 20 Dec 2024 11:05:13 PM UTC) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found fl0p-devel.tgz ==> Validating source files with sha512sums... fl0p-devel.tgz ... Passed ==> Extracting sources... -> Extracting fl0p-devel.tgz with bsdtar ==> Starting build()... Your system type is: Linux Please help with p0f 2: http://lcamtuf.coredump.cx/p0f-help/ GNU make not found; failing back to regular (BSD?) make. gcc -g -ggdb -Wall -DUSE_BPF=\"pcap-bpf.h\" -I/usr/include/pcap -I/usr/local/include/pcap -I/usr/local/include -o fl0p fl0p.c crc32.c -lpcap strip fl0p 2>/dev/null || true fl0p.c:96:24: warning: pointer targets in initialization of ‘_u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 96 | *use_rule = "tcp or udp or icmp"; | ^~~~~~~~~~~~~~~~~~~~ fl0p.c: In function ‘load_config’: fl0p.c:248:28: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 248 | FILE* c = fopen(file?file:(_u8*)FPRINT_DB,"r"); In file included from fl0p.c:34: /usr/include/stdio.h:264:44: note: expected ‘const char * restrict’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 264 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from fl0p.c:47: config.h:22:25: warning: pointer targets in passing argument 1 of ‘load_config’ differ in signedness [-Wpointer-sign] 22 | # define CONFIG_DIR "/etc/fl0p" | ^~~~~~~~~~~ | | | char * fl0p.c:251:28: note: in expansion of macro ‘CONFIG_DIR’ 251 | if (!file) load_config(CONFIG_DIR "/" FPRINT_DB); | ^~~~~~~~~~ fl0p.c:242:30: note: expected ‘_u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 242 | static void load_config(_u8* file) { | ~~~~~^~~~ fl0p.c:252:19: warning: pointer targets in passing argument 1 of ‘perror’ differ in signedness [-Wpointer-sign] 252 | else pfatal(file); | ^~~~ | | | _u8 * {aka unsigned char *} fl0p.c:87:59: note: in definition of macro ‘pfatal’ 87 | #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) | ^ /usr/include/stdio.h:868:33: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 868 | extern void perror (const char *__s) __COLD; | ~~~~~~~~~~~~^~~ fl0p.c:256:19: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 256 | while ((p=fgets(buf,sizeof(buf),c))) { | ^~~ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:654:38: note: expected ‘char * restrict’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 654 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ fl0p.c:256:12: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 256 | while ((p=fgets(buf,sizeof(buf),c))) { | ^ fl0p.c:262:37: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 262 | file_cksum ^= crc32(buf, strlen(buf)); | ^~~ | | | _u8 * {aka unsigned char *} In file included from fl0p.c:16: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fl0p.c:267:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 267 | l=strlen(p); | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fl0p.c:274:14: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 274 | p=strchr(buf,':'); | ^~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fl0p.c:274:6: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 274 | p=strchr(buf,':'); | ^ fl0p.c:278:22: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 278 | if (!(p=strchr(buf,'|'))) | ^~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fl0p.c:278:14: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 278 | if (!(p=strchr(buf,'|'))) | ^ fl0p.c:283:18: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] 283 | if (sscanf(p,"%c%i",&c,&flag) != 2 || (c != '+' && c != '-')) | ^ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:430:43: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 430 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ fl0p.c:292:33: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness [-Wpointer-sign] 292 | sig[sigcnt].name = strdup(p); | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:187:34: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ fl0p.c:292:24: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 292 | sig[sigcnt].name = strdup(p); | ^ fl0p.c:298:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 298 | l=strlen(p); | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fl0p.c:304:18: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] 304 | if (sscanf(p,"%c%i",&c,&flag) != 2 || (c != '&' && c != '!')) | ^ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:430:43: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 430 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ fl0p.c:309:18: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 309 | p = strchr(p,' '); | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fl0p.c:309:9: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 309 | p = strchr(p,' '); | ^ fl0p.c:315:22: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 315 | if (!strncasecmp(p,"TCP ",4)) sig[sigcnt].proto = IPPROTO_TCP; | ^ | | | _u8 * {aka unsigned char *} In file included from /usr/include/string.h:462: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ fl0p.c:316:27: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 316 | else if (!strncasecmp(p,"UDP ",4)) sig[sigcnt].proto = IPPROTO_UDP; | ^ | | | _u8 * {aka unsigned char *} /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ fl0p.c:317:27: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 317 | else if (!strncasecmp(p,"ICMP ",5)) sig[sigcnt].proto = IPPROTO_ICMP; | ^ | | | _u8 * {aka unsigned char *} /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ fl0p.c:320:16: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 320 | p = strchr(p,' '); | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fl0p.c:320:7: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 320 | p = strchr(p,' '); | ^ fl0p.c:327:22: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 327 | _s32 pi = atoi(p); | ^ | | | _u8 * {aka unsigned char *} In file included from fl0p.c:15: /usr/include/stdlib.h:105:30: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 105 | extern int atoi (const char *__nptr) | ~~~~~~~~~~~~^~~~~~ fl0p.c:333:16: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 333 | p = strchr(p,' '); | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fl0p.c:333:7: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 333 | p = strchr(p,' '); | ^ fl0p.c:371:22: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] 371 | if (sscanf(p,"%d/%d",&i,&diff) < 1 || i < 0 || i > 65535 | ^ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:430:43: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 430 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ fl0p.c:380:22: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] 380 | if (sscanf(p,"%d/%d",&i,&diff) < 1 || i < 1 || i > MAXSIGLEN | ^ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:430:43: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 430 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ fl0p.c:398:18: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 398 | p = strchr(p,' '); | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fl0p.c:398:9: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 398 | p = strchr(p,' '); | ^ fl0p.c: In function ‘put_date’: fl0p.c:439:9: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 439 | x = asctime((add_timestamp == 1) ? localtime(&ut) : | ^ fl0p.c:442:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 442 | if (x[strlen(x)-1]=='\n') x[strlen(x)-1]=0; | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fl0p.c:442:42: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 442 | if (x[strlen(x)-1]=='\n') x[strlen(x)-1]=0; | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fl0p.c: In function ‘grab_name’: fl0p.c:477:27: warning: pointer targets in returning ‘char *’ from a function with return type ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 477 | if (!do_resolve) return ""; | ^~ fl0p.c:480:17: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 480 | if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; | ^ fl0p.c:480:46: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 480 | if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; | ^ | | | _u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fl0p.c:480:58: warning: pointer targets in returning ‘char *’ from a function with return type ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 480 | if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; | ^~ fl0p.c:481:29: warning: pointer targets in returning ‘char *’ from a function with return type ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 481 | if (j > MY_MAXDNS) return ""; | ^~ fl0p.c: In function ‘display_bytes’: fl0p.c:498:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 498 | if (b < 1024) sprintf(retbuf,"%lluB",b); | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:365:38: note: expected ‘char * restrict’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 365 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ fl0p.c:499:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 499 | else if (b < 1048576) sprintf(retbuf,"%.01fkB",b/1024.0); | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:365:38: note: expected ‘char * restrict’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 365 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ fl0p.c:500:36: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 500 | else if (b < 1073741824) sprintf(retbuf,"%.01fMB",b/1024.0/1024.0); | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:365:38: note: expected ‘char * restrict’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 365 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ fl0p.c:501:16: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 501 | else sprintf(retbuf,"%.01fGB",b/1024.0/1024.0/1024.0); | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:365:38: note: expected ‘char * restrict’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 365 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ fl0p.c: In function ‘main’: fl0p.c:959:29: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 959 | case 'f': config_file = optarg; break; | ^ fl0p.c:961:27: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 961 | case 'i': use_iface = optarg; break; | ^ fl0p.c:963:26: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 963 | case 's': use_dump = optarg; break; | ^ fl0p.c:978:28: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 978 | case 'u': set_user = optarg; break; | ^ fl0p.c:1012:26: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness [-Wpointer-sign] 1012 | default: usage(argv[0]); | ~~~~^~~ | | | char * fl0p.c:204:24: note: expected ‘_u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 204 | static void usage(_u8* name) { | ~~~~~^~~~ fl0p.c:1034:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1034 | sprintf(buf,"(%s) and (%.3000s)",use_rule,argv[optind]); | ^~~ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:365:38: note: expected ‘char * restrict’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 365 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ fl0p.c:1039:21: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness [-Wpointer-sign] 1039 | _u8* x = strdup(use_rule); | ^~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:187:34: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ fl0p.c:1039:14: warning: pointer targets in initialization of ‘_u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 1039 | _u8* x = strdup(use_rule); | ^~~~~~ fl0p.c:1040:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1040 | sprintf(buf,"(%.1000s) or (vlan and (%.1000s))",x,x); | ^~~ | | | _u8 * {aka unsigned char *} /usr/include/stdio.h:365:38: note: expected ‘char * restrict’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 365 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ fl0p.c:1054:32: warning: pointer targets in passing argument 1 of ‘pcap_open_offline’ differ in signedness [-Wpointer-sign] 1054 | if (!(pt=pcap_open_offline(use_dump, errbuf))) | ^~~~~~~~ | | | _u8 * {aka unsigned char *} In file included from fl0p.c:35: /usr/include/pcap/pcap.h:576:36: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 576 | PCAP_API pcap_t *pcap_open_offline(const char *, char *); | ^~~~~~~~~~~~ fl0p.c:1054:42: warning: pointer targets in passing argument 2 of ‘pcap_open_offline’ differ in signedness [-Wpointer-sign] 1054 | if (!(pt=pcap_open_offline(use_dump, errbuf))) | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:576:50: note: expected ‘char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 576 | PCAP_API pcap_t *pcap_open_offline(const char *, char *); | ^~~~~~ fl0p.c:1073:5: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 1073 | if (!use_iface) use_iface=pcap_lookupdev(errbuf); | ^~ /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ fl0p.c:1073:46: warning: pointer targets in passing argument 1 of ‘pcap_lookupdev’ differ in signedness [-Wpointer-sign] 1073 | if (!use_iface) use_iface=pcap_lookupdev(errbuf); | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:444:33: note: expected ‘char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~ fl0p.c:1073:30: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 1073 | if (!use_iface) use_iface=pcap_lookupdev(errbuf); | ^ fl0p.c:1076:31: warning: pointer targets in assignment from ‘char *’ to ‘_u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 1076 | if (!use_iface) use_iface = "lo"; | ^ fl0p.c:1082:29: warning: pointer targets in passing argument 1 of ‘pcap_open_live’ differ in signedness [-Wpointer-sign] 1082 | if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) | ^~~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:564:33: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ fl0p.c:1082:82: warning: pointer targets in passing argument 5 of ‘pcap_open_live’ differ in signedness [-Wpointer-sign] 1082 | if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) | ^~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:564:62: note: expected ‘char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ fl0p.c:1088:30: warning: pointer targets in passing argument 3 of ‘pcap_compile’ differ in signedness [-Wpointer-sign] 1088 | if (pcap_compile(pt, &flt, use_rule, 1, 0)) | ^~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/pcap/pcap.h:662:62: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 662 | PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, | ^~~~~~~~~~~~ fl0p.c:1089:16: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1089 | if (strchr(use_rule,'(')) { | ^~~~~~~~ | | | _u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ fl0p.c:1113:19: warning: pointer targets in passing argument 1 of ‘getpwnam’ differ in signedness [-Wpointer-sign] 1113 | pw = getpwnam(set_user); | ^~~~~~~~ | | | _u8 * {aka unsigned char *} In file included from fl0p.c:26: /usr/include/pwd.h:116:45: note: expected ‘const char *’ but argument is of type ‘_u8 *’ {aka ‘unsigned char *’} 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... libfakeroot internal error: payload not recognized! ==> Checking for packaging issues... ==> Creating package "fl0p"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Creating package "fl0p-debug"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: fl0p 0.1-3 (Fri 20 Dec 2024 11:05:16 PM UTC) ==> Cleaning up...