Re: BUG??, fault in POSTMASTER when using GMAKE

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: DECC <info(at)decc(dot)nl>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG??, fault in POSTMASTER when using GMAKE
Date: 2001-04-19 19:22:02
Message-ID: Pine.LNX.4.30.0104192118110.762-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

DECC writes:

> gcc2 -O2 -pipe -m486 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../.
> ./src/include -c postmaster.c -o postmaster.o
> postmaster.c: In function `PostmasterMain':
> postmaster.c:406: `optreset' undeclared (first use this function)
> postmaster.c:406: (Each undeclared identifier is reported only once
> postmaster.c:406: for each function it appears in.)
> gmake: *** [postmaster.o] Error 1

I have installed the below patch into CVS. You can apply it to your
sources or obtain a new snapshot tarball tomorrow, or wait for the 7.1.1
release in 1-2 weeks.

===================================================================
RCS file:
/home/projects/pgsql/cvsroot/pgsql/src/backend/postmaster/postmaster.c,v
retrieving revision 1.211
diff -c -r1.211 postmaster.c
*** postmaster.c 2001/03/22 03:59:43 1.211
--- postmaster.c 2001/04/19 19:06:34
***************
*** 211,216 ****
--- 211,219 ----
extern char *optarg;
extern int optind,
opterr;
+ #ifdef HAVE_INT_OPTRESET
+ extern int optreset;
+ #endif

/*
* postmaster.c - function prototypes
===END

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2001-04-19 19:30:05 Re: startup scripts don't function properly
Previous Message Tom Lane 2001-04-19 18:08:08 Re: RAISE concatination/variables in plpgsql