=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for p0f-2.0.8nb1 => Fixing paths. --- all --- ./Build all Your system type is: Darwin Please help with p0f 2: http://lcamtuf.coredump.cx/p0f-help/ GNU make not found; failing back to regular (BSD?) make. clang -O2 -DUSE_BPF=\"net/bpf.h\" -o p0f p0f.c p0f-query.c crc32.c -L/usr/lib -L/opt/pkg/lib -lpcap In file included from p0f.c:40: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/net/bpf.h:108:8: error: redefinition of 'bpf_program' struct bpf_program { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/bpf.h:104:8: note: previous definition is here struct bpf_program { ^ In file included from p0f.c:40: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/net/bpf.h:1170:8: error: redefinition of 'bpf_insn' struct bpf_insn { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/bpf.h:234:8: note: previous definition is here struct bpf_insn { ^ In file included from p0f.c:53: ./mtu.h:26:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { 256, "radio modem" }, ^~~~~~~~~~~~~ ./mtu.h:27:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] { 386, "ethernut" }, ^~~~~~~~~~ ./mtu.h:28:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [22]' converts between pointers to integer types with different sign [-Wpointer-sign] { 552, "SLIP line / encap ppp" }, ^~~~~~~~~~~~~~~~~~~~~~~ ./mtu.h:29:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] { 576, "sometimes modem" }, ^~~~~~~~~~~~~~~~~ ./mtu.h:30:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1280, "gif tunnel" }, ^~~~~~~~~~~~ ./mtu.h:31:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [29]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1300, "PIX, SMC, sometimes wireless" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtu.h:32:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1362, "sometimes DSL (1)" }, ^~~~~~~~~~~~~~~~~~~ ./mtu.h:33:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1372, "cable modem" }, ^~~~~~~~~~~~~ ./mtu.h:34:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1400, "(Google/AOL)" }, /* To be investigated */ ^~~~~~~~~~~~~~ ./mtu.h:35:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1415, "sometimes wireless" }, ^~~~~~~~~~~~~~~~~~~~ ./mtu.h:36:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1420, "GPRS, T1, FreeS/WAN" }, ^~~~~~~~~~~~~~~~~~~~~ ./mtu.h:37:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1423, "sometimes cable" }, ^~~~~~~~~~~~~~~~~ ./mtu.h:38:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1440, "sometimes DSL (2)" }, ^~~~~~~~~~~~~~~~~~~ ./mtu.h:39:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1442, "IPIP tunnel" }, ^~~~~~~~~~~~~ ./mtu.h:40:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1450, "vtun" }, ^~~~~~ ./mtu.h:41:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1452, "sometimes DSL (3)" }, ^~~~~~~~~~~~~~~~~~~ ./mtu.h:42:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1454, "sometimes DSL (4)" }, ^~~~~~~~~~~~~~~~~~~ ./mtu.h:43:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1456, "ISDN ppp" }, ^~~~~~~~~~ ./mtu.h:44:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1458, "BT DSL (?)" }, ^~~~~~~~~~~~ ./mtu.h:45:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1462, "sometimes DSL (5)" }, ^~~~~~~~~~~~~~~~~~~ ./mtu.h:46:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1470, "(Google 2)" }, ^~~~~~~~~~~~ ./mtu.h:47:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1476, "IPSec/GRE" }, ^~~~~~~~~~~ ./mtu.h:48:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1480, "IPv6/IPIP" }, ^~~~~~~~~~~ ./mtu.h:49:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1492, "pppoe (DSL)" }, ^~~~~~~~~~~~~ ./mtu.h:50:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1496, "vLAN" }, ^~~~~~ ./mtu.h:51:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1500, "ethernet/modem" }, ^~~~~~~~~~~~~~~~ ./mtu.h:52:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] { 1656, "Ericsson HIS" }, ^~~~~~~~~~~~~~ ./mtu.h:53:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] { 2024, "wireless/IrDA" }, ^~~~~~~~~~~~~~~ ./mtu.h:54:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] { 2048, "Cyclom X.25 WAN" }, ^~~~~~~~~~~~~~~~~ ./mtu.h:55:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] { 2250, "AiroNet wireless" }, ^~~~~~~~~~~~~~~~~~ ./mtu.h:56:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] { 3924, "loopback" }, ^~~~~~~~~~ ./mtu.h:57:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] { 4056, "token ring (1)" }, ^~~~~~~~~~~~~~~~ ./mtu.h:58:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] { 4096, "Sangoma X.25 WAN" }, ^~~~~~~~~~~~~~~~~~ ./mtu.h:59:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] { 4352, "FDDI" }, ^~~~~~ ./mtu.h:60:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] { 4500, "token ring (2)" }, ^~~~~~~~~~~~~~~~ ./mtu.h:61:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] { 9180, "FORE ATM" }, ^~~~~~~~~~ ./mtu.h:62:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] { 16384, "sometimes loopback (1)" }, ^~~~~~~~~~~~~~~~~~~~~~~~ ./mtu.h:63:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] { 16436, "sometimes loopback (2)" }, ^~~~~~~~~~~~~~~~~~~~~~~~ ./mtu.h:64:12: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] { 18000, "token ring x4" }, ^~~~~~~~~~~~~~~ In file included from p0f.c:54: ./tos.h:51:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] { 2, "low cost" }, /* LC */ ^~~~~~~~~~ ./tos.h:52:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] { 4, "high reliability" }, /* HR */ ^~~~~~~~~~~~~~~~~~ ./tos.h:53:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] { 8, "low delay" }, /* LD */ ^~~~~~~~~~~ ./tos.h:54:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] { 12, "DNA.FI / CTINETS" }, /* LD, HR */ ^~~~~~~~~~~~~~~~~~ ./tos.h:55:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] { 16, "high throughput" }, /* HT */ ^~~~~~~~~~~~~~~~~ ./tos.h:56:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] { 32, "priority1" }, /* PRI1 */ ^~~~~~~~~~~ ./tos.h:57:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] { 40, "UTFORS Sweden" }, /* PRI1, LD */ ^~~~~~~~~~~~~~~ ./tos.h:58:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] { 64, "Tiscali Denmark" }, /* PRI2 */ ^~~~~~~~~~~~~~~~~ ./tos.h:59:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] { 80, "Bredband Scandinavia" }, /* PRI2, HT */ ^~~~~~~~~~~~~~~~~~~~~~ ./tos.h:60:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] { 112, "Bonet Sweden" }, /* PRI3, HT */ ^~~~~~~~~~~~~~ ./tos.h:61:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] { 128, "Cable.BG / Teleca.SE" }, /* PRI4 */ ^~~~~~~~~~~~~~~~~~~~~~ ./tos.h:62:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] { 144, "IPTelecom / Alkar" }, /* PRI4, HT */ ^~~~~~~~~~~~~~~~~~~ ./tos.h:63:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] { 244, "top priority" }, /* PRI7 */ ^~~~~~~~~~~~~~ ./tos.h:64:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] { 255, "Arcor IP" }, /* (bad) */ ^~~~~~~~~~ p0f.c:112:13: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] *use_rule = "tcp[13] & 0x17 == 2"; ^ ~~~~~~~~~~~~~~~~~~~~~ p0f.c:304:17: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ p0f.c:304:27: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ p0f.c:305:17: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ p0f.c:305:29: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ p0f.c:508:19: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] FILE* c = fopen(file?file:(_u8*) ^~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:153:37: note: passing argument to parameter '__filename' here FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ p0f.c:513:28: warning: passing 'char *' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file) load_config(ack_mode? CONFIG_DIR "/" SYNACK_DB : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p0f.c:504:30: note: passing argument to parameter 'file' here static void load_config(_u8* file) { ^ p0f.c:517:19: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else pfatal(file); ^~~~ p0f.c:93:53: note: expanded from macro 'pfatal' #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:169:26: note: passing argument to parameter here void perror(const char *) __cold; ^ p0f.c:521:19: warning: passing '_u8 [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((p=fgets(buf,sizeof(buf),c))) { ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE *); ^ p0f.c:521:12: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((p=fgets(buf,sizeof(buf),c))) { ^~~~~~~~~~~~~~~~~~~~~~~~~ p0f.c:530:37: warning: passing '_u8 [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] file_cksum ^= crc32(buf, strlen(buf)); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ p0f.c:536:14: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] l=strlen(p); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ p0f.c:543:16: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (sscanf(p,"%[0-9%*()ST]:%d:%d:%[0-9()*]:%[^:]:%[^ :]:%[^:]:%[^:]", ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:181:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3); ^ p0f.c:552:16: warning: passing '_u8 [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] s = atoi(sb); ^~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ p0f.c:564:33: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sig[sigcnt].os = strdup(gptr); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ p0f.c:564:24: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sig[sigcnt].os = strdup(gptr); ^ ~~~~~~~~~~~~ p0f.c:565:33: warning: passing '_u8 [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sig[sigcnt].desc = strdup(desc); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ p0f.c:565:24: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sig[sigcnt].desc = strdup(desc); ^ ~~~~~~~~~~~~ p0f.c:576:32: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sig[sigcnt].wsize = atoi(w+1); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ p0f.c:580:32: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sig[sigcnt].wsize = atoi(w+1); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ p0f.c:582:38: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(sig[sigcnt].wsize = atoi(w+1))) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ p0f.c:585:37: warning: passing '_u8 [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else sig[sigcnt].wsize = atoi(w); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ p0f.c:623:50: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(sig[sigcnt].wsc = atoi(p+2))) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ p0f.c:628:47: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else sig[sigcnt].wsc = atoi(p+1); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ p0f.c:636:50: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(sig[sigcnt].mss = atoi(p+2))) ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ p0f.c:641:47: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else sig[sigcnt].mss = atoi(p+1); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ p0f.c:647:55: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else sig[sigcnt].opt[optcnt] = atoi(p+1); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ p0f.c:746:20: warning: returning 'char *' from a function with result type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!mss) return txt ? "unspecified" : 0; ^~~~~~~~~~~~~~~~~~~~~~~ p0f.c:757:11: warning: passing '_u8 [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tmp,"unknown-%d",mss); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ p0f.c:788:9: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] x = asctime((add_timestamp == 1) ? localtime(&tval.tv_sec) : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p0f.c:791:20: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (x[strlen(x)-1]=='\n') x[strlen(x)-1]=0; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ p0f.c:791:42: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (x[strlen(x)-1]=='\n') x[strlen(x)-1]=0; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ p0f.c:827:27: warning: returning 'char [1]' from a function with result type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!do_resolve) return ""; ^~ p0f.c:829:17: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; ^ ~~~~~~~~~ p0f.c:829:46: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ p0f.c:829:58: warning: returning 'char [1]' from a function with result type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; ^~ p0f.c:830:29: warning: returning 'char [1]' from a function with result type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (j > MY_MAXDNS) return ""; ^~ p0f.c:1519:29: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'f': config_file = optarg; break; ^ ~~~~~~ p0f.c:1521:27: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'i': use_iface = optarg; break; ^ ~~~~~~ p0f.c:1523:26: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 's': use_dump = optarg; break; ^ ~~~~~~ p0f.c:1525:28: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'w': write_dump = optarg; break; ^ ~~~~~~ p0f.c:1544:28: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'Q': use_cache = optarg; break; ^ ~~~~~~ p0f.c:1546:28: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'u': set_user = optarg; break; ^ ~~~~~~ p0f.c:1566:26: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] case 'A': use_rule = "tcp[13] & 0x17 == 0x12"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ p0f.c:1570:26: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char [48]' converts between pointers to integer types with different sign [-Wpointer-sign] case 'R': use_rule = "tcp[13] & 0x17 == 0x4 or tcp[13] & 0x17 == 0x14"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p0f.c:1574:26: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] case 'O': use_rule = "tcp[13] & 0x17 == 0x10"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ p0f.c:1598:22: warning: passing 'char *' to parameter of type '_u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] default: usage(argv[0]); ^~~~~~~ p0f.c:236:24: note: passing argument to parameter 'name' here static void usage(_u8* name) { ^ p0f.c:1645:13: warning: passing '_u8 [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(buf,"(%s) and (%.3000s)",use_rule,argv[optind]); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ p0f.c:1650:21: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] _u8* x = strdup(use_rule); ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ p0f.c:1650:10: warning: initializing '_u8 *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] _u8* x = strdup(use_rule); ^ ~~~~~~~~~~~~~~~~ p0f.c:1651:13: warning: passing '_u8 [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(buf,"(%.1000s) or (vlan and (%.1000s))",x,x); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ p0f.c:1671:24: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(x.sun_path,use_cache,63); ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ p0f.c:1672:12: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unlink(use_cache); ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:494:25: note: passing argument to parameter here int unlink(const char *); ^ p0f.c:1673:60: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (bind(lsock,(struct sockaddr*)&x,sizeof(x))) pfatal(use_cache); ^~~~~~~~~ p0f.c:93:53: note: expanded from macro 'pfatal' #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:169:26: note: passing argument to parameter here void perror(const char *) __cold; ^ p0f.c:1680:32: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(pt=pcap_open_offline(use_dump, errbuf))) ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/pcap.h:420:48: note: passing argument to parameter here PCAP_API pcap_t *pcap_open_offline(const char *, char *); ^ p0f.c:1680:42: warning: passing '_u8 [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(pt=pcap_open_offline(use_dump, errbuf))) ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/pcap.h:420:56: note: passing argument to parameter here PCAP_API pcap_t *pcap_open_offline(const char *, char *); ^ p0f.c:1699:31: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/pcap.h:332:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/funcattrs.h:227:53: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) ^ p0f.c:1699:46: warning: passing '_u8 [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/pcap.h:331:37: note: passing argument to parameter here PCAP_API char *pcap_lookupdev(char *) ^ p0f.c:1699:30: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^~~~~~~~~~~~~~~~~~~~~~~ p0f.c:1702:31: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] if (!use_iface) use_iface = "lo"; ^ ~~~~ p0f.c:1708:29: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/pcap.h:416:45: note: passing argument to parameter here PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^ p0f.c:1708:82: warning: passing '_u8 [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/pcap.h:416:68: note: passing argument to parameter here PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^ p0f.c:1714:30: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (pcap_compile(pt, &flt, use_rule, 1, 0)) ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/pcap.h:465:71: note: passing argument to parameter here PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, ^ p0f.c:1715:16: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strchr(use_rule,'(')) { ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ p0f.c:1736:37: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(dumper=pcap_dump_open(pt, write_dump))) { ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pcap/pcap.h:495:62: note: passing argument to parameter here PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); ^ p0f.c:1757:19: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pw = getpwnam(set_user); ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pwd.h:101:37: note: passing argument to parameter here struct passwd *getpwnam(const char *); ^ p0f.c:1760:28: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (use_cache && chown(use_cache,pw->pw_uid,pw->pw_gid)) ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:435:24: note: passing argument to parameter here int chown(const char *, uid_t, gid_t); ^ 120 warnings and 2 errors generated. p0f-query.c:79:13: warning: passing '_u8 [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(sc->genre,genre,19); ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ p0f-query.c:79:23: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(sc->genre,genre,19); ^~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ p0f-query.c:80:13: warning: passing '_u8 [40]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(sc->detail,detail,39); ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ p0f-query.c:80:24: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(sc->detail,detail,39); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ p0f-query.c:83:21: warning: passing '_u8 [30]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (link) strncpy(sc->link,link,29); ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ p0f-query.c:83:30: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (link) strncpy(sc->link,link,29); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ p0f-query.c:84:20: warning: passing '_u8 [30]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (tos) strncpy(sc->tos,tos,29); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ p0f-query.c:84:28: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (tos) strncpy(sc->tos,tos,29); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ p0f-query.c:77:22: warning: 'memset' call operates on objects of type 'struct p0f_response' while the size is based on a different type 'struct p0f_response *' [-Wsizeof-pointer-memaccess] memset(sc,0,sizeof(sc)); ~~ ^~ p0f-query.c:77:22: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(sc,0,sizeof(sc)); ^~ p0f-query.c:134:13: warning: passing '_u8 [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(s.version, VER, sizeof(s.version)-1); ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ p0f-query.c:232:18: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ p0f-query.c:232:24: warning: passing '_u8 [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ 12 warnings generated. *** Error code 1 Stop. make[1]: stopped in /opt/work/security/p0f/work/p0f *** [all] Error code 1 bmake: stopped in /opt/work/security/p0f/work/p0f 1 error bmake: stopped in /opt/work/security/p0f/work/p0f *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/security/p0f *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/security/p0f