Compiler Error - postgress make on mingw for win32

View: New views
2 Messages — Rating Filter:   Alert me  

Compiler Error - postgress make on mingw for win32

by mohan namadhari :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Re: Compiler Error - postgress make on mingw for win32

by Magnus Hagander-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq