home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11670 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.4 KB

  1. Path: sparky!uunet!gatech!purdue!hsdndev!adm!news
  2. From: bob@caw2.4950tw.wpafb.af.mil (Bob Plested)
  3. Newsgroups: comp.sys.sgi
  4. Subject: building elm
  5. Message-ID: <31595@adm.brl.mil>
  6. Date: 30 Jul 92 19:17:49 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 29
  9.  
  10.  
  11. Hellooo. I ftp'd the elm tar file from delbruck today. I generated the 
  12. config file, and started the make. Without going into too much detail,
  13. I got the following errors during the compile...
  14.  
  15. accom: Warning 294: init.c, line 92: Function getpwuid has prototyped and non-prototyped declarations.     Default promotion of non-prototype form of argument 1 does not match prototype: prototype:  unsigned short is different from actual:  int
  16.        struct passwd *getpwuid();
  17.        -------------------------^
  18. accom: Error: init.c, line 92: One declaration for getpwuid is non-prototype style, one with prototype; prototype must match default argument promotions (ANSI 3.5.4.3, 3.3.2.2)
  19.        struct passwd *getpwuid();
  20.        -------------------------^
  21. *** Error code 1
  22.  
  23. Stop.
  24. *** Error code 1
  25.  
  26. Stop.
  27.  
  28.  
  29. I'm clueless at this point, never having been a master of C. Is there an 
  30. easy fix? I'm running a 320VGX under Irix 4.0.4.
  31.  
  32. TIA, Bob
  33. ------------
  34. Bob Plested                    bob@caw2.4950tw.wpafb.af.mil
  35. 4950th Test Wing/FFXD              134.136.241.11 
  36. Wright-Patterson AFB, OH           (513) 257-6809 DSN 787-6809
  37.  
  38. If Harley Davidson were to build airplanes, they'd build F-4s
  39.