home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / apps / 56 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.8 KB  |  48 lines

  1. Newsgroups: comp.sys.sgi.apps
  2. Path: sparky!uunet!think.com!ames!nsisrv!eosdev1.gsfc.nasa.gov!joefw
  3. From: joefw@eosdev1.gsfc.nasa.gov (Joe Fulson-Woytek)
  4. Subject: wais installation
  5. Message-ID: <1993Jan11.181329.23216@nsisrv.gsfc.nasa.gov>
  6. Keywords: wais
  7. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  8. Nntp-Posting-Host: eosdev1.gsfc.nasa.gov
  9. Reply-To: joefw@eosdev1.gsfc.nasa.gov (Joe Fulson-Woytek 
  10. Organization: NASA/GSFC, Code 902.2
  11. Date: Mon, 11 Jan 1993 18:13:29 GMT
  12. Lines: 34
  13.  
  14. About a month ago there was discussion on xwais on SGI's.  At the time I 
  15. didn't pay attention, but subsequently I was asked to install it (So I'm
  16. sorry if this is a repeat of recent requests).
  17.  
  18. In compiling xwaisq.c (with the cckr option on):
  19.  
  20. cc -g -prototypes -float  -I/usr/include -I/usr/people/joefw/wais/wais-8-b5.1/x
  21. -I/usr/people/joefw/wais/wais-8-b5.1/ir -I/usr/people/joefw/wais/wais-8-b5.1/ui
  22. -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DUSG -DSYSV -DMALLOC_0_RETURNS_NULL -DFUNC
  23. PROTO -DNARROWPROTO -c xwaisq.c
  24.  
  25. I get several errors including:
  26.  
  27. ccom: Warning: /usr/people/joefw/wais/wais-8-b5.1/ir/ustubs.h, line 47: Previous
  28.  declaration had prototype, this declaration does not
  29.       char *strstr  ();
  30.  
  31. ccom: Warning: xwaisq.c, line 191: Argument 2 Type Doesn't Match prototype descr
  32. iption; prototype: pointer to function returning void is different from actual:
  33. pointer to function returning unsigned char
  34.         rescantimerid = XtAddTimeOut(rescanint, ScanDirs, (Opaque) ScanDirs);
  35.  
  36. along with similar errors.  I get the second error plus one about
  37. "all qualifiers of actual args...and pointed to types must be compatible  when
  38. I compilw without the cckr option.
  39.  
  40. Does someone have code for xwais that compiles
  41. on an SGI, or have suggestions for clearing up these problems?
  42.  
  43.  
  44. Joe Fulson-Woytek
  45. Code 902/Goddard DAAC
  46. NASA/Goddard Space Flight Center
  47. joefw@eosdev1.gsfc.nasa.gov  
  48.