=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for udpcast-20060619nb2 cc -O2 -march=i586 -I/usr/pkg/include -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -DNO_BB -I/usr/pkg/include -c -o udp-receiver.o udp-receiver.c cc -O2 -march=i586 -I/usr/pkg/include -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -DNO_BB -I/usr/pkg/include -c -o socklib.o socklib.c socklib.c:384:14: warning: declaration of 'struct ip_mreqn' will not be visible outside of this function [-Wvisibility] struct IP_MREQN *mreq) { ^ socklib.c:372:19: note: expanded from macro 'IP_MREQN' # define IP_MREQN ip_mreqn ^ socklib.c:386:9: error: incomplete definition of type 'struct ip_mreqn' mreq->imr_ifindex = net_if->index; ~~~~^ socklib.c:384:14: note: forward declaration of 'struct ip_mreqn' struct IP_MREQN *mreq) { ^ socklib.c:372:19: note: expanded from macro 'IP_MREQN' # define IP_MREQN ip_mreqn ^ socklib.c:387:9: error: incomplete definition of type 'struct ip_mreqn' mreq->imr_address.s_addr = 0; ~~~~^ socklib.c:384:14: note: forward declaration of 'struct ip_mreqn' struct IP_MREQN *mreq) { ^ socklib.c:372:19: note: expanded from macro 'IP_MREQN' # define IP_MREQN ip_mreqn ^ socklib.c:391:9: error: incomplete definition of type 'struct ip_mreqn' mreq->imr_multiaddr = addr; ~~~~^ socklib.c:384:14: note: forward declaration of 'struct ip_mreqn' struct IP_MREQN *mreq) { ^ socklib.c:372:19: note: expanded from macro 'IP_MREQN' # define IP_MREQN ip_mreqn ^ socklib.c:401:21: error: variable has incomplete type 'struct ip_mreqn' struct IP_MREQN mreq; ^ socklib.c:401:12: note: forward declaration of 'struct ip_mreqn' struct IP_MREQN mreq; ^ socklib.c:372:19: note: expanded from macro 'IP_MREQN' # define IP_MREQN ip_mreqn ^ socklib.c:572:19: error: array has incomplete element type 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:574:16: error: variable has incomplete type 'struct ifconf' struct ifconf ifc; ^ socklib.c:574:9: note: forward declaration of 'struct ifconf' struct ifconf ifc; ^ socklib.c:625:15: error: invalid application of 'sizeof' to an incomplete type 'struct ifconf' if (ioctl(s, SIOCGIFCONF, (char *)&ifc) < 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) | \ ^ socklib.c:574:9: note: forward declaration of 'struct ifconf' struct ifconf ifc; ^ socklib.c:626:39: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' ifc.ifc_len < (signed int)sizeof(struct ifreq)) { ^ ~~~~~~~~~~~~~~ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:634:39: error: arithmetic on a pointer to an incomplete type 'struct ifreq' for (ifrp = ibuf ; ifrp < ifend; ifrp++) { ~~~~^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:635:44: error: incomplete definition of type 'struct ifreq' unsigned long iaddr = getSinAddr(&ifrp->ifr_addr).s_addr; ~~~~^ socklib.c:377:51: note: expanded from macro 'getSinAddr' #define getSinAddr(addr) (((struct sockaddr_in *) addr)->sin_addr) ^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:641:32: error: incomplete definition of type 'struct ifreq' } else if(strcmp(wanted, ifrp->ifr_name) ==0) { ~~~~^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:645:26: error: incomplete definition of type 'struct ifreq' strncmp(wanted, ifrp->ifr_name, wantedLen) ==0) { ~~~~^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:659:32: error: incomplete definition of type 'struct ifreq' } else if(strcmp("eth0", ifrp->ifr_name) == 0) { ~~~~^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:662:34: error: incomplete definition of type 'struct ifreq' } else if(strncmp("eth0:", ifrp->ifr_name, 5) == 0) { ~~~~^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:665:32: error: incomplete definition of type 'struct ifreq' } else if(strncmp("eth", ifrp->ifr_name, 3) == 0) { ~~~~^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:673:24: error: incomplete definition of type 'struct ifreq' if(hasLink(s, ifrp->ifr_name)) ~~~~^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:683:16: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if(ioctl(s, SIOCGIFBRDADDR, ifrp) < 0) ^~~~~~~~~~~~~~ /usr/include/sys/sockio.h:60:24: note: expanded from macro 'SIOCGIFBRDADDR' #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) /* get broadcast addr */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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) | \ ^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:685:15: error: incomplete definition of type 'struct ifreq' ifrp->ifr_name, strerror(errno)); ~~~~^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ socklib.c:686:22: error: incomplete definition of type 'struct ifreq' if(getSinAddr(&ifrp->ifr_ifru.ifru_broadaddr).s_addr) ~~~~^ socklib.c:377:51: note: expanded from macro 'getSinAddr' #define getSinAddr(addr) (((struct sockaddr_in *) addr)->sin_addr) ^ socklib.c:572:9: note: forward declaration of 'struct ifreq' struct ifreq ibuf[100]; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. : recipe for target 'socklib.o' failed gmake: *** [socklib.o] Error 1 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/net/udpcast *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/udpcast