Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: douglas@dekalb.DC.PeachNet.EDU (Douglas Jones)
Subject: freeWAIS-0.202 - compilation problem
Date: 18 May 1994 13:45:53 -0400	[thread overview]
Message-ID: <2rdk8h$fp4@dekalb.DC.PeachNet.EDU> (raw)


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 <stdlib.h> and 236 in <NLchar.H>, then
function free is defiened as returning void. Does anyone have any ideas or
fixes for OSF 1.3A?

Cheers,
Douglas


                 reply	other threads:[~1994-05-18 17:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox