Re: BUG??, fault in POSTMASTER when using GMAKE - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG??, fault in POSTMASTER when using GMAKE
Date
Msg-id Pine.LNX.4.30.0104192118110.762-100000@peter.localdomain
Whole thread Raw
In response to BUG??, fault in POSTMASTER when using GMAKE  ("DECC" <info@decc.nl>)
List 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@gmx.net   http://funkturm.homeip.net/~peter

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: startup scripts don't function properly
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Re: three VERY minor things with 7.1 final