Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!marque!nic From: nic@marque.mu.edu (Nic Bernstein) Newsgroups: comp.sources.bugs Subject: Re: UMORIA: undefined symbols saveterm, cbreak, etc on USG system Message-ID: <1922@marque.mu.edu> Date: Mon, 16-Nov-87 22:08:34 EST Article-I.D.: marque.1922 Posted: Mon Nov 16 22:08:34 1987 Date-Received: Thu, 19-Nov-87 02:07:47 EST References: <345@kosman.UUCP> Reply-To: nic@marque.UUCP (Nic Bernstein) Organization: Marquette University - Milwaukee, Wisconsin Lines: 43 In article <345@kosman.UUCP> kevin@kosman.UUCP (Kevin O'Gorman) writes: >I just tried to compile umoria, and can do that just fine, but it fails to >link because of four undefined symbols in io.c: > >saveterm >cbreak >nocbreak >resetterm > >These appear to be function calls, and I can kind of guess what they ought >to do, but I'm not sure. What gives? > >I'm running on an AT&T UNIX PC (3b1), and I guess that makes me as USG as >you can get. I'm not at all sure I know how to write the four routines. > >HELP??? Sounds like you have the "ccs" script that runs the shared library and changes the original "cc" to "c-complier". If so you are trying to load "curses" functions and you don't have them in your "tam" library which is what the shared library uses. If this is true just change the makefile to say: CC=c-compiler That should fix it up. Or you could also rename "cc" to save it and re-rename "c-compiler" back to "cc" (these should be in /bin). If this isn't the problem then either your "curses" library is damaged or you may have changed the makefile to not include "-lcurses" and "-ltermlib" in the final link phase. ("libtermlib" and "libtermcap" are linked on this system so either will do) We have successfully gotten umoria up on both a 3B1 and PC7300 running 3.51 and I am amazed that there were so little adjustments necessary. Normally code of this size requires some fiddling but this thing compiled and ran right out of the box! My congratulations to the authors. By the way, "moria" has been all the rage (off VMS systems) aroung here for years and it is quite a feather to have it running at last on Unix. This simulation makes almost anything I have seem so far in a D&D type game, tame by comparison. Try running wizard mode and print out a few level maps. Also be sure and see how complete the "monster" info is. - Nic