pg_sendmail function compile problem - Mailing list pgsql-general

From Joseph
Subject pg_sendmail function compile problem
Date
Msg-id 01bf01c082d6$cfe1fc40$190101c3@workstation18
Whole thread Raw
Responses Re: pg_sendmail function compile problem
List pgsql-general
I am trying to compile the pg_sendmail function from
ftp://ftp.trurl.anything3d.com/pub/Linux/our/pgsendmail-1.0.tar.gz and I get
the following error message.
I am using 7.1beta3-2 from rpm install.

Here is the error...

# make
/bin/sh ./libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -I/usr/local/pgsql/include -I/usr
/include/pgsql -c mail.c
rm -f .libs/mail.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -I/usr/local/pgsql/include -I/usr/inc
lude/pgsql -c  -fPIC -DPIC mail.c -o .libs/mail.lo
In file included from mail.c:29:
/usr/include/pgsql/utils/elog.h:37: parse error before `CritSectionCount'
/usr/include/pgsql/utils/elog.h:37: warning: data definition has no type or
storage class
make: *** [mail.lo] Error 1

Do I need some other elog.h file?

Thanks for any suggestions. Keep up the good work.
I like postgresql and am always amazed at the steady stream of email! And am
looking forward to the 7.x series :-)
Joseph Showalter



pgsql-general by date:

Previous
From: Ron Chmara
Date:
Subject: Re: Re: Re: couple of general questions
Next
From: Lincoln Yeoh
Date:
Subject: Re: RE: Why is there so much MySQL bashing???