Обсуждение: Build problem

Поиск
Список
Период
Сортировка

Build problem

От
"Douglas Wilson"
Дата:
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



Re: Build problem

От
"Magnus Hagander"
Дата:
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
>
>

Re: Build problem

От
"Merlin Moncure"
Дата:
> 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:This has been addressed and will be patched shortly.

Merlin