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   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl

Reply via email to