Error building latest contrib/tsearch with 7.3.2

Started by Yurgis Baykshtisabout 23 years ago4 messageshackers
Jump to latest
#1Yurgis Baykshtis
ybaykshtis@aurigin.com

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.

#2Teodor Sigaev
teodor@sigaev.ru
In reply to: Yurgis Baykshtis (#1)
Re: 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

#3Yurgis Baykshtis
ybaykshtis@aurigin.com
In reply to: Teodor Sigaev (#2)
Re: Error building latest contrib/tsearch with 7.3.2

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

#4Oleg Bartunov
oleg@sai.msu.su
In reply to: Yurgis Baykshtis (#3)
Re: Error building latest contrib/tsearch with 7.3.2

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.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

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