From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b6cb86201517495d,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-18 15:45:09 PST Path: bga.com!news.sprintlink.net!rtp.vnet.net!mary.iia.org!babbage.ece.uc.edu!news.kei.com!MathWorks.Com!news.duke.edu!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: freeWAIS-0.202 - compilation problem Date: 18 May 1994 13:45:53 -0400 Organization: DeKalb College, Clarkston GA Distribution: world Message-ID: <2rdk8h$fp4@dekalb.DC.PeachNet.EDU> NNTP-Posting-Host: dekalb.dc.peachnet.edu I just tried to compile freeWAIS-0.202 on our ALPHA 4610 with OSF 1.3A. I got the following : ..........some deleted here............ cd ir; make -k CC=cc CFLAGS="-g -I/u/staff/douglas/Src/local/bin/freeWAIS-0.202/ir -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DUSG -DBOOLEANS -DPARTIALWORD -DLITERAL -DBIO -DUSE_SYSLOG -DNEED_VSYSLOG" RANLIB=true TOP=/u/staff/douglas/Src/local/bin/freeWAIS-0.202 cc -g -I/u/staff/douglas/Src/local/bin/freeWAIS-0.202/ir -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DUSG -DBOOLEANS -DPARTIALWORD -DLITERAL -DBIO -DUSE_SYSLOG -DNEED_VSYSLOG -c irsearch.c /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 `default' not remade because of errors ...and so on.... In both of the lines referenced, 113 in and 236 in , then function free is defiened as returning void. Does anyone have any ideas or fixes for OSF 1.3A? Cheers, Douglas