=> Bootstrap dependency digest>=20010302: found digest-20111104 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for sniffit-0.3.5nb2 --- sn_packets.o --- --- sn_generation.o --- --- sn_packets.o --- gcc -w -O2 -c sn_packets.c -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=4 -DNETBSD=1 --- sn_generation.o --- gcc -w -O2 -c sn_generation.c -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=4 -DNETBSD=1 --- sn_packets.o --- sn_packets.c: In function 'unwrap_packet': sn_packets.c:48:2: warning: incompatible implicit declaration of built-in function 'memcpy' sn_packets.c:61:3: warning: passing argument 1 of 'in_cksum' from incompatible pointer type sn_packets.c:13:16: note: expected 'short unsigned int *' but argument is of type 'unsigned char *' --- sn_interface.o --- gcc -w -O2 -c sn_interface.c -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=4 -DNETBSD=1 --- sn_cfgfile.o --- gcc -w -O2 -c sn_cfgfile.c -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=4 -DNETBSD=1 sn_cfgfile.c: In function 'adjust_select_from_list': sn_cfgfile.c:39:51: warning: incompatible implicit declaration of built-in function 'malloc' sn_cfgfile.c:42:51: warning: incompatible implicit declaration of built-in function 'realloc' sn_cfgfile.c:46:53: warning: incompatible implicit declaration of built-in function 'exit' sn_cfgfile.c: In function 'adjust_select_to_list': sn_cfgfile.c:58:49: warning: incompatible implicit declaration of built-in function 'malloc' sn_cfgfile.c:62:49: warning: incompatible implicit declaration of built-in function 'realloc' sn_cfgfile.c:66:53: warning: incompatible implicit declaration of built-in function 'exit' sn_cfgfile.c: In function 'adjust_deselect_from_list': sn_cfgfile.c:77:53: warning: incompatible implicit declaration of built-in function 'malloc' sn_cfgfile.c:81:53: warning: incompatible implicit declaration of built-in function 'realloc' sn_cfgfile.c:85:53: warning: incompatible implicit declaration of built-in function 'exit' sn_cfgfile.c: In function 'adjust_deselect_to_list': sn_cfgfile.c:97:51: warning: incompatible implicit declaration of built-in function 'malloc' sn_cfgfile.c:101:51: warning: incompatible implicit declaration of built-in function 'realloc' sn_cfgfile.c:105:53: warning: incompatible implicit declaration of built-in function 'exit' sn_cfgfile.c: In function 'clean_string': sn_cfgfile.c:116:11: warning: incompatible implicit declaration of built-in function 'strlen' sn_cfgfile.c:125:1: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c: In function 'clean_filename': sn_cfgfile.c:135:11: warning: incompatible implicit declaration of built-in function 'strlen' sn_cfgfile.c:144:1: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c: In function 'make_nr_dot': sn_cfgfile.c:154:1: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c: In function 'interprete_line': sn_cfgfile.c:167:6: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:173:4: warning: passing argument 1 of 'clean_filename' makes pointer from integer without a cast sn_cfgfile.c:129:7: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:174:27: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:178:9: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:181:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:185:15: warning: passing argument 1 of 'make_nr_dot' makes pointer from integer without a cast sn_cfgfile.c:148:6: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:186:15: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:187:25: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:202:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:202:8: warning: passing argument 1 of 'clean_string' makes pointer from integer without a cast sn_cfgfile.c:110:7: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:203:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:212:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:216:15: warning: passing argument 1 of 'make_nr_dot' makes pointer from integer without a cast sn_cfgfile.c:148:6: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:217:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:218:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:233:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:233:8: warning: passing argument 1 of 'clean_string' makes pointer from integer without a cast sn_cfgfile.c:110:7: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:234:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:243:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:248:15: warning: passing argument 1 of 'make_nr_dot' makes pointer from integer without a cast sn_cfgfile.c:148:6: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:249:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:251:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:261:13: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:272:8: warning: passing argument 1 of 'clean_string' makes pointer from integer without a cast sn_cfgfile.c:110:7: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:273:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:275:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:287:9: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:290:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:294:15: warning: passing argument 1 of 'make_nr_dot' makes pointer from integer without a cast sn_cfgfile.c:148:6: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:295:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:296:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:311:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:311:8: warning: passing argument 1 of 'clean_string' makes pointer from integer without a cast sn_cfgfile.c:110:7: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:312:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:321:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:325:15: warning: passing argument 1 of 'make_nr_dot' makes pointer from integer without a cast sn_cfgfile.c:148:6: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:326:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:327:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:342:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:342:8: warning: passing argument 1 of 'clean_string' makes pointer from integer without a cast sn_cfgfile.c:110:7: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:343:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:352:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:357:15: warning: passing argument 1 of 'make_nr_dot' makes pointer from integer without a cast sn_cfgfile.c:148:6: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:358:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:360:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:370:13: warning: assignment makes pointer from integer without a cast sn_cfgfile.c:381:8: warning: passing argument 1 of 'clean_string' makes pointer from integer without a cast sn_cfgfile.c:110:7: note: expected 'char *' but argument is of type 'int' sn_cfgfile.c:382:8: warning: incompatible implicit declaration of built-in function 'strcpy' sn_cfgfile.c:384:18: warning: assignment makes pointer from integer without a cast sn_cfgfile.c: In function 'read_cfg_file': sn_cfgfile.c:408:56: warning: incompatible implicit declaration of built-in function 'exit' --- sn_logfile.o --- gcc -w -O2 -c sn_logfile.c -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=4 -DNETBSD=1 sn_logfile.c: In function 'open_logfile': sn_logfile.c:79:25: warning: incompatible implicit declaration of built-in function 'strcpy' sn_logfile.c:82:69: warning: incompatible implicit declaration of built-in function 'exit' sn_logfile.c:84:1: warning: passing argument 1 of 'fchmod' makes integer from pointer without a cast /usr/include/sys/stat.h:229:5: note: expected 'int' but argument is of type 'struct FILE *' --- sniffit --- gcc -w -O2 -o sniffit sniffit.0.3.5.c sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o -lpcap -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lncurses -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=4 -DNETBSD=1 In file included from sniffit.0.3.5.c:21:0: pcap.h:135:7: error: conflicting types for 'bpf_filter' /usr/include/net/bpf.h:382:8: note: previous declaration of 'bpf_filter' was here In file included from sn_plugins.h:22:0, from sniffit.0.3.5.c:34: dns_plugin.plug: In function 'PL_DNS_plugin': dns_plugin.plug:87:12: warning: assignment from incompatible pointer type sniffit.0.3.5.c: In function 'quit': sniffit.0.3.5.c:93:1: warning: incompatible implicit declaration of built-in function 'exit' sniffit.0.3.5.c: In function 'my_exit': sniffit.0.3.5.c:96:23: warning: incompatible implicit declaration of built-in function 'exit' sniffit.0.3.5.c: In function 'strlower': sniffit.0.3.5.c:116:12: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c: In function 'start_plugin': sniffit.0.3.5.c:158:57: warning: incompatible implicit declaration of built-in function 'exit' sniffit.0.3.5.c: In function 'add_dynam': sniffit.0.3.5.c:201:41: warning: incompatible implicit declaration of built-in function 'malloc' sniffit.0.3.5.c:202:43: warning: incompatible implicit declaration of built-in function 'exit' sniffit.0.3.5.c:205:2: warning: incompatible implicit declaration of built-in function 'strcpy' sniffit.0.3.5.c:210:37: warning: incompatible implicit declaration of built-in function 'exit' sniffit.0.3.5.c: In function 'delete_dynam': sniffit.0.3.5.c:249:3: warning: incompatible implicit declaration of built-in function 'free' sniffit.0.3.5.c:262:36: warning: incompatible implicit declaration of built-in function 'free' sniffit.0.3.5.c: In function 'check_packet': sniffit.0.3.5.c:418:9: warning: incompatible implicit declaration of built-in function 'memcpy' sniffit.0.3.5.c:453:13: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:490:36: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:519:38: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:571:38: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:578:38: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:668:13: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:705:36: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:734:38: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:786:38: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:793:38: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c: In function 'packethandler': sniffit.0.3.5.c:851:2: warning: incompatible implicit declaration of built-in function 'memcpy' sniffit.0.3.5.c:969:4: warning: incompatible implicit declaration of built-in function 'exit' sniffit.0.3.5.c:1031:9: warning: passing argument 3 of 'sbuf_update' discards qualifiers from pointer target type sniffit.0.3.5.c:339:6: note: expected 'char *' but argument is of type 'const unsigned char *' sniffit.0.3.5.c:1035:39: warning: incompatible implicit declaration of built-in function 'strstr' sniffit.0.3.5.c:1042:27: warning: incompatible implicit declaration of built-in function 'malloc' sniffit.0.3.5.c:1043:37: warning: incompatible implicit declaration of built-in function 'exit' sniffit.0.3.5.c:1060:4: warning: passing argument 3 of 'record_buf' discards qualifiers from pointer target type sniffit.0.3.5.c:300:6: note: expected 'char *' but argument is of type 'const unsigned char *' sniffit.0.3.5.c:1072:6: warning: passing argument 3 of 'record_buf' discards qualifiers from pointer target type sniffit.0.3.5.c:300:6: note: expected 'char *' but argument is of type 'const unsigned char *' sniffit.0.3.5.c:1087:9: warning: passing argument 3 of 'sbuf_update' discards qualifiers from pointer target type sniffit.0.3.5.c:339:6: note: expected 'char *' but argument is of type 'const unsigned char *' sniffit.0.3.5.c:1089:18: warning: incompatible implicit declaration of built-in function 'strstr' sniffit.0.3.5.c:1091:10: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:1100:10: warning: incompatible implicit declaration of built-in function 'strlen' sniffit.0.3.5.c:1205:4: warning: incompatible implicit declaration of built-in function 'exit' sniffit.0.3.5.c: In function 'main': sniffit.0.3.5.c:1341:2: warning: passing argument 2 of 'signal' from incompatible pointer type /usr/include/sys/signal.h:237:8: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' sniffit.0.3.5.c:1408:8: warning: incompatible implicit declaration of built-in function 'strstr' sniffit.0.3.5.c:1435:5: warning: incompatible implicit declaration of built-in function 'strcpy' sniffit.0.3.5.c:1456:56: warning: incompatible implicit declaration of built-in function 'exit' sniffit.0.3.5.c:1468:6: warning: incompatible implicit declaration of built-in function 'strchr' sniffit.0.3.5.c:1472:5: warning: incompatible implicit declaration of built-in function 'strcpy' sniffit.0.3.5.c:1491:3: warning: incompatible implicit declaration of built-in function 'strcpy' sniffit.0.3.5.c:1499:6: warning: incompatible implicit declaration of built-in function 'strstr' sniffit.0.3.5.c:1508:13: warning: incompatible implicit declaration of built-in function 'strstr' sniffit.0.3.5.c:1595:7: warning: passing argument 3 of 'pcap_dispatch' from incompatible pointer type pcap.h:108:5: note: expected 'pcap_handler' but argument is of type 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' *** [sniffit] Error code 1 make: stopped in /scratch/net/sniffit/work/sniffit.0.3.5 1 error make: stopped in /scratch/net/sniffit/work/sniffit.0.3.5 *** Error code 2 Stop. make: stopped in /pkgsrc/net/sniffit *** Error code 1 Stop. make: stopped in /pkgsrc/net/sniffit