=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for flodo-5.0 cd /usr/pkgsrc/work/net/flodo/work/flodo-v5 && cc -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o flodo flodo.c hash.c local_mac.c -lpcap flodo.c:154:23: error: field has incomplete type 'struct ether_header' struct ether_header ether; ^ flodo.c:154:10: note: forward declaration of 'struct ether_header' struct ether_header ether; ^ flodo.c:278:26: error: invalid application of 'sizeof' to an incomplete type 'const struct ether_header' if (header->len < sizeof(*ether)) { ^~~~~~~~ flodo.c:154:10: note: forward declaration of 'struct ether_header' struct ether_header ether; ^ flodo.c:283:33: error: incomplete definition of type 'struct ether_header' a.outbound = is_local_mac(ether->ether_shost); ~~~~~^ flodo.c:154:10: note: forward declaration of 'struct ether_header' struct ether_header ether; ^ flodo.c:291:22: error: incomplete definition of type 'struct ether_header' switch (ntohs(ether->ether_type)) { ~~~~~^ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ flodo.c:154:10: note: forward declaration of 'struct ether_header' struct ether_header ether; ^ flodo.c:291:22: error: incomplete definition of type 'struct ether_header' switch (ntohs(ether->ether_type)) { ~~~~~^ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ flodo.c:154:10: note: forward declaration of 'struct ether_header' struct ether_header ether; ^ flodo.c:291:22: error: incomplete definition of type 'struct ether_header' switch (ntohs(ether->ether_type)) { ~~~~~^ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:28: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ flodo.c:154:10: note: forward declaration of 'struct ether_header' struct ether_header ether; ^ flodo.c:291:22: error: incomplete definition of type 'struct ether_header' switch (ntohs(ether->ether_type)) { ~~~~~^ /usr/include/sys/endian.h:126:44: note: expanded from macro 'ntohs' #define ntohs(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/cdefs.h:584:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ flodo.c:154:10: note: forward declaration of 'struct ether_header' struct ether_header ether; ^ 7 errors generated. *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/net/flodo *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/flodo