Re: CVS source win32 mingw some comile error

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Korea PostgreSQL Users' Group" <pgsql-kr(at)postgresql(dot)or(dot)kr>
Cc: pgsql-hackers-win32(at)postgresql(dot)org, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: CVS source win32 mingw some comile error
Date: 2004-02-02 17:21:12
Message-ID: 200402021721.i12HLCi04550@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches

Korea PostgreSQL Users' Group wrote:
> src/backend/commands/user.c file has some parse error at repalloc(), palloc() functions

Fixed. Thanks.

> src/backend/postmaster/pgstat.c miss
> #include "tcop/tcopprot.h" line.

Fixed.

> src/utils/dllinit.c wrong include header line at MinGW.
> #include <cygwin/version.h> must be not included

Fixed.

> by the way,
> I can't compile eccp because I used lower version bison.

> and bin/pg_resetxlog too. in this case I can't find what's wrong.

The problem with pg_resetxlog is that it calls unlink in dirmod, and
that is in libport, and the libport version doesn't have FRONTEND
defined, so it fails on the elog() call. Claudio already reported it,
and the attached patch fixes this and some others above that had not
been fixed previously, all applied to CVS.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 3.6 KB

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Alvaro Herrera 2004-02-02 21:19:10 Re: [HACKERS] What's left?
Previous Message Steve Tibbett 2004-02-02 16:45:10 Re: [HACKERS] What's left?

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-02-02 17:29:15 Re: C locale sort in src/tools/make_ctags
Previous Message Neil Conway 2004-02-02 17:02:07 Re: reading uninitialized buffer