Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!uxc.cso.uiuc.edu!paul From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO) Newsgroups: comp.mail.elm Subject: Re: Anyone get ELM to compile on RS/6000 ?? Message-ID: <1990Nov8.212325.6050@ux1.cso.uiuc.edu> Date: 8 Nov 90 21:23:25 GMT References: <883@ki.UUCP> Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 38 dwatts@ki.UUCP (Dan Watts) writes: >Has anyone been successful in getting ELM to compile on the IBM RS/6000? >I ported 2.3pl6 a while back, but I did it by editting all the files >that wouldn't compile (there were a lot!). Anyway, I'd like to rev up >to pl8 but don't look forward to doing all the edits again. The following >is what happens when I try the make: Date: 28 Sep 90 20:42:06 GMT From: mdapoz@hybrid.UUCP (Mark Dapoz) Subject: Re: elm 2.3 PL6 on RS/6000 AIX Newsgroups: comp.unix.aix,comp.mail.elm In article <8238@milton.u.washington.edu> eliot@engr.washington.edu (Eliot Lim) writes: >I got elm running on mine, but I don't know if my method is the >easiest (probably not). I got the exact same err. msg and I ended up >going into all the source files and zapping the definition of strcmp() >since it's already defined elsewhere. For some reason the compiler >doesn't like strcmp() defined in the source (or was it strncmp(), >anyway it's one of those). Once I zapped it, everything went real >smooth. I had to change the flock call somewhere from RO to RW >to get past that too. Not exactly the easiest method, here's the flags I used to compile it without any mods to the code: CCFLAGS = -D_NO_PROTO -D_NONSTD_TYPES -U__STR__ -D_MBI=void -- Managing a software development team | Mark Dapoz is a lot like being on the psychiatric | mdapoz%hybrid@cs.toronto.edu ward. -Mitch Kapor, San Jose Mercury | mdapoz@torvm3.iinus1.ibm.com -- Paul Pomes UUCP: {att,iuvax,uunet}!uiucuxc!paul Internet, BITNET: paul@uxc.cso.uiuc.edu US Mail: UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL 61801-2910