Pl/perl broken on Windows

Поиск
Список
Период
Сортировка
От Dave Page
Тема Pl/perl broken on Windows
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4306984@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответы Re: Pl/perl broken on Windows  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
I'm getting the following build failure in pl/perl on Win32. I'm
guessing this has something to do with the recent rehashing of
make/include files, but I don't know what exactly. This is on a fresh
checkout.

Regards, Dave.

make[3]: Entering directory `/cvs/pgsql/src/pl/plperl'
gcc -O2 -fno-strict-aliasing  -I. -I../../../src/include
-I./src/include/port/win32 -DEXEC_BACKEND
"-I../../../src/include/port/win32" -IC:/Perl/lib/CORE  -c -o plperl.o
plperl.c
In file included from C:/Perl/lib/CORE/win32thread.h:4,                from C:/Perl/lib/CORE/perl.h:2056,
from plperl.c:62: 
C:/Perl/lib/CORE/win32.h:219: conflicting types for `uid_t'
../../../src/include/pg_config_os.h:198: previous declaration of `uid_t'
C:/Perl/lib/CORE/win32.h:220: conflicting types for `gid_t'
../../../src/include/pg_config_os.h:199: previous declaration of `gid_t'
In file included from C:/Perl/lib/CORE/win32thread.h:4,                from C:/Perl/lib/CORE/perl.h:2056,
from plperl.c:62: 
C:/Perl/lib/CORE/win32.h:226:1: warning: "isnan" redefined
In file included from ../../../src/include/utils/timestamp.h:16,                from
../../../src/include/utils/nabstime.h:20,               from ../../../src/include/access/xact.h:20,                from
../../../src/include/utils/tqual.h:19,               from ../../../src/include/access/relscan.h:18,                from
../../../src/include/access/heapam.h:18,               from plperl.c:47: 
c:/mingw/include/math.h:324:1: warning: this is the location of the
previous definition
In file included from C:/Perl/lib/CORE/win32.h:549,                from C:/Perl/lib/CORE/win32thread.h:4,
from C:/Perl/lib/CORE/perl.h:2056,                from plperl.c:62: 
C:/Perl/lib/CORE/win32iop.h:239:1: warning: "rename" redefined
In file included from ../../../src/include/c.h:784,                from ../../../src/include/postgres.h:48,
  from plperl.c:40: 
../../../src/include/port.h:177:1: warning: this is the location of the
previous definition
In file included from C:/Perl/lib/CORE/win32.h:549,                from C:/Perl/lib/CORE/win32thread.h:4,
from C:/Perl/lib/CORE/perl.h:2056,                from plperl.c:62: 
C:/Perl/lib/CORE/win32iop.h:246:1: warning: "open" redefined
In file included from ../../../src/include/c.h:784,                from ../../../src/include/postgres.h:48,
  from plperl.c:40: 
../../../src/include/port.h:190:1: warning: this is the location of the
previous definition
In file included from C:/Perl/lib/CORE/win32.h:549,                from C:/Perl/lib/CORE/win32thread.h:4,
from C:/Perl/lib/CORE/perl.h:2056,                from plperl.c:62: 
C:/Perl/lib/CORE/win32iop.h:254:1: warning: "mkdir" redefined
In file included from ../../../src/include/c.h:85,                from ../../../src/include/postgres.h:48,
 from plperl.c:40: 
../../../src/include/pg_config_os.h:13:1: warning: this is the location
of the previous definition
In file included from C:/Perl/lib/CORE/win32.h:549,                from C:/Perl/lib/CORE/win32thread.h:4,
from C:/Perl/lib/CORE/perl.h:2056,                from plperl.c:62: 
C:/Perl/lib/CORE/win32iop.h:304:1: warning: "kill" redefined
In file included from ../../../src/include/c.h:784,                from ../../../src/include/postgres.h:48,
  from plperl.c:40: 
../../../src/include/port.h:148:1: warning: this is the location of the
previous definition
make[3]: *** [plperl.o] Error 1
make[3]: Leaving directory `/cvs/pgsql/src/pl/plperl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cvs/pgsql/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cvs/pgsql/src'
make: *** [all] Error 2


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL-Invoked Procedures for 8.1
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-hackers-win32] win32 tablespace handing