Xref: utzoo comp.sys.mac.misc:508 comp.sources.games.bugs:1526 Path: utzoo!utgpu!watserv1!watmath!att!pacbell!pyramid!decwrl!uunet!cs.utexas.edu!texbell!vector!jonb From: jonb@vector.Dallas.TX.US (Jon Buller) Newsgroups: comp.sys.mac.misc,comp.sources.games.bugs Subject: Re: Compiling Moria using MPW 3.1 Keywords: Moria, MPW Message-ID: <1139@vector.Dallas.TX.US> Date: 4 Jun 90 02:10:34 GMT References: <2490@zipeecs.umich.edu> Reply-To: jonb@vector.Dallas.TX.US (Jon Buller) Followup-To: comp.sys.mac.misc Organization: Dallas Semiconductor Lines: 44 In article <2490@zipeecs.umich.edu> ziff@zip.eecs.umich.edu (Brian Moore) writes: > > I was wondering if anybody got Moria to compile correctly using MPW 3.1. I got it compiled, but the first time it complained that it couldn't open some file (I don't think it said which) and the last time I tried, it bombed. >get an error when I compile misc2. Then error is with player_saves with the >compiler saying that the expression is to compilcated. No problem there, I >just inserted an intermediate step and it compiled fine. The next problem is me too... >when I compile save.c I get an identifier not declared error with time_t at I added this to the beginning of save.c to get time defined: #ifdef Pyramid #include #else #include #endif >the line with l = time((time_t *)0); and start_time = time((time_t *)0);. Change the MAC part of this statement in save.c (approx line 75) to get time declared in the right form... --------------------------vvvvvvvvvvvvvvvv #if !defined(ATARIST_MWC) && !defined(MAC) /* added mac def JDB19051990 */ long time(); #else char *malloc(); #endif >Does anybody know how to fix this or has anybody compiled it on a Macintosh >and recognize my problem. My configuration is a IIci with 8MB of RAM running >system 6.0.5 and various INIT's. Also important to note is that I am just >beginning to learn MPW so I could easily be doing a so called 'rookie' mistake. Again, me too... Hope that this helps, and if anyone else has (or fixes) the bombing problem please let me know. -- ---------------------------------------------------------------------- Jon Buller jonb@vector.dallas.tx.us ..!texbell!vector!jonb FROM Fortune IMPORT Quote; FROM Lawyers IMPORT Disclaimer;