=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for rootprobe-200301 cc -O -Wall -g -DDEBUG -c rootprobe.c -o rootprobe.o In file included from rootprobe.c:88: ./server.h:70:14: error: use of undeclared identifier 'IFNAMSIZ' char ifname[IFNAMSIZ]; ^ rootprobe.c:452:23: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat] sp->servername, sp->tv.tv_sec, ^~~~~~~~~~~~~ rootprobe.c:514:5: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat] timeout.tv_sec, timeout.tv_usec); ^~~~~~~~~~~~~~ rootprobe.c:514:21: warning: format specifies type 'long' but the argument has type 'suseconds_t' (aka 'int') [-Wformat] timeout.tv_sec, timeout.tv_usec); ^~~~~~~~~~~~~~~ rootprobe.c:709:55: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(sp->so, (struct sockaddr *)&sp->src, &socklen) < 0) { ^~~~~~~~ /usr/include/sys/socket.h:625:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ rootprobe.c:715:35: error: incomplete definition of type 'struct ifconf' for (p = ifbuf; p < &ifbuf[ifconf.ifc_len]; ) { ~~~~~~^ rootprobe.c:97:8: note: forward declaration of 'struct ifconf' struct ifconf ifconf; ^ rootprobe.c:720:8: error: use of undeclared identifier 'IFNAMSIZ' p += IFNAMSIZ + ifrp->ifr_addr.sa_len; ^ rootprobe.c:720:23: error: incomplete definition of type 'struct ifreq' p += IFNAMSIZ + ifrp->ifr_addr.sa_len; ~~~~^ rootprobe.c:691:9: note: forward declaration of 'struct ifreq' struct ifreq *ifrp; ^ rootprobe.c:726:11: error: incomplete definition of type 'struct ifreq' if (ifrp->ifr_addr.sa_family != AF_INET || ifrp->ifr_dstaddr.sa_family != AF_INET) ~~~~^ rootprobe.c:691:9: note: forward declaration of 'struct ifreq' struct ifreq *ifrp; ^ rootprobe.c:726:50: error: incomplete definition of type 'struct ifreq' if (ifrp->ifr_addr.sa_family != AF_INET || ifrp->ifr_dstaddr.sa_family != AF_INET) ~~~~^ rootprobe.c:691:9: note: forward declaration of 'struct ifreq' struct ifreq *ifrp; ^ rootprobe.c:729:36: error: incomplete definition of type 'struct ifreq' sin = (struct sockaddr_in *)&ifrp->ifr_addr; ~~~~^ rootprobe.c:691:9: note: forward declaration of 'struct ifreq' struct ifreq *ifrp; ^ rootprobe.c:829:8: error: incomplete definition of type 'struct ifconf' ifconf.ifc_len = sizeof(ifbuf); ~~~~~~^ rootprobe.c:97:8: note: forward declaration of 'struct ifconf' struct ifconf ifconf; ^ rootprobe.c:830:8: error: incomplete definition of type 'struct ifconf' ifconf.ifc_buf = ifbuf; ~~~~~~^ rootprobe.c:97:8: note: forward declaration of 'struct ifconf' struct ifconf ifconf; ^ rootprobe.c:831:15: error: invalid application of 'sizeof' to an incomplete type 'struct ifconf' if (ioctl(s, SIOCGIFCONF, &ifconf) < 0) { ^~~~~~~~~~~ /usr/include/sys/sockio.h:63:21: note: expanded from macro 'SIOCGIFCONF' #define SIOCGIFCONF _IOWR('i', 38, struct ifconf) /* get ifnet list */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ rootprobe.c:97:8: note: forward declaration of 'struct ifconf' struct ifconf ifconf; ^ rootprobe.c:97:15: error: tentative definition has type 'struct ifconf' that is never completed struct ifconf ifconf; ^ rootprobe.c:97:8: note: forward declaration of 'struct ifconf' struct ifconf ifconf; ^ 4 warnings and 11 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/rootprobe/work/rootprobe *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/rootprobe *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/rootprobe