=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for gnetcat-0.7.1nb3 /usr/pkg/bin/bmake all-recursive Making all in m4 Making all in lib Making all in contrib Making all in src cc -DLOCALEDIR=\"\/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -Wall -c `test -f 'core.c' || echo './'`core.c core.c:230:63: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret = getsockname(sock, (struct sockaddr *)&local_addr, &ret); ^~~~ /usr/include/sys/socket.h:625:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 1 warning generated. cc -DLOCALEDIR=\"\/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -Wall -c `test -f 'flagset.c' || echo './'`flagset.c cc -DLOCALEDIR=\"\/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -Wall -c `test -f 'misc.c' || echo './'`misc.c cc -DLOCALEDIR=\"\/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -Wall -c `test -f 'netcat.c' || echo './'`netcat.c cc -DLOCALEDIR=\"\/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -Wall -c `test -f 'network.c' || echo './'`network.c cc -DLOCALEDIR=\"\/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -Wall -c `test -f 'telnet.c' || echo './'`telnet.c cc -DLOCALEDIR=\"\/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -Wall -c `test -f 'udphelper.c' || echo './'`udphelper.c udphelper.c:52:10: warning: 'SIOCGLIFADDR' macro redefined # define SIOCGLIFADDR SIOCGIFADDR ^ /usr/include/sys/sockio.h:77:9: note: previous definition is here #define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) /* get IF addr */ ^ udphelper.c:115:18: error: variable has incomplete type 'struct ifconf' struct lifconf nc_ifconf; ^ udphelper.c:115:10: note: forward declaration of 'struct ifconf' struct lifconf nc_ifconf; ^ udphelper.c:44:18: note: expanded from macro 'lifconf' # define lifconf ifconf ^ udphelper.c:138:35: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' alloc_size = if_total * sizeof(*nc_ifreq); ^~~~~~~~~~~ udphelper.c:116:10: note: forward declaration of 'struct ifreq' struct lifreq *nc_ifreq = NULL; ^ udphelper.c:61:17: note: expanded from macro 'lifreq' # define lifreq ifreq ^ udphelper.c:156:29: error: invalid application of 'sizeof' to an incomplete type 'struct ifconf' ret = ioctl(dummy_sock, SIOCGLIFCONF, (char *)&nc_ifconf); ^~~~~~~~~~~~ udphelper.c:40:23: note: expanded from macro 'SIOCGLIFCONF' # define SIOCGLIFCONF SIOCGIFCONF ^~~~~~~~~~~ /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) | \ ^ udphelper.c:115:10: note: forward declaration of 'struct ifconf' struct lifconf nc_ifconf; ^ udphelper.c:44:18: note: expanded from macro 'lifconf' # define lifconf ifconf ^ udphelper.c:171:17: error: incomplete definition of type 'struct ifreq' if (nc_ifreq->lifr_addr.sa_len > sizeof(struct sockaddr)) ~~~~~~~~^ udphelper.c:116:10: note: forward declaration of 'struct ifreq' struct lifreq *nc_ifreq = NULL; ^ udphelper.c:61:17: note: expanded from macro 'lifreq' # define lifreq ifreq ^ udphelper.c:172:32: error: incomplete definition of type 'struct ifreq' if_pos += sizeof(nc_ifreq->lifr_name) + nc_ifreq->lifr_addr.sa_len; ~~~~~~~~^ udphelper.c:116:10: note: forward declaration of 'struct ifreq' struct lifreq *nc_ifreq = NULL; ^ udphelper.c:61:17: note: expanded from macro 'lifreq' # define lifreq ifreq ^ udphelper.c:172:55: error: incomplete definition of type 'struct ifreq' if_pos += sizeof(nc_ifreq->lifr_name) + nc_ifreq->lifr_addr.sa_len; ~~~~~~~~^ udphelper.c:116:10: note: forward declaration of 'struct ifreq' struct lifreq *nc_ifreq = NULL; ^ udphelper.c:61:17: note: expanded from macro 'lifreq' # define lifreq ifreq ^ udphelper.c:174:23: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if_pos += sizeof(*nc_ifreq); ^~~~~~~~~~~ udphelper.c:116:10: note: forward declaration of 'struct ifreq' struct lifreq *nc_ifreq = NULL; ^ udphelper.c:61:17: note: expanded from macro 'lifreq' # define lifreq ifreq ^ udphelper.c:186:17: error: incomplete definition of type 'struct ifreq' if (nc_ifreq->lifr_addr.ss_family != AF_INET) ~~~~~~~~^ udphelper.c:116:10: note: forward declaration of 'struct ifreq' struct lifreq *nc_ifreq = NULL; ^ udphelper.c:61:17: note: expanded from macro 'lifreq' # define lifreq ifreq ^ udphelper.c:190:31: error: incomplete definition of type 'struct ifreq' memcpy(&if_addr, &nc_ifreq->lifr_addr, sizeof(if_addr)); ~~~~~~~~^ udphelper.c:116:10: note: forward declaration of 'struct ifreq' struct lifreq *nc_ifreq = NULL; ^ udphelper.c:61:17: note: expanded from macro 'lifreq' # define lifreq ifreq ^ udphelper.c:194:29: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' ret = ioctl(dummy_sock, SIOCGLIFFLAGS, (char *)nc_ifreq); ^~~~~~~~~~~~~ udphelper.c:53:24: note: expanded from macro 'SIOCGLIFFLAGS' # define SIOCGLIFFLAGS SIOCGIFFLAGS ^~~~~~~~~~~~ /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) | \ ^ udphelper.c:116:10: note: forward declaration of 'struct ifreq' struct lifreq *nc_ifreq = NULL; ^ udphelper.c:61:17: note: expanded from macro 'lifreq' # define lifreq ifreq ^ udphelper.c:199:19: error: incomplete definition of type 'struct ifreq' if (!(nc_ifreq->lifr_flags & IFF_UP)) ~~~~~~~~^ udphelper.c:116:10: note: forward declaration of 'struct ifreq' struct lifreq *nc_ifreq = NULL; ^ udphelper.c:61:17: note: expanded from macro 'lifreq' # define lifreq ifreq ^ udphelper.c:233:63: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret = getsockname(newsock, (struct sockaddr *)&if_addr, &sa_tmp_len); ^~~~~~~~~~~ /usr/include/sys/socket.h:625:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 2 warnings and 11 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gnetcat/work/netcat-0.7.1/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gnetcat/work/netcat-0.7.1 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gnetcat/work/netcat-0.7.1 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/gnetcat *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/gnetcat