Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-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

In response to

pgsql-patches by date

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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group