Xref: utzoo rec.games.hack:4622 comp.sources.games.bugs:1090 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!ncrlnk!ncr-sd!rb-dc1!martin From: martin@rb-dc1.UUCP (Albert A. Martin) Newsgroups: rec.games.hack,comp.sources.games.bugs Subject: Re: Help! Can't compile NH3.0! Keywords: nethack Message-ID: <1096@rb-dc1.UUCP> Date: 3 Aug 89 15:15:04 GMT References: <114@citycs.UUCP> Reply-To: martin@rb-dc1.SanDiego.gould.UUCP (Albert A. Martin) Organization: Gould CSD, San Diego Lines: 46 In article <114@citycs.UUCP> ca121@city.cs.ac.uk (D BROWNLEE) writes: >When trying to compile NH on a Gould UTX/32 6040 Computer it all works ok >untill I get to pri.c - where the compiler crashes out due to (I think) a >symbol table overflow? If the file is split up it'll do the first 200 odd >lines ok, but no more! > Here are the changes I made to the sources in order to compile nethack3 on a Gould PN/9080 (and also a Gould NP1): Makefile: Warning! Installing the game into an existing directory erases its contents. Comment out 'rm -rf $(GAMEDIR)'. src/Makefile: Missing terminal routines. Define TERMLIB as '-lcurses -ltermcap'. src/mkroom.c, line 442: 'sel' is defined for Gould machines. Just above it, add '#undef sel'. src/pri.c, line 219: Line causes compiler to choke-- too complex. Break out the parenthesised assignments as separate statements. src/uhitm.c, line 294: Compiler bug emits bad code for this return statement. Add static int kludge;... return(kludge=malive); -- Until August 11th: ----------------- Al Martin Encore Computer Corp. [formerly Gould Inc. GSD] USMail : 15378 Avenue of Science, San Diego, CA 92128 Pa Bell : (619) 485-0910 x243 UUCP : ...sdcsvax!ncr-sd!rb-dc1!martin Starting August 14th: -------------------- Al Martin Intergraph Corp., Advanced Processor Division USMail : 2400 Geng Road, Palo Alto, CA 94303 Pa Bell : (415) 494-8800 UUCP : ...pyramid!garth!martin (I think)