=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for rid-1.11nb2 Compiling RID (Remote Intrusion Detector) gcc -c -Wno-error -march=i586 -I/usr/pkg/include -DHAVE_LIBPCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_CTYPE_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 listen.c pinger.c rid.c sender.c In file included from listen.c:9: netconfig.h:14:30: error: netinet/in_systm.h: no such file or directory netconfig.h:19:24: error: netinet/ip.h: no such file or directory netconfig.h:20:29: error: netinet/ip_icmp.h: no such file or directory listen.c:11:25: error: netinet/udp.h: no such file or directory listen.c:23: error: invalid application of 'sizeof' to incomplete type 'struct icmp' listen.c:23: error: invalid application of 'sizeof' to incomplete type 'struct ip' listen.c:24: error: invalid application of 'sizeof' to incomplete type 'struct udphdr' listen.c:24: error: invalid application of 'sizeof' to incomplete type 'struct ip' listen.c:25: error: invalid application of 'sizeof' to incomplete type 'struct ip' listen.c: In function 'read_processor': listen.c:72: error: dereferencing pointer to incomplete type listen.c: In function 'check_tcp': listen.c:96: error: dereferencing pointer to incomplete type listen.c:106: error: dereferencing pointer to incomplete type listen.c:108: error: dereferencing pointer to incomplete type listen.c: In function 'check_udp': listen.c:125: error: invalid application of 'sizeof' to incomplete type 'struct ip' listen.c:128: error: dereferencing pointer to incomplete type listen.c:129: error: dereferencing pointer to incomplete type listen.c:131: error: invalid application of 'sizeof' to incomplete type 'struct udphdr' listen.c:135: error: dereferencing pointer to incomplete type listen.c:137: error: dereferencing pointer to incomplete type listen.c: In function 'check_icmp': listen.c:154: error: invalid application of 'sizeof' to incomplete type 'struct ip' listen.c:157: error: dereferencing pointer to incomplete type listen.c:158: error: dereferencing pointer to incomplete type listen.c:159: error: dereferencing pointer to incomplete type listen.c:160: error: dereferencing pointer to incomplete type listen.c:162: error: invalid application of 'sizeof' to incomplete type 'struct icmp' listen.c:166: error: dereferencing pointer to incomplete type listen.c:168: error: dereferencing pointer to incomplete type In file included from pinger.c:8: netconfig.h:14:30: error: netinet/in_systm.h: no such file or directory netconfig.h:19:24: error: netinet/ip.h: no such file or directory netconfig.h:20:29: error: netinet/ip_icmp.h: no such file or directory pinger.c: In function 'pingsweep': pinger.c:35: error: 'IP_MAXPACKET' undeclared (first use in this function) pinger.c:35: error: (Each undeclared identifier is reported only once pinger.c:35: error: for each function it appears in.) pinger.c:36: error: invalid application of 'sizeof' to incomplete type 'struct icmp' pinger.c:46: error: invalid application of 'sizeof' to incomplete type 'struct icmp' pinger.c:55: error: dereferencing pointer to incomplete type pinger.c:55: error: 'ICMP_ECHO' undeclared (first use in this function) pinger.c:56: error: dereferencing pointer to incomplete type pinger.c:57: error: dereferencing pointer to incomplete type pinger.c:58: error: dereferencing pointer to incomplete type pinger.c:59: error: dereferencing pointer to incomplete type pinger.c:95: error: dereferencing pointer to incomplete type pinger.c:96: error: dereferencing pointer to incomplete type pinger.c:97: error: dereferencing pointer to incomplete type pinger.c:97: error: 'ICMP_ECHOREPLY' undeclared (first use in this function) pinger.c:97: error: dereferencing pointer to incomplete type pinger.c:98: error: dereferencing pointer to incomplete type pinger.c:98: error: dereferencing pointer to incomplete type pinger.c:100: error: dereferencing pointer to incomplete type In file included from rid.c:9: netconfig.h:14:30: error: netinet/in_systm.h: no such file or directory netconfig.h:19:24: error: netinet/ip.h: no such file or directory netconfig.h:20:29: error: netinet/ip_icmp.h: no such file or directory rid.c: In function 'main': rid.c:111: error: 'SO_BROADCAST' undeclared (first use in this function) rid.c:111: error: (Each undeclared identifier is reported only once rid.c:111: error: for each function it appears in.) In file included from sender.c:9: netconfig.h:14:30: error: netinet/in_systm.h: no such file or directory netconfig.h:19:24: error: netinet/ip.h: no such file or directory netconfig.h:20:29: error: netinet/ip_icmp.h: no such file or directory sender.c: In function 'tcp_send': sender.c:72: error: storage size of 'l' isn't known sender.c:115: error: 'SO_LINGER' undeclared (first use in this function) sender.c:115: error: (Each undeclared identifier is reported only once sender.c:115: error: for each function it appears in.) sender.c:116: error: invalid application of 'sizeof' to incomplete type 'struct linger' sender.c: In function 'icmp_send': sender.c:147: error: 'IP_MAXPACKET' undeclared (first use in this function) sender.c:170: error: invalid application of 'sizeof' to incomplete type 'struct icmp' sender.c:172: error: invalid application of 'sizeof' to incomplete type 'struct icmp' sender.c:174: error: invalid application of 'sizeof' to incomplete type 'struct icmp' sender.c:177: error: dereferencing pointer to incomplete type sender.c:179: error: dereferencing pointer to incomplete type sender.c:182: error: dereferencing pointer to incomplete type sender.c:184: error: dereferencing pointer to incomplete type sender.c:187: error: dereferencing pointer to incomplete type sender.c:189: error: dereferencing pointer to incomplete type sender.c:192: error: dereferencing pointer to incomplete type sender.c:194: error: dereferencing pointer to incomplete type sender.c:196: error: dereferencing pointer to incomplete type sender.c: In function 'udp_send': sender.c:232: error: storage size of 'l' isn't known sender.c:259: error: 'SO_LINGER' undeclared (first use in this function) sender.c:260: error: invalid application of 'sizeof' to incomplete type 'struct linger' *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/security/rid/work/rid-1.11 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/security/rid *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/security/rid