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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG??, fault in POSTMASTER when using GMAKE
Дата
Msg-id Pine.LNX.4.30.0104192118110.762-100000@peter.localdomain
обсуждение исходный текст
Ответ на BUG??, fault in POSTMASTER when using GMAKE  ("DECC" <info@decc.nl>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: startup scripts don't function properly
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Re: three VERY minor things with 7.1 final