home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!psinntp!panix!dans
- From: dans@panix.com (Dan Simoes)
- Subject: Failed compile of 2.3PL11 on AIX 3.1.6
- Message-ID: <1993Jan8.161530.24413@panix.com>
- Date: Fri, 8 Jan 1993 16:15:30 GMT
- Organization: PANIX Public Access Unix & Internet, NYC
- Lines: 36
-
-
- I get this error when trying to make on AIX 3.1.6, model 530:
- >
- >/u/dans/src/elm << dans >> make
- >cd src; /bin/make - all
- >cc -lcurses -O -I../hdrs -c addr_util.c
- >49 | char *strtok(), *strcpy(), *strcat(), *strncpy(), *index(),
- >*rindex();
- >1506-041: (S) Parameter list cannot contain fewer parameters than required
- >by macro definition.
- >1254-004 The error code from the last failed command is 1.
- >
- >Make Quitting.
- >1254-004 The error code from the last failed command is 1.
- >
- >Make Quitting.
-
- The local c guru said the problem was with the function prototyping at
- the beginning of the program (addr_util.c), so I commented out the
- second function declaration line in there:
-
- >char *strtok(), *strcpy(), *strcat(), *strncpy(), *index(), *rindex();
-
- and it compiled. So, do I need to do this for *every* .c program?
- I tried using c89 and xlc instead, but they all bomb out.
-
- Help! The only AIXism I've seen recommended is using -lcurses. Are there
- others? (Sorry, I missed the last FAQ :-( )
-
- Thanks for any help...
-
- | Dan |
- --
- Dan Simoes Voice: 914.747.2900 x415
- Danix Consulting email: dans@panix.com or
- Yorktown Heights, NY dans@danix.uucp
-