=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for hanterm-3.1.6nb6 rm -f main.o cc -c -O -I/usr/pkg/include -I /usr/X11R7/include -DALLOWLOGFILEONOFF -DUTMP -DOSMAJORVERSION=0 -DOSMINORVERSION=0 -DENV_HANGUL_KEYBOARD_TYPE main.c main.c:429:28: error: use of undeclared identifier 'EVENP' 0, 0, 0177, CKILL, EVENP|ODDP|ECHO|XTABS|CRMOD ^ main.c:429:34: error: use of undeclared identifier 'ODDP' 0, 0, 0177, CKILL, EVENP|ODDP|ECHO|XTABS|CRMOD ^ main.c:429:44: error: use of undeclared identifier 'XTABS' 0, 0, 0177, CKILL, EVENP|ODDP|ECHO|XTABS|CRMOD ^ main.c:429:50: error: use of undeclared identifier 'CRMOD' 0, 0, 0177, CKILL, EVENP|ODDP|ECHO|XTABS|CRMOD ^ main.c:428:23: error: variable has incomplete type 'struct sgttyb' static struct sgttyb d_sg = { ^ main.c:428:16: note: forward declaration of 'struct sgttyb' static struct sgttyb d_sg = { ^ main.c:431:23: error: variable has incomplete type 'struct tchars' static struct tchars d_tc = { ^ main.c:431:16: note: forward declaration of 'struct tchars' static struct tchars d_tc = { ^ main.c:435:24: error: variable has incomplete type 'struct ltchars' static struct ltchars d_ltc = { ^ main.c:435:16: note: forward declaration of 'struct ltchars' static struct ltchars d_ltc = { ^ main.c:439:26: error: use of undeclared identifier 'NTTYDISC' static int d_disipline = NTTYDISC; ^ main.c:440:27: error: use of undeclared identifier 'LCRTBS' static long int d_lmode = LCRTBS|LCRTERA|LCRTKIL|LCTLECH; ^ main.c:440:34: error: use of undeclared identifier 'LCRTERA' static long int d_lmode = LCRTBS|LCRTERA|LCRTKIL|LCTLECH; ^ main.c:440:42: error: use of undeclared identifier 'LCRTKIL' static long int d_lmode = LCRTBS|LCRTERA|LCRTKIL|LCTLECH; ^ main.c:440:50: error: use of undeclared identifier 'LCTLECH' static long int d_lmode = LCRTBS|LCRTERA|LCRTKIL|LCTLECH; ^ main.c:1283:25: warning: '/*' within block comment [-Wcomment] /* break; /* by ysyun */ ^ main.c:1535:49: warning: implicit declaration of function 'SysError' is invalid in C99 [-Wimplicit-function-declaration] if (ioctl (pty, FIONBIO, (char *)&mode) == -1) SysError (ERROR_FIONBIO); ^ main.c:1558:6: warning: implicit declaration of function 'VTRun' is invalid in C99 [-Wimplicit-function-declaration] VTRun(); ^ main.c:1676:9: warning: implicit declaration of function 'pty_search' is invalid in C99 [-Wimplicit-function-declaration] return pty_search(pty); ^ main.c:1900:16: error: variable has incomplete type 'struct tchars' struct tchars tc; ^ main.c:431:16: note: forward declaration of 'struct tchars' static struct tchars d_tc = { ^ main.c:1901:17: error: variable has incomplete type 'struct ltchars' struct ltchars ltc; ^ main.c:435:16: note: forward declaration of 'struct ltchars' static struct ltchars d_ltc = { ^ main.c:1902:16: error: variable has incomplete type 'struct sgttyb' struct sgttyb sg; ^ main.c:428:16: note: forward declaration of 'struct sgttyb' static struct sgttyb d_sg = { ^ main.c:2039:18: error: use of undeclared identifier 'TIOCGETP' if(ioctl(tty, TIOCGETP, (char *)&sg) == -1) ^ main.c:2041:18: error: use of undeclared identifier 'TIOCGETC' if(ioctl(tty, TIOCGETC, (char *)&tc) == -1) ^ main.c:2089:2: warning: implicit declaration of function 'VTInit' is invalid in C99 [-Wimplicit-function-declaration] VTInit(); /* realize now so know window size for tty driver */ ^ main.c:2125:10: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] if (tgetent (ptr, resource.term_name) == 1) { ^ main.c:2346:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ptr = ttyname(tty)) ~~~~^~~~~~~~~~~~~~ main.c:2346:11: note: place parentheses around the assignment to silence this warning if (ptr = ttyname(tty)) ^ ( ) main.c:2346:11: note: use '==' to turn this assignment into an equality comparison if (ptr = ttyname(tty)) ^ == main.c:2529:24: error: use of undeclared identifier 'ALLDELAY' sg.sg_flags &= ~(ALLDELAY | XTABS | CBREAK | RAW); ^ main.c:2529:35: error: use of undeclared identifier 'XTABS' sg.sg_flags &= ~(ALLDELAY | XTABS | CBREAK | RAW); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 7 warnings and 20 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/x11/hanterm/work/hanterm-3.1.6 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/x11/hanterm *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/hanterm