Xref: utzoo comp.sources.games.bugs:1446 comp.sys.amiga:50850 Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!uakari.primate.wisc.edu!ark1!nems!dtix!keni From: keni@dtix.dt.navy.mil (Lorber) Newsgroups: comp.sources.games.bugs,comp.sys.amiga Subject: Re: Amiga NetHack 3p7 lev_lex.c compile problem Summary: Please read Install.ami carefully Keywords: nethack Message-ID: <1128@nems.dt.navy.mil> Date: 28 Feb 90 22:36:43 GMT References: <1609@bmers58.UUCP> Sender: news@nems.dt.navy.mil Reply-To: keni@dtix.dt.navy.mil (Kenneth Lorber) Followup-To: comp.sources.games.bugs Organization: David Taylor Research Center Lines: 24 In article <1609@bmers58.UUCP> (Keith Hanlan) writes: >I am trying to build NetHack 3.0 Patch level 7 on my amiga. >I am running into a problem with lev_lex.c. Unfortunately, >this is a difficult one to trace down because the line reference >is meaningless and I am not familiar with LEX. > From Install.ami ( SECTION III - Lattice Compilation Instructions ): Due to a problem with version 5.04, you must make one change: edit the file Others:lev_lex.c. At (or near) line 1002 is the definition for the function yyunput. Delete the word "register" from this line. Note that if you neglect to do this, you will get an Error 72 at line 318 of file lev_comp.l (this is the correct message - lev_lex.c is flex output). Save the changed file. Later compiler versions may or may not need this fix. Please note that this applies ONLY to Lattice (Manx has it's own directions in Install.ami) and that it is necessary to read ALL of Install.ami as well as the general README and UNIX Install files to get a good grip on this program. Send mail or post if there are still problems. Ken Lorber keni@dtix.dt.navy.mil