=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for wmnet-1.06nb5 --- wmnet.o --- --- drivers.o --- --- getopt.o --- --- wmnet.o --- clang -O -O2 -I/usr/pkg/include -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c wmnet.c --- drivers.o --- clang -O -O2 -I/usr/pkg/include -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c drivers.c --- getopt.o --- clang -O -O2 -I/usr/pkg/include -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c getopt.c --- drivers.o --- drivers.c:475:39: error: invalid application of 'sizeof' to an incomplete type 'struct ifnet' kvm_read(kvmfd, ifnet_addr, buffer, sizeof(struct ifnet)); ^ ~~~~~~~~~~~~~~ drivers.c:470:9: note: forward declaration of 'struct ifnet' struct ifnet * ifnet = (struct ifnet *)buffer; ^ drivers.c:479:39: error: incomplete definition of type 'struct ifnet' kvm_read(kvmfd, (unsigned long)ifnet->if_name, devname, 15); ~~~~~^ drivers.c:470:9: note: forward declaration of 'struct ifnet' struct ifnet * ifnet = (struct ifnet *)buffer; ^ drivers.c:480:47: error: incomplete definition of type 'struct ifnet' snprintf(devname, 15, "%s%d", devname, ifnet->if_unit); ~~~~~^ drivers.c:470:9: note: forward declaration of 'struct ifnet' struct ifnet * ifnet = (struct ifnet *)buffer; ^ drivers.c:483:31: error: incomplete definition of type 'struct ifnet' totalpackets_in =ifnet->if_ipackets; ~~~~~^ drivers.c:470:9: note: forward declaration of 'struct ifnet' struct ifnet * ifnet = (struct ifnet *)buffer; ^ drivers.c:485:38: error: incomplete definition of type 'struct ifnet' totalbytes_in = ifnet->if_ibytes; ~~~~~^ drivers.c:470:9: note: forward declaration of 'struct ifnet' struct ifnet * ifnet = (struct ifnet *)buffer; ^ drivers.c:494:33: error: incomplete definition of type 'struct ifnet' totalpackets_out = ifnet->if_opackets; ~~~~~^ drivers.c:470:9: note: forward declaration of 'struct ifnet' struct ifnet * ifnet = (struct ifnet *)buffer; ^ drivers.c:496:38: error: incomplete definition of type 'struct ifnet' totalbytes_out =ifnet->if_obytes; ~~~~~^ drivers.c:470:9: note: forward declaration of 'struct ifnet' struct ifnet * ifnet = (struct ifnet *)buffer; ^ drivers.c:509:42: error: incomplete definition of type 'struct ifnet' ifnet_addr = (unsigned long)ifnet->if_next; ~~~~~^ drivers.c:470:9: note: forward declaration of 'struct ifnet' struct ifnet * ifnet = (struct ifnet *)buffer; ^ 8 errors generated. *** [drivers.o] Error code 1 bmake: stopped in /var/pkgsrc/work/net/wmnet/work/wmnet-1.06 --- getopt.o --- getopt.c:706:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- wmnet.o --- wmnet.c:468:55: warning: passing 'unsigned char [18]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((arrow = XCreateBitmapFromData(dpy, root_window, arrow_bits, arrow_width, arrow_height)) == None) { ^~~~~~~~~~ /var/pkgsrc/work/net/wmnet/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ --- getopt.o --- 1 warning generated. --- wmnet.o --- 1 warning generated. 1 error bmake: stopped in /var/pkgsrc/work/net/wmnet/work/wmnet-1.06 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/wmnet *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/wmnet