Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uunet!ki!dwatts From: dwatts@ki.UUCP (Dan Watts) Newsgroups: comp.unix.aix Subject: Re: Elm 2.3 PL11 compilation trouble Message-ID: <1008@ki.UUCP> Date: 4 Jun 91 12:41:43 GMT References: <1991Jun3.175608.3435@bony1.bony.com> Organization: Ki Research, Inc. Lines: 27 In article <1991Jun3.175608.3435@bony1.bony.com> stevef@bony1.bony.com (Steve Faiwiszewski) writes: > >I've seen messages on comp.unix.aix from People saying they had no >problems compiling Elm on the RS/6000. Yet, I had to comment out all >declarations of string functions (e.g. strcpy, strchr, etc.), or else >the compiler would generate the error: > >1506-041: (S) Parameter list cannot contain fewer parameters than >required by macro definition. Ah yes, definitely a FAQ here. I had the same problems till some kind sole told me how to do it. You need to use the compiler swtich -U__STR__ The problem you're running into is that by default, all string functions are inline. You can't declare an inline function extern. Once you link, you'll also run into problems. you need to link with -lcurses to get things to work properly. -- ################# National Nude Weekend, 13 & 14 July ################# # CompuServe: >INTERNET:uunet.UU.NET!ki.com!dwatts Dan Watts # # UUCP : ...!{uunet | wgc386}!ki.com!dwatts Ki Research, Inc. # ################ New Dimensions In Network Connectivity ###############