🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sgi.apps
1 messages
1 total messages Started by Joe Fulson-Woytek Mon, 11 Jan 1993 18:13
wais installation
#43
Author: Joe Fulson-Woytek
Date: Mon, 11 Jan 1993 18:13
34 lines
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  
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads