Error building latest contrib/tsearch with 7.3.2
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.
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
Thank you, Teodor!
Could you please update the SQL file, too, since it is calling this
"stat" function from tserach.dll
Thanks again.
-----Original Message-----
From: Teodor Sigaev [mailto:teodor@sigaev.ru]
Sent: Wednesday, May 14, 2003 10:07 AM
To: Yurgis Baykshtis
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] 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
Import Notes
Resolved by subject fallback
OK, download new version from
http://www.sai.msu.su/~megera/postgres/gist/
regards,
Oleg
On Wed, 14 May 2003, Yurgis Baykshtis wrote:
Thank you, Teodor!
Could you please update the SQL file, too, since it is calling this
"stat" function from tserach.dllThanks again.
-----Original Message-----
From: Teodor Sigaev [mailto:teodor@sigaev.ru]
Sent: Wednesday, May 14, 2003 10:07 AM
To: Yurgis Baykshtis
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Error building latest contrib/tsearch with 7.3.2Yurgis 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
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83