Xref: utzoo comp.sources.games.bugs:1584 rec.games.hack:8956 Path: utzoo!attcan!uunet!ogicse!mintaka!yale!bunker!elliott From: elliott@bunker.UUCP (Elliott Kleinrock) Newsgroups: comp.sources.games.bugs,rec.games.hack Subject: Error in compiling NetHack 3p9 Message-ID: <12857@bunker.UUCP> Date: 18 Jul 90 17:36:23 GMT Reply-To: elliott@bunker.UUCP (Elliott Kleinrock) Organization: ISC-Bunker Ramo, an Olivetti Company, Shelton, Ct Lines: 40 I get this error when I try to compile NetHack on a Altos running System V: cc -O -I../include -c invent.c "invent.c", line 493: compiler error: eanode: bad argument *** Error code 1 Stop. This is line 493: while(ilet = bp[++foo2] = bp[++foo]){ This is the surrounding code: bp[foo] = 0; if(foo == 0 && bp > buf && bp[-1] == ' ') *--bp = 0; Strcpy(lets, bp); /* necessary since we destroy buf */ if(foo > 5) { /* compactify string */ foo = foo2 = 1; ilet2 = bp[0]; ilet1 = bp[1]; while(ilet = bp[++foo2] = bp[++foo]){ if(ilet == ilet1+1){ if(ilet1 == ilet2+1) bp[foo2 - 1] = ilet1 = '-'; else if(ilet2 == '-') { bp[--foo2] = ++ilet1; continue; } } ilet2 = ilet1; ilet1 = ilet; } } I would appriciate it if some one could tell me how to fix this. -- - Elliott elliott@bunker.uucp ...!{ philabs | yale | oliveb | decvax | iscuva }!bunker!elliott