Subject: bin/5135: the build of tn3270 is broken
To: None <gnats-bugs@gnats.netbsd.org, bernd@arresum.inka.de>
From: None <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 03/08/1998 19:27:59
>Number: 5135
>Category: bin
>Synopsis: the build of tn3270 is broken
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 8 10:35:01 1998
>Last-Modified:
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current 08-March-98 1800GMT
>Environment:
System: NetBSD parresum 1.3E NetBSD 1.3E (PARRESUM) #239: Sun Mar 8 15:59:08 MET 1998 bernd@parresum:/usr/obj/src/sys/arch/i386/compile/PARRESUM i386
>Description:
Try to build tn3270 after a make cleandir and watch the errors:
depend ===> tools/mkmake
yacc -d /home/source/src/usr.bin/tn3270/tools/mkmake/mkmake.y
yacc: 2 shift/reduce conflicts.
mv y.tab.c mkmake.c
mkdep -a -I/home/source/src/usr.bin/tn3270/tools/mkmake/../../api mkmake.c
/home/source/src/usr.bin/tn3270/tools/mkmake/mkmake.y:1024: warning: `YYDEBUG' redefined
y.tab.c:250: warning: this is the location of the previous definition
y.tab.c:1179: syntax error
y.tab.c:1204: syntax error
y.tab.c:1218: syntax error
y.tab.c:1255: syntax error
y.tab.c:1270: syntax error
y.tab.c:1284: syntax error
y.tab.c:1298: syntax error
y.tab.c:1515: syntax error
y.tab.c:1526: syntax error
y.tab.c:1545: syntax error
depend ===> tools/prt3270
make: don't know how to make /home/source/src/usr.bin/tn3270/tools/mkhits/obj/mkhits. Stop
*** Error code 2
Stop.
[..]
I build mkhits by hand and continue the make depend:
depend ===> tools/prt3270
cc -I. -I/home/source/src/usr.bin/tn3270/tools/prt3270/../../api -E /home/source/src/usr.bin/tn3270/tools/prt3270/../../ctlr/function.c > TMPfunc.out
/home/source/src/usr.bin/tn3270/tools/mkhits/obj/mkhits /home/source/src/usr.bin/tn3270/tools/prt3270/../../ctlr/hostctlr.h TMPfunc.out < /home/source/src/usr.bin/tn3270/tools/prt3270/../../ctlr/unix.kbd > kbd.tmp
mkhits: Unknown type LPRT.
mkhits: Unknown type XON.
mkhits: Unknown type XOFF.
mkhits: Unknown type ALTK.
mkhits: Unknown type ESCAPE.
mkhits: Unknown type DISC.
mkhits: Unknown type MASTER_RESET.
mkhits: Unknown type RESHOW.
mkhits: Unknown type FLINP.
mkhits: Unknown type SYNCH.
mkhits: Unknown type INIT.
mkhits: Unknown type PCOFF.
mkhits: Unknown type PCON.
mkhits: Unknown type APLON.
mkhits: Unknown type APLOFF.
mkhits: Unknown type APLEND.
mkhits: Unknown type LEFT.
mkhits: Unknown type TAB.
mkhits: Unknown type BTAB.
mkhits: Unknown type FIELDEND.
mkhits: Unknown type WORDEND.
mkhits: Unknown type WORDBACKTAB.
mkhits: Unknown type FERASE.
mkhits: Unknown type WERASE.
mkhits: Unknown type ERASE.
mkhits: Unknown type CLRTAB.
mkhits: Unknown type SETHOM.
mkhits: Unknown type SETMRG.
mkhits: Unknown type UNDENT.
mkhits: Unknown type INDENT.
mkhits: Unknown type SETTAB.
mkhits: Unknown type DELTAB.
mkhits: Unknown type COLTAB.
mkhits: Unknown type COLBAK.
mkhits: Unknown type CAPS_LOCK.
mkhits: Unknown type WORDTAB.
mkhits: Unknown type CURSEL.
mkhits: Unknown type VERTICAL_BAR.
mkhits: Unknown type CENTSIGN.
mkhits: Unknown type PF25.
mkhits: Unknown type PF26.
mkhits: Unknown type PF27.
mkhits: Unknown type PF28.
mkhits: Unknown type PF29.
mkhits: Unknown type PF31.
mkhits: Unknown type PF32.
mkhits: Unknown type NL.
mkhits: Unknown type MAKE_SHIFT.
mkhits: Unknown type MAKE_SHIFT.
mkhits: Unknown type MAKE_SHIFT.
mkhits: Unknown type PF33.
mkhits: Unknown type PF34.
mkhits: Unknown type PF35.
mkhits: Unknown type PF36.
mkhits: Unknown type MAKE_SHIFT.
mkhits: Unknown type MAKE_SHIFT.
mkhits: Unknown type MAKE_SHIFT.
mkhits: Unknown type RESET.
mkhits: Unknown type NULL.
mkhits: Unknown type DVCNL.
mkhits: Unknown type MAKE_ALT.
mkhits: Unknown type MAKE_ALT.
mkhits: Unknown type MAKE_ALT.
mkhits: Unknown type SPACE.
mkhits: Unknown type SPACE.
mkhits: Unknown type MAKE_ALT.
mkhits: Unknown type MAKE_ALT.
mkhits: Unknown type MAKE_ALT.
mkhits: Unknown type ENTER.
mkhits: Unknown type CLEAR.
mkhits: Unknown type NULL.
mkhits: Unknown type TEST.
mkhits: Unknown type NULL.
mkhits: Unknown type NULL.
mkhits: Unknown type ATTN.
mkhits: Unknown type EEOF.
mkhits: Unknown type NULL.
mkhits: Unknown type EINP.
mkhits: Unknown type MAKE_CTRL.
mkhits: Unknown type ATTN.
mkhits: Unknown type NULL.
mkhits: Unknown type TREQ.
mkhits: Unknown type PA1.
mkhits: Unknown type DP.
mkhits: Unknown type BTAB.
mkhits: Unknown type LEFT.
mkhits: Unknown type NULL.
mkhits: Unknown type LEFT2.
mkhits: Unknown type PA2.
mkhits: Unknown type FM.
mkhits: Unknown type INSRT.
mkhits: Unknown type UP.
mkhits: Unknown type NULL.
mkhits: Unknown type NULL.
mkhits: Unknown type HOME.
mkhits: Unknown type DOWN.
mkhits: Unknown type PA3.
mkhits: Unknown type DELETE.
mkhits: Unknown type RIGHT.
mkhits: Unknown type NULL.
mkhits: Unknown type RIGHT2.
mkhits: Unknown type SPACE.
mkhits: Unknown type TAB.
mkhits: Unknown type ENTER.
mkhits: Unknown type PF1.
mkhits: Unknown type PF2.
mkhits: Unknown type PF3.
mkhits: Unknown type PF4.
mkhits: Unknown type PF5.
mkhits: Unknown type PF6.
mkhits: Unknown type PF7.
mkhits: Unknown type PF8.
mkhits: Unknown type NULL.
mkhits: Unknown type MONOCASE.
mkhits: Unknown type PF9.
mkhits: Unknown type PF11.
mkhits: Unknown type PF12.
mkhits: Unknown type PF13.
mkhits: Unknown type PF14.
mkhits: Unknown type PF15.
mkhits: Unknown type PF16.
mkhits: Unknown type PF17.
mkhits: Unknown type PF18.
mkhits: Unknown type PF19.
mkhits: Unknown type PF21.
mkhits: Unknown type PF22.
mkhits: Unknown type PF23.
mkhits: Unknown type PF24.
mkhits: Unknown type BREAK_SHIFT.
mkhits: Unknown type BREAK_SHIFT.
mkhits: Unknown type BREAK_SHIFT.
mkhits: Unknown type BREAK_SHIFT.
mkhits: Unknown type BREAK_SHIFT.
mkhits: Unknown type BREAK_SHIFT.
mkhits: Unknown type BREAK_ALT.
mkhits: Unknown type BREAK_ALT.
mkhits: Unknown type BREAK_ALT.
mkhits: Unknown type BREAK_ALT.
mkhits: Unknown type BREAK_ALT.
mkhits: Unknown type BREAK_ALT.
rm -f TMPFunc.out
mv -f kbd.tmp kbd.out
[..]
cc -o mkastosc mkastosc.o dohits.o asc_ebc.o ebc_disp.o
/home/source/src/usr.bin/tn3270/tools/mkastosc/obj/mkastosc /home/source/src/usr.bin/tn3270/tools/prt3270/../../ctlr/hostctlr.h /home/source/src/usr.bin/tn3270/tools/prt3270/../../ctlr/function.h < /home/source/src/usr.bin/tn3270/tools/prt3270/../../ctlr/unix.kbd > tmp
mkastosc: Unknown type LPRT.
mkastosc: Unknown type XON.
mkastosc: Unknown type XOFF.
mkastosc: Unknown type ALTK.
mkastosc: Unknown type ESCAPE.
mkastosc: Unknown type DISC.
mkastosc: Unknown type MASTER_RESET.
mkastosc: Unknown type RESHOW.
[..]
>How-To-Repeat:
>Fix:
I am not sure if we want to use yydebug so there are three solutions for
the problem with line 1024 in mkmake.y:
- Remove the line 1024 with the '#define YYDEBUG'
- Remove the line 1024 and add this to the line 41:
#define YYDEBUG 1
- Change the line 1024 to:
#undef YYDEBUG
#define YYDEBUG 1
>Audit-Trail:
>Unformatted: