Elm 2.3 PL11 compilation trouble

Dan Watts dwatts at ki.UUCP
Tue Jun 4 22:41:43 AEST 1991


In article <1991Jun3.175608.3435 at bony1.bony.com> stevef at 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 ###############



More information about the Comp.unix.aix mailing list