Thread: Compiler Error - postgress make on mingw for win32

Compiler Error - postgress make on mingw for win32

From
mohan namadhari
Date:
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


      ____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: Compiler Error - postgress make on mingw for win32

From
Magnus Hagander
Date:
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