[net.games.hack] Hack on SVR2

pearse@hound.UUCP (S.PEARSE) (05/04/85)

	I get the following errors when making hack 1.0.2 on
out vax 11/780 SVR2:

ld *command line*: can't find library libtermlib.a
 symbol  		    in file
_index              		hack.rumors.o
_tgetent            		hack.termcap.o
_tgetstr            		hack.termcap.o
_tgetflag           		hack.termcap.o
_tgetnum            		hack.termcap.o
_tgoto              		hack.termcap.o
_tputs              		hack.termcap.o
_ospeed             		hack.termcap.o
ld fatal: Symbol referencing errors. No output written to hack

Stop.
I have done the following changes:
removed -X option from Makefile
remove -ltermlib from Makefile

This is in addition to replacing hack.tty.c with the posted update.
Any ideas?
Thanks,
Steve Pearse
ihnp4!hound
-- 
Steve Pearse
ihnp4!hound!pearse

wcs@ho95b.UUCP (Bill Stewart) (05/04/85)

Steve Pearse had the following problems when making hack 1.0.2 on a vax SVR2:

_index              		hack.rumors.o

=====>>	There's a #define in config.h about this.  The "index()" function
=====>>	is named "strchr" in System III and System V Rel *.

ld *command line*: can't find library libtermlib.a
 symbol  		    in file
_tgetent            		hack.termcap.o
_tgetstr            		hack.termcap.o
_tgetflag           		hack.termcap.o
_tgetnum            		hack.termcap.o
_tgoto              		hack.termcap.o
_tputs              		hack.termcap.o
_ospeed             		hack.termcap.o
ld fatal: Symbol referencing errors. No output written to hack

=====>>	You need termcap, not terminfo.  You'll have to get it from a System V
=====>>	Release 0 system.  You may have it named -ltermcap, if people have
=====>> tried to port other termcap software to your system.

You'll have to read the config.h file carefully.  Also, on 3B's the characters
are unsigned, so you may have to use short int's  where it asks you.

			Bill
-- 
			Bill Stewart	1-201-949-0705
			AT&T Bell Labs, Room 4K-435, Holmdel NJ
			{ihnp4,allegra,cbosgd,vax135}!ho95c!wcs