Re: Build problem

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Douglas Wilson" <dgwilson1(at)cox(dot)net>, <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Build problem
Date: 2004-05-26 12:59:03
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34BB0B@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

APply the following patch:
http://archives.postgresql.org/pgsql-patches/2004-05/msg00352.php

That should fix it.

//Magnus

> -----Original Message-----
> From: Douglas Wilson [mailto:dgwilson1(at)cox(dot)net]
> Sent: Wednesday, May 26, 2004 8:08 AM
> To: pgsql-hackers-win32(at)postgresql(dot)org
> Subject: [pgsql-hackers-win32] Build problem
>
> I tried to build the 5/24 and 5/25 snapshots (w/mingw and
> msys on XP), and received the error below. I added a
> '#include limits.h' to oracle_compat.c, and it finished ok:
>
> oracle_compat.c: In function `texttowcs':
> oracle_compat.c:69: `INT_MAX' undeclared (first use in this function)
> oracle_compat.c:69: (Each undeclared identifier is reported only once
> oracle_compat.c:69: for each function it appears in.)
> oracle_compat.c: In function `wcstotext':
> oracle_compat.c:120: `INT_MAX' undeclared (first use in this function)
> make[4]: *** [oracle_compat.o] Error 1
> make[4]: Leaving directory `/c/Documents and
> Settings/Owner/My Documents/Postgre
> SQL/postgresql-snapshot/src/backend/utils/adt'
> make[3]: *** [adt-recursive] Error 2
> make[3]: Leaving directory `/c/Documents and
> Settings/Owner/My Documents/Postgre
> SQL/postgresql-snapshot/src/backend/utils'
> make[2]: *** [utils-recursive] Error 2
> make[2]: Leaving directory `/c/Documents and
> Settings/Owner/My Documents/Postgre
> SQL/postgresql-snapshot/src/backend'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/c/Documents and
> Settings/Owner/My Documents/Postgre SQL/postgresql-snapshot/src'
> make: *** [install] Error 2
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Merlin Moncure 2004-05-26 13:00:10 Re: Build problem
Previous Message Tom Lane 2004-05-26 12:44:46 Re: Win32 GiST bug - more info