Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!aramis.rutgers.edu!topaz.rutgers.edu!linhart From: linhart@topaz.rutgers.edu (Mike Threepoint) Newsgroups: comp.sources.games.bugs Subject: Re: lev_comp.c problems with NetHack 3.0 Summary: Delete the "# " line. Message-ID: Date: 31 Jul 89 13:46:49 GMT References: <6893@sdcsvax.UCSD.Edu> Organization: Frobozz Magic Amulet of Yendor Company Lines: 16 The hartung writes! -=> I am using Turbo C 2.0 to compile NetHack 3.0, and I've managed to compile -=> NETHACK.EXE without too much trouble, but I'm stuck without... LEV_COMP.EXE -=> ...when I try to compile lev_comp.c, I get the following errors: -=> -=> line 1190: illegal '#' character -=> line 1192: declaration syntax error -=> line 1221: undefined symbol 'yyv' -=> line 1221: invalid indirection -=> line 1237: undefined symbol 'YYFLAG' The problem is in lev_comp.c, but not the line mentioned. Look for a line containing only "# " just before the YYFLAG #define. yacc puts it in and Turbo C doesn't like it, even tho it's supposed to ignore it. Delete it and it should compile.