home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / elm / 4001 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.5 KB  |  46 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!psinntp!panix!dans
  3. From: dans@panix.com (Dan Simoes)
  4. Subject: Failed compile of 2.3PL11 on AIX 3.1.6
  5. Message-ID: <1993Jan8.161530.24413@panix.com>
  6. Date: Fri, 8 Jan 1993 16:15:30 GMT
  7. Organization: PANIX Public Access Unix & Internet, NYC
  8. Lines: 36
  9.  
  10.  
  11. I get this error when trying to make on AIX 3.1.6, model 530:
  12. >
  13. >/u/dans/src/elm << dans >> make
  14. >cd src; /bin/make - all
  15. >cc -lcurses  -O -I../hdrs    -c addr_util.c
  16. >49 | char *strtok(), *strcpy(), *strcat(), *strncpy(), *index(), 
  17. >*rindex(); 
  18. >1506-041: (S) Parameter list cannot contain fewer parameters than required
  19. >by macro  definition.
  20. >1254-004  The error code from the last failed command is 1.
  21. >
  22. >Make Quitting.
  23. >1254-004  The error code from the last failed command is 1.
  24. >
  25. >Make Quitting.
  26.  
  27. The local c guru said the problem was with the function prototyping at
  28. the beginning of the program (addr_util.c), so I commented out the
  29. second function declaration line in there:
  30.  
  31. >char *strtok(), *strcpy(), *strcat(), *strncpy(), *index(), *rindex(); 
  32.  
  33. and it compiled.  So, do I need to do this for *every* .c program?
  34. I tried using c89 and xlc instead, but they all bomb out.
  35.  
  36. Help!  The only AIXism I've seen recommended is using -lcurses.  Are there
  37. others?  (Sorry, I missed the last FAQ :-( )
  38.  
  39. Thanks for any help...
  40.  
  41. | Dan |
  42. -- 
  43. Dan Simoes                                       Voice: 914.747.2900 x415
  44. Danix Consulting                                 email: dans@panix.com or
  45. Yorktown Heights, NY                                     dans@danix.uucp
  46.