=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xpilot-4.5.4nb3 rm -f README.txt ./contrib/msub/msub +R"@<" -R">@" README.txt.msub >README.txt making all in ./doc... making all in doc/man/... ../../contrib/msub/msub +R"@<" -R">@" xpilot.man.msub >xpilot.man ../../contrib/msub/msub +R"@<" -R">@" xpilots.man.msub >xpilots.man ../../contrib/msub/msub +R"@<" -R">@" xp-replay.man.msub >xp-replay.man ../../contrib/msub/msub +R"@<" -R">@" xp-mapedit.man.msub >xp-mapedit.man rm -f xpilot._man if test -z "" ; then cd `dirname xpilot` && ln -s `basename xpilot.man` `basename xpilot._man`; else /lib/cpp -undef -D__apploaddir__=/usr/pkg/lib/X11/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=XConfigFile -D__xconfigdir__=XConfigDir -D__xlogfile__=XLogFile -D__xservername__=XServerName -D__xorgversion__="\"XorgManVersionString\" \"X Version 11\"" -D__vendorversion__="Release 7 X Version 11" < xpilot.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xpilot._man; fi rm -f xpilots._man if test -z "" ; then cd `dirname xpilots` && ln -s `basename xpilots.man` `basename xpilots._man`; else /lib/cpp -undef -D__apploaddir__=/usr/pkg/lib/X11/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=XConfigFile -D__xconfigdir__=XConfigDir -D__xlogfile__=XLogFile -D__xservername__=XServerName -D__xorgversion__="\"XorgManVersionString\" \"X Version 11\"" -D__vendorversion__="Release 7 X Version 11" < xpilots.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xpilots._man; fi rm -f xp-replay._man if test -z "" ; then cd `dirname xp-replay` && ln -s `basename xp-replay.man` `basename xp-replay._man`; else /lib/cpp -undef -D__apploaddir__=/usr/pkg/lib/X11/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=XConfigFile -D__xconfigdir__=XConfigDir -D__xlogfile__=XLogFile -D__xservername__=XServerName -D__xorgversion__="\"XorgManVersionString\" \"X Version 11\"" -D__vendorversion__="Release 7 X Version 11" < xp-replay.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xp-replay._man; fi rm -f xp-mapedit._man if test -z "" ; then cd `dirname xp-mapedit` && ln -s `basename xp-mapedit.man` `basename xp-mapedit._man`; else /lib/cpp -undef -D__apploaddir__=/usr/pkg/lib/X11/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=XConfigFile -D__xconfigdir__=XConfigDir -D__xlogfile__=XLogFile -D__xservername__=XServerName -D__xorgversion__="\"XorgManVersionString\" \"X Version 11\"" -D__vendorversion__="Release 7 X Version 11" < xp-mapedit.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xp-mapedit._man; fi making all in ./contrib... making all in contrib/msub/... making all in ./src... making all in src/common... cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c checknames.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c config.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c error.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c list.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c math.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c net.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c portability.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c randommt.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c shipshape.c shipshape.c:223:10: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*str)) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ shipshape.c:1408:9: warning: array subscript is of type 'char' [-Wchar-subscripts] if (islower(*keyw)) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ shipshape.c:1416:14: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (isupper(*keyw)) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:57:44: note: expanded from macro 'isupper' #define isupper(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_U)) ^~~~ 3 warnings generated. cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c socklib.c socklib.c:552:82: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] count = recvfrom(sock->fd, buf, len, 0, (struct sockaddr *)(sock->lastaddr), &addrlen); ^~~~~~~~ /usr/include/sys/socket.h:632:58: note: passing argument to parameter here struct sockaddr * __restrict, socklen_t * __restrict); ^ socklib.c:716:57: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(sock->fd, (struct sockaddr *)&addr, &len) < 0) { ^~~~ /usr/include/sys/socket.h:625:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ socklib.c:731:68: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockopt(sock->fd, SOL_SOCKET, SO_ERROR, (void *)&error, &size) < 0) { ^~~~~ /usr/include/sys/socket.h:626:71: note: passing argument to parameter here int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^ 3 warnings generated. cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c strcasecmp.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c strdup.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c strlcpy.c cc -Wall -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DLOCALGURU=\"xpilot@xpilot.org\" -DLIBDIR=\"/usr/pkg/share/xpilot/\" -I/usr/X11R7/include -c xpmemory.c rm -f libxpcommon.a ar clq libxpcommon.a checknames.o config.o error.o list.o math.o net.o portability.o randommt.o shipshape.o socklib.o strcasecmp.o strdup.o strlcpy.o xpmemory.o ranlib libxpcommon.a bmake: $(_NULLCMD_) expands to empty string making all in src/common/NT... making all in src/common/NT/bindist... ../../../../contrib/msub/msub +R"@<" -R">@" README.txt.msub >README.txt ../../../../contrib/msub/msub +R"@<" -R">@" READMEbin.txt.msub >READMEbin.txt ../../../../contrib/msub/msub +R"@<" -R">@" ServerMOTD.txt.msub >ServerMOTD.txt making all in src/client... cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c about.c about.c:112:21: warning: array subscript is of type 'char' [-Wchar-subscripts] for (i=0; *str && !isspace(*str) && i < LINE_MAX-1; str++, i++) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ about.c:130:9: warning: array subscript is of type 'char' [-Wchar-subscripts] for (; isspace(*str); str++) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ about.c:279:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "University of Troms (Norway) by Ken Ronny Schouten and " ^~~~ about.c:280:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Bjrn Stabell during the fall of 1991, but much of the game today " ^~~~ about.c:298:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Bjrn Stabell, Ken Ronny Schouten, Bert Gijsbers & Dick Balaska", ^~~~ 5 warnings generated. cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c blockbitmaps.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c caudio.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c client.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c colors.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c configure.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c datagram.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c dbuff.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c default.c default.c:2218:6: warning: array subscript is of type 'char' [-Wchar-subscripts] islower(*resource) ? toupper(*resource) : *resource, resource + 1); ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ default.c:2218:27: warning: array subscript is of type 'char' [-Wchar-subscripts] islower(*resource) ? toupper(*resource) : *resource, resource + 1); ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ default.c:2259:37: warning: array subscript is of type 'char' [-Wchar-subscripts] while ((*src & 0x7f) == *src && isgraph(*src) == 0 && *src != '\0') { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:52:44: note: expanded from macro 'isgraph' #define isgraph(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_G)) ^~~~ default.c:2262:37: warning: array subscript is of type 'char' [-Wchar-subscripts] while ((*src & 0x7f) != *src || isgraph(*src) != 0) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:52:44: note: expanded from macro 'isgraph' #define isgraph(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_G)) ^~~~ default.c:2658:23: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isascii(*ptr) && isspace(*ptr)) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 5 warnings generated. cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c gfx2d.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c gfx3d.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c guimap.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c guiobjects.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c join.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c netclient.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c paint.c paint.c:197:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] XStoreName(dpy, top, COPYRIGHT); ^ ../common/version.h:42:31: note: expanded from macro 'COPYRIGHT' #define COPYRIGHT "Copyright 1991-2002 by Bjrn Stabell, Ken Ronny Schouten, Bert Gijsbers & Dick Balaska" ^~~~ ~~~~ 1 warning generated. cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c paintdata.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c painthud.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c paintmap.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c paintobjects.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c paintradar.c cc -Wall -I../common/ -I../../lib/ -I/usr/pkg/include -I /usr/X11R7/include -DWINDOWSCALING -I/usr/X11R7/include -c query.c query.c:224:19: error: variable has incomplete type 'struct ifconf' struct ifconf ifconf; ^ query.c:224:12: note: forward declaration of 'struct ifconf' struct ifconf ifconf; ^ query.c:225:27: error: variable has incomplete type 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:225:39: error: array has incomplete element type 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:249:19: error: invalid application of 'sizeof' to an incomplete type 'struct ifconf' if (ioctl(fd, SIOCGIFCONF, (char *)&ifconf) == -1) { ^~~~~~~~~~~ /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) | \ ^ query.c:224:12: note: forward declaration of 'struct ifconf' struct ifconf ifconf; ^ query.c:254:25: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' for (len = 0; len + sizeof(struct ifreq) <= ifconf.ifc_len;) { ^ ~~~~~~~~~~~~~~ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:260:9: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' len += sizeof(struct ifreq); ^ ~~~~~~~~~~~~~~ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:267:12: error: incomplete definition of type 'struct ifreq' if (ifreqp->ifr_addr.sa_len > sizeof(ifreqp->ifr_addr)) { ~~~~~~^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:267:45: error: incomplete definition of type 'struct ifreq' if (ifreqp->ifr_addr.sa_len > sizeof(ifreqp->ifr_addr)) { ~~~~~~^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:268:19: error: incomplete definition of type 'struct ifreq' len += ifreqp->ifr_addr.sa_len - sizeof(ifreqp->ifr_addr); ~~~~~~^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:268:52: error: incomplete definition of type 'struct ifreq' len += ifreqp->ifr_addr.sa_len - sizeof(ifreqp->ifr_addr); ~~~~~~^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:273:12: error: incomplete definition of type 'struct ifreq' if (ifreqp->ifr_addr.sa_family != AF_INET) { ~~~~~~^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:280:39: error: incomplete definition of type 'struct ifreq' addr = *(struct sockaddr_in *)&ifreqp->ifr_addr; ~~~~~~^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:287:16: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifreq) == -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) | \ ^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:300:17: error: use of undeclared identifier 'IFF_LOOPBACK' if ((ifflags & IFF_LOOPBACK) != 0) { ^ query.c:310:24: error: use of undeclared identifier 'IFF_POINTOPOINT' } else if ((ifflags & IFF_POINTOPOINT) != 0) { ^ query.c:313:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ioctl(fd, SIOCGIFDSTADDR, (char *)&ifreq) == -1) { ^~~~~~~~~~~~~~ /usr/include/sys/sockio.h:55:24: note: expanded from macro 'SIOCGIFDSTADDR' #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) /* get p-p address */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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) | \ ^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:319:24: error: use of undeclared identifier 'IFF_BROADCAST' } else if ((ifflags & IFF_BROADCAST) != 0) { ^ query.c:322:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ioctl(fd, SIOCGIFBRDADDR, (char *)&ifreq) == -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) | \ ^ query.c:225:12: note: forward declaration of 'struct ifreq' struct ifreq *ifreqp, ifreq, ifbuf[MAX_INTERFACE]; ^ query.c:336:18: error: use of undeclared identifier 'IFF_LOOPBACK' if ((ifflags & (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST)) != 0) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/games/xpilot/work/xpilot-4.5.4/src/client *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/games/xpilot/work/xpilot-4.5.4/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/games/xpilot/work/xpilot-4.5.4 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/xpilot *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/xpilot