=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for uftp-4.1.2nb2 gcc -g -Wall -c uftp_common.c uftp_common.c:183:20: error: variable has incomplete type 'struct lifconf' struct lifconf ifc; ^ uftp_common.c:183:12: note: forward declaration of 'struct lifconf' struct lifconf ifc; ^ uftp_common.c:184:25: error: variable has incomplete type 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:184:40: error: variable has incomplete type 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:188:18: error: invalid application of 'sizeof' to an incomplete type 'struct lifreq' ifr = malloc(sizeof(struct lifreq) * count); ^ ~~~~~~~~~~~~~~~ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:195:20: error: invalid application of 'sizeof' to an incomplete type 'struct lifreq' ifc.lifc_len = sizeof(struct lifreq) * count; ^ ~~~~~~~~~~~~~~~ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:204:18: error: use of undeclared identifier 'SIOCGLIFCONF' if (ioctl(s, SIOCGLIFCONF, &ifc) == -1) { ^ uftp_common.c:211:28: error: invalid application of 'sizeof' to an incomplete type 'struct lifreq' count = ifc.lifc_len / sizeof(struct lifreq); ^ ~~~~~~~~~~~~~~~ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:213:44: error: subscript of pointer to incomplete type 'struct lifreq' strcpy(ifr_tmp_flags.lifr_name, ifr[i].lifr_name); ~~~^ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:214:22: error: use of undeclared identifier 'SIOCGLIFFLAGS' if (ioctl(s, SIOCGLIFFLAGS, &ifr_tmp_flags) == -1) { ^ uftp_common.c:216:25: error: subscript of pointer to incomplete type 'struct lifreq' ifr[i].lifr_name); ~~~^ ./uftp_common.h:121:58: note: expanded from macro 'syserror' logfunc(group_id, file_id, 0, showtime, 1, errno, 0, __VA_ARGS__) ^ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:219:44: error: subscript of pointer to incomplete type 'struct lifreq' strcpy(ifr_tmp_ifidx.lifr_name, ifr[i].lifr_name); ~~~^ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:220:22: error: use of undeclared identifier 'SIOCGLIFINDEX' if (ioctl(s, SIOCGLIFINDEX, &ifr_tmp_ifidx) == -1) { ^ uftp_common.c:222:25: error: subscript of pointer to incomplete type 'struct lifreq' ifr[i].lifr_name); ~~~^ ./uftp_common.h:121:58: note: expanded from macro 'syserror' logfunc(group_id, file_id, 0, showtime, 1, errno, 0, __VA_ARGS__) ^ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:225:18: error: subscript of pointer to incomplete type 'struct lifreq' if (((ifr[i].lifr_addr.ss_family == AF_INET) || ~~~^ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:226:21: error: subscript of pointer to incomplete type 'struct lifreq' (ifr[i].lifr_addr.ss_family == AF_INET6)) && ~~~^ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:229:40: error: subscript of pointer to incomplete type 'struct lifreq' strncpy(list[*len].name,ifr[i].lifr_name, sizeof(list[i].name) - 1); ~~~^ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ uftp_common.c:230:40: error: subscript of pointer to incomplete type 'struct lifreq' memcpy(&list[*len].su, &ifr[i].lifr_addr, ~~~^ uftp_common.c:184:12: note: forward declaration of 'struct lifreq' struct lifreq *ifr, ifr_tmp_flags, ifr_tmp_ifidx; ^ 17 errors generated. makefile:202: recipe for target 'uftp_common.o' failed gmake: *** [uftp_common.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/uftp *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/uftp