Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ucdavis.UUCP Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!ucdavis!ccrdave From: ccrdave@ucdavis.UUCP (Lord Kahless) Newsgroups: net.sources.games Subject: Re: Visual Trek: Help on libs for SVR2? Message-ID: <90@ucdavis.UUCP> Date: Sun, 22-Sep-85 01:23:07 EDT Article-I.D.: ucdavis.90 Posted: Sun Sep 22 01:23:07 1985 Date-Received: Mon, 23-Sep-85 00:01:23 EDT References: <666@ihu1m.UUCP> <66@ucdavis.UUCP> <979@sdcsla.UUCP> Distribution: net Organization: University of California, Davis Lines: 39 > > > Does anyone know what library to use as a replacement > > > for the -ltermlib option on the cc that loads > > > this game? SVR2 has no such library. > > where do these def'ns reside? I can't get a successful compile. > > > Undefined: > _sqrt > _atan2 > _tan > _tgetent > _tgetstr > _tgoto > > arpanet: hestenes@nprdc.ARPA > other: ucbvax!sdcsvax!sdcsla!hestenes or hestenes@sdcsla.UUCP Looks like you 1) aren't getting to the curses library, the tgetent, tgetstr, and tgoto error 2) aren't getting to math library. What sort of sys V system. There are zillions. Here's a generic fix for the little UNISOFT port machines. It may work for you... 1) change the make file to -ltermcap. -lcurses may work on some machines. 2) Use one of the posted terminal fixes. 3) If you get the program to compile and it acts incredibly freaky, try replacing the direct setting of your tty, in the termio.c file, with calls to the curses equivalents, noecho and crmode. That worked. You will have some more butchering to do, but the rest is obvious. I will post a running UNISOFT port version, if I get requests. Anyone have hack running on unisoft? Other games? I'd be interested... Perhaps mutually benificial swaps can be arranged. ucbvax!ucdavis!vega!ccrdave