=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for mrsync-20090219 cc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c multicaster.c cc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c global.c cc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c setup_socket.c cc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c set_mcast.c set_mcast.c:58:17: error: variable has incomplete type 'struct ifreq' struct ifreq ifreq; ^ set_mcast.c:58:10: note: forward declaration of 'struct ifreq' struct ifreq ifreq; ^ set_mcast.c:61:8: warning: implicit declaration of function 'if_indextoname' is invalid in C99 [-Wimplicit-function-declaration] if (if_indextoname(ifindex, ifreq.ifr_name) == NULL) { ^ set_mcast.c:69:22: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ioctl(sockfd, SIOCGIFADDR, &ifreq) < 0) ^~~~~~~~~~~ /usr/include/sys/sockio.h:52:21: note: expanded from macro 'SIOCGIFADDR' #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) /* get ifnet address */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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) | \ ^ set_mcast.c:58:10: note: forward declaration of 'struct ifreq' struct ifreq ifreq; ^ 1 warning and 2 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/sysutils/mrsync/work *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/mrsync *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/mrsync