Re: Build problem - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Re: Build problem
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34BB0B@algol.sollentuna.se
Whole thread Raw
In response to Build problem  ("Douglas Wilson" <dgwilson1@cox.net>)
List 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@cox.net]
> Sent: Wednesday, May 26, 2004 8:08 AM
> To: pgsql-hackers-win32@postgresql.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
>
>

pgsql-hackers-win32 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Win32 GiST bug - more info
Next
From: "Merlin Moncure"
Date:
Subject: Re: Build problem