Re: Compiler Error - postgress make on mingw for win32

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: mohan namadhari <mnamadhari(at)yahoo(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Compiler Error - postgress make on mingw for win32
Date: 2008-02-05 15:37:44
Message-ID: 20080205153744.GB24114@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-ports

On Thu, Jan 31, 2008 at 05:36:50PM -0800, mohan namadhari wrote:
> Hi,
> While compiling the postgres 8.1x on mingw tool,
> getting following error. Does anyone have any clue
> what is going on here? Does it requires to fix
> makefile? If so which make file and what exactly is
> the change required?
> Following is the error I am getting.
>
> dlltool --dllname postgres.exe --def postgres.def
> --output-lib libpostgres.a
> C:\msys\1.0\mingw\bin\dlltool.exe: CreateProcess
> make[2]: *** [libpostgres.a] Error 1
> make[2]: *** Deleting file `libpostgres.a'
> make[2]: Leaving directory `/postgresql/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/postgresql/src'
> make: *** [all] Error 2

This looks like an internal error somewhere in mingw, in that it can't
execute CreateProcess itself calling some sub-process. I think something is
bad in your build environment.

//Magnus

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Ridho Ahmad 2008-05-15 06:36:18 Save query in csv
Previous Message mohan namadhari 2008-02-01 01:36:50 Compiler Error - postgress make on mingw for win32

Browse pgsql-ports by date

  From Date Subject
Next Message Carlos Picazzo 2008-02-06 16:52:23 ./configure problems on Fedora Core 8
Previous Message mohan namadhari 2008-02-01 01:36:50 Compiler Error - postgress make on mingw for win32