From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b96f4f88bb0b8aff,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-11-14 11:57:47 PST Path: gmd.de!xlink.net!howland.reston.ans.net!gatech!news-feed-1.peachnet.edu!dekalb.dc.peachnet.edu!dekalb.dc.peachnet.edu!not-for-mail From: douglas@dekalb.DC.PeachNet.EDU (Douglas Jones) Newsgroups: comp.unix.osf.osf1 Subject: wais - OSF/1.3A Date: 14 Nov 1993 14:47:30 -0500 Organization: DeKalb College, Clarkston GA Distribution: world Message-ID: <2c620i$il2@dekalb.DC.PeachNet.EDU> NNTP-Posting-Host: dekalb.dc.peachnet.edu Is there a wais for OSF/1.3A? I'm having some conflicts in compiling for DEC OSF/1.3A. No real problems in compiling it for UTLRIX 4.3. Here is the info: Version: wais-8-5b.1 Compile Flags: -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DUSG When compiling ir/irsearch.c I get: ------------------------------------------------------------------------ /usr/lib/cmplrs/cc/cfe: Error: /usr/include/stdlib.h, line 113: redeclaration of 'free'; previous declaration at line 236 in file '/usr/include/NLchar.h' extern char free(); ----------- ^ /usr/lib/cmplrs/cc/cfe: Error: /usr/include/stdlib.h, line 113: Incompatible function return type for this function extern char free(); ----------- ----^ *** Exit 1 Stop. *** Exit 1 Stop. ------------------------------------------------------------------------ I've run into this problem before, but just excluded the include file that caused this. Well, it is harder to do this time, because the inclusion of the above files are buried. One, I don't think just excluding the include files (by commenting out of ifdefing out) is the correct solution. There might be other things in the file that do need to be included. Secondly, I'm a little confused by the above: Both are declared the same way. Also, that is the declaration in cutil.h. So, to sum up, there are really three questions here: 1) what is the best solution to the above problem of "incompatiable" types? 2) Why are they conflicting? They appear the same to me. 3) is there a wais out there for DEC OSF/1.3A Thanks for any help, Douglas -- Douglas B. Jones douglas@dekalb.dc.peachnet.edu Academic Computer Center or gatech!dekalb!douglas DeKalb College Config: {DS3100,MV3600}/ULTRIX 4.3 555 N. Indian Creek Drive/Clarkston, Ga. 30021 (404) 299-4233