Thread: BUG #1235: didn't compile

BUG #1235: didn't compile

From
"PostgreSQL Bugs List"
Date:
The following bug has been logged online:

Bug reference:      1235
Logged by:          oliver artelt

Email address:      oli@cubeoffice.de

PostgreSQL version: 8.0 Beta

Operating system:   Linux baldur 2.4.10 #1 SMP Wed Aug 7 13:37:21 CEST 2002
i686 unknown

Description:        didn't compile

Details:

/configure --prefix /usr/local/pgsql-8.0.0beta1

make

..
syslogger.c: In function `SysLoggerMain':
syslogger.c:231: storage size of `timeout' isn't known
syslogger.c:231: warning: unused variable `timeout'
make[3]: *** [syslogger.o] Error 1
make[3]: Leaving directory
`/usr/src/wrk/postgresql-8.0.0beta1/src/backend/postmaster'
make[2]: *** [postmaster-recursive] Error 2
make[2]: Leaving directory `/usr/src/wrk/postgresql-8.0.0beta1/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/wrk/postgresql-8.0.0beta1/src'
make: *** [all] Error 2
baldur:/usr/src/wrk/postgresql-8.0.0beta1 # uname -a
Linux baldur 2.4.10 #1 SMP Wed Aug 7 13:37:21 CEST 2002 i686 unknown
baldur:/usr/src/wrk/postgresql-8.0.0beta1 # gcc --version
2.95.2

Re: BUG #1235: didn't compile

From
Tom Lane
Date:
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> syslogger.c: In function `SysLoggerMain':
> syslogger.c:231: storage size of `timeout' isn't known
> syslogger.c:231: warning: unused variable `timeout'
> make[3]: *** [syslogger.o] Error 1

This is fixed.

http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/postmaster/syslogger.c

            regards, tom lane