=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xdm-1.1.11nb5 /usr/pkg/bin/bmake all-recursive Making all in app-defaults Making all in chooser CC chooser.o chooser.c:589:19: error: variable has incomplete type 'struct ifconf' struct ifconf ifc; ^ chooser.c:589:12: note: forward declaration of 'struct ifconf' struct ifconf ifc; ^ chooser.c:630:31: error: invalid application of 'sizeof' to an incomplete type 'struct ifconf' if (ifioctl (socketFD, (int) 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) | \ ^ chooser.c:589:12: note: forward declaration of 'struct ifconf' struct ifconf ifc; ^ chooser.c:641:52: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' for (cp = (char *) IFC_IFC_REQ; cp < cplim; cp += ifr_size (ifr)) ^~~~~~~~~~~~~~ chooser.c:575:23: note: expanded from macro 'ifr_size' # define ifr_size(p) (sizeof (struct ifreq) + \ ^ ~~~~~~~~~~~~~~ chooser.c:590:21: note: forward declaration of 'struct ifreq' register struct ifreq *ifr; ^ chooser.c:641:52: error: incomplete definition of type 'struct ifreq' for (cp = (char *) IFC_IFC_REQ; cp < cplim; cp += ifr_size (ifr)) ^ ~~~ chooser.c:576:10: note: expanded from macro 'ifr_size' (p->ifr_addr.sa_len > sizeof (p->ifr_addr) ? \ ^ chooser.c:590:21: note: forward declaration of 'struct ifreq' register struct ifreq *ifr; ^ chooser.c:641:52: error: incomplete definition of type 'struct ifreq' for (cp = (char *) IFC_IFC_REQ; cp < cplim; cp += ifr_size (ifr)) ^ ~~~ chooser.c:576:39: note: expanded from macro 'ifr_size' (p->ifr_addr.sa_len > sizeof (p->ifr_addr) ? \ ^ chooser.c:590:21: note: forward declaration of 'struct ifreq' register struct ifreq *ifr; ^ chooser.c:641:52: error: incomplete definition of type 'struct ifreq' for (cp = (char *) IFC_IFC_REQ; cp < cplim; cp += ifr_size (ifr)) ^ ~~~ chooser.c:577:10: note: expanded from macro 'ifr_size' p->ifr_addr.sa_len - sizeof (p->ifr_addr) : 0)) ^ chooser.c:590:21: note: forward declaration of 'struct ifreq' register struct ifreq *ifr; ^ chooser.c:641:52: error: incomplete definition of type 'struct ifreq' for (cp = (char *) IFC_IFC_REQ; cp < cplim; cp += ifr_size (ifr)) ^ ~~~ chooser.c:577:39: note: expanded from macro 'ifr_size' p->ifr_addr.sa_len - sizeof (p->ifr_addr) : 0)) ^ chooser.c:590:21: note: forward declaration of 'struct ifreq' register struct ifreq *ifr; ^ chooser.c:647:13: error: incomplete definition of type 'struct ifreq' if (ifr->ifr_addr.sa_family != AF_INET) ~~~^ chooser.c:590:21: note: forward declaration of 'struct ifreq' register struct ifreq *ifr; ^ chooser.c:650:22: error: incomplete definition of type 'struct ifreq' broad_addr = ifr->ifr_addr; ~~~^ chooser.c:590:21: note: forward declaration of 'struct ifreq' register struct ifreq *ifr; ^ chooser.c:655:19: error: variable has incomplete type 'struct ifreq' struct ifreq broad_req; ^ chooser.c:590:21: note: forward declaration of 'struct ifreq' register struct ifreq *ifr; ^ chooser.c:666:26: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ifioctl (socketFD, SIOCGIFFLAGS, (char *) &broad_req) != -1 && ^~~~~~~~~~~~ /usr/include/sys/sockio.h:58:22: note: expanded from macro 'SIOCGIFFLAGS' #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) /* get ifnet flags */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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) | \ ^ chooser.c:590:21: note: forward declaration of 'struct ifreq' register struct ifreq *ifr; ^ chooser.c:668:30: error: use of undeclared identifier 'IFF_BROADCAST'; did you mean 'XDM_BROADCAST'? (broad_req.ifr_flags & IFF_BROADCAST) && ^~~~~~~~~~~~~ XDM_BROADCAST /usr/pkgsrc/work/x11/xdm/work/.buildlink/include/X11/Xdmcp.h:53:16: note: 'XDM_BROADCAST' declared here XDM_QUERY, XDM_BROADCAST, XDM_INDIRECT, XDM_COLLECT_QUERY, ^ chooser.c:681:30: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ifioctl (socketFD, SIOCGIFBRDADDR, &broad_req) != -1) ^~~~~~~~~~~~~~ /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) | \ ^ chooser.c:590:21: note: forward declaration of 'struct ifreq' register struct ifreq *ifr; ^ chooser.c:1348:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!ishexdigit(*s)) ^~~~~~~~~~~~~~ chooser.c:120:25: note: expanded from macro 'ishexdigit' # define ishexdigit(c) (isdigit(c) || ('a' <= (c) && (c) <= 'f')) ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ chooser.c:1352:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!ishexdigit(*s)) ^~~~~~~~~~~~~~ chooser.c:120:25: note: expanded from macro 'ishexdigit' # define ishexdigit(c) (isdigit(c) || ('a' <= (c) && (c) <= 'f')) ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 2 warnings and 13 errors generated. *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/x11/xdm/work/xdm-1.1.11/chooser *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/x11/xdm/work/xdm-1.1.11 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/x11/xdm/work/xdm-1.1.11 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/x11/xdm *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/xdm