I am trying to build contib/tsearch from the latest code provided here:
http://www.sai.msu.su/~megera/postgres/gist/

And getting this error message:

stat.c:390: conflicting types for `stat'
/usr/include/sys/stat.h:127: previous declaration of `stat'

Am I supposed to build the new tsearch code with the latest Postgres
snapshot?

Any help is appreciated.


Wed, 14 May 2003 08:59:37 -0700
"Yurgis Baykshtis" <ybaykshtis@aurigin.com>
Error building latest contrib/tsearch with 7.3.2


Yurgis Baykshtis wrote:
> I am trying to build contib/tsearch from the latest code provided here:
> http://www.sai.msu.su/~megera/postgres/gist/
> 
> And getting this error message:
> 
> stat.c:390: conflicting types for `stat'
> /usr/include/sys/stat.h:127: previous declaration of `stat'

OK, I see, stupid mistake :(. I'll change name of function as soon as possible, 
then new tar.gz will be avaliable.


> 
> Am I supposed to build the new tsearch code with the latest Postgres
> snapshot?
> 
> Any help is appreciated.
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

-- 
Teodor Sigaev                                  E-mail: teodor@sigaev.ru


Wed, 14 May 2003 21:06:42 +0400
Teodor Sigaev <teodor@sigaev.ru>
Re: Error building latest contrib/tsearch with 7.3.2