=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for dnstop-20090128nb1 gcc -Wno-error -march=i586 -I/usr/pkg/include/ncurses -I/usr/pkg/include -DUSE_IPV6=1 -c dnstop.c dnstop.c:37:24: error: net/if_arp.h: no such file or directory dnstop.c:39:30: error: netinet/if_ether.h: no such file or directory dnstop.c:41:30: error: netinet/in_systm.h: no such file or directory dnstop.c:42:24: error: netinet/ip.h: no such file or directory dnstop.c:43:25: error: netinet/ip6.h: no such file or directory dnstop.c:44:25: error: netinet/udp.h: no such file or directory dnstop.c:690: warning: 'struct udphdr' declared inside parameter list dnstop.c:690: warning: its scope is only this definition or declaration, which is probably not what you want dnstop.c: In function 'handle_udp': dnstop.c:692: error: dereferencing pointer to incomplete type dnstop.c:692: error: dereferencing pointer to incomplete type dnstop.c:694: error: invalid use of undefined type 'struct udphdr' dnstop.c:694: error: dereferencing pointer to incomplete type dnstop.c: At top level: dnstop.c:701: warning: 'struct ip6_hdr' declared inside parameter list dnstop.c: In function 'handle_ipv6': dnstop.c:715: error: invalid application of 'sizeof' to incomplete type 'struct ip6_hdr' dnstop.c:716: error: dereferencing pointer to incomplete type dnstop.c:717: error: dereferencing pointer to incomplete type dnstop.c:718: error: dereferencing pointer to incomplete type dnstop.c:719: error: dereferencing pointer to incomplete type dnstop.c:769: warning: passing argument 1 of 'handle_udp' from incompatible pointer type dnstop.c:688: note: expected 'const struct udphdr *' but argument is of type 'struct udphdr *' dnstop.c: At top level: dnstop.c:783: warning: 'struct ip' declared inside parameter list dnstop.c: In function 'handle_ipv4': dnstop.c:785: error: dereferencing pointer to incomplete type dnstop.c:792: error: dereferencing pointer to incomplete type dnstop.c:793: warning: passing argument 1 of 'handle_ipv6' from incompatible pointer type dnstop.c:701: note: expected 'struct ip6_hdr *' but argument is of type 'struct ip6_hdr *' dnstop.c:799: error: dereferencing pointer to incomplete type dnstop.c:799: error: dereferencing pointer to incomplete type dnstop.c:800: error: dereferencing pointer to incomplete type dnstop.c:800: error: dereferencing pointer to incomplete type dnstop.c:804: error: dereferencing pointer to incomplete type dnstop.c:806: warning: passing argument 1 of 'handle_udp' from incompatible pointer type dnstop.c:688: note: expected 'const struct udphdr *' but argument is of type 'struct udphdr *' dnstop.c: In function 'handle_null': dnstop.c:851: warning: passing argument 1 of 'handle_ipv4' from incompatible pointer type dnstop.c:783: note: expected 'const struct ip *' but argument is of type 'struct ip *' dnstop.c:854: warning: passing argument 1 of 'handle_ipv6' from incompatible pointer type dnstop.c:701: note: expected 'struct ip6_hdr *' but argument is of type 'struct ip6_hdr *' dnstop.c: In function 'handle_loop': dnstop.c:866: warning: passing argument 1 of 'handle_ipv4' from incompatible pointer type dnstop.c:783: note: expected 'const struct ip *' but argument is of type 'struct ip *' dnstop.c:869: warning: passing argument 1 of 'handle_ipv6' from incompatible pointer type dnstop.c:701: note: expected 'struct ip6_hdr *' but argument is of type 'struct ip6_hdr *' dnstop.c: In function 'handle_raw': dnstop.c:880: warning: passing argument 1 of 'handle_ipv4' from incompatible pointer type dnstop.c:783: note: expected 'const struct ip *' but argument is of type 'struct ip *' dnstop.c: In function 'handle_ip': dnstop.c:890: warning: passing argument 1 of 'handle_ipv6' from incompatible pointer type dnstop.c:701: note: expected 'struct ip6_hdr *' but argument is of type 'struct ip6_hdr *' dnstop.c:893: error: 'ETHERTYPE_IP' undeclared (first use in this function) dnstop.c:893: error: (Each undeclared identifier is reported only once dnstop.c:893: error: for each function it appears in.) dnstop.c:894: warning: passing argument 1 of 'handle_ipv4' from incompatible pointer type dnstop.c:783: note: expected 'const struct ip *' but argument is of type 'struct ip *' dnstop.c: In function 'handle_ether': dnstop.c:903: error: dereferencing pointer to incomplete type *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/dnstop/work/dnstop-20090128 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/dnstop *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/dnstop