Article View: comp.sys.sgi.apps
Article #43wais installation
From: Joe Fulson-Woytek
Date: Mon, 11 Jan 1993 18:13
Date: Mon, 11 Jan 1993 18:13
34 lines
1919 bytes
1919 bytes
About a month ago there was discussion on xwais on SGI's. At the time I
didn't pay attention, but subsequently I was asked to install it (So I'm
sorry if this is a repeat of recent requests).
In compiling xwaisq.c (with the cckr option on):
cc -g -prototypes -float -I/usr/include -I/usr/people/joefw/wais/wais-8-b5.1/x
-I/usr/people/joefw/wais/wais-8-b5.1/ir -I/usr/people/joefw/wais/wais-8-b5.1/ui
-DSECURE_SERVER -DRELEVANCE_FEEDBACK -DUSG -DSYSV -DMALLOC_0_RETURNS_NULL -DFUNC
PROTO -DNARROWPROTO -c xwaisq.c
I get several errors including:
ccom: Warning: /usr/people/joefw/wais/wais-8-b5.1/ir/ustubs.h, line 47: Previous
declaration had prototype, this declaration does not
char *strstr ();
ccom: Warning: xwaisq.c, line 191: Argument 2 Type Doesn't Match prototype descr
iption; prototype: pointer to function returning void is different from actual:
pointer to function returning unsigned char
rescantimerid = XtAddTimeOut(rescanint, ScanDirs, (Opaque) ScanDirs);
along with similar errors. I get the second error plus one about
"all qualifiers of actual args...and pointed to types must be compatible when
I compilw without the cckr option.
Does someone have code for xwais that compiles
on an SGI, or have suggestions for clearing up these problems?
Joe Fulson-Woytek
Code 902/Goddard DAAC
NASA/Goddard Space Flight Center
joefw@eosdev1.gsfc.nasa.gov
Technical Details
Message-ID:
<1993Jan11.181329.23216@nsisrv.gsfc.nasa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!nsisrv!eosdev1.gsfc.nasa.gov!joefwShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.apps Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!nsisrv!eosdev1.gsfc.nasa.gov!joefw From: joefw@eosdev1.gsfc.nasa.gov (Joe Fulson-Woytek) Subject: wais installation Message-ID: <1993Jan11.181329.23216@nsisrv.gsfc.nasa.gov> Keywords: wais Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet) Nntp-Posting-Host: eosdev1.gsfc.nasa.gov Reply-To: joefw@eosdev1.gsfc.nasa.gov (Joe Fulson-Woytek Organization: NASA/GSFC, Code 902.2 Date: Mon, 11 Jan 1993 18:13:29 GMT Lines: 34