I am trying to compile DBD Postgres under cygin and I get the following error message: (any ideas?)

What is broke?

I'm on cygwin / Window 7

---
Writing Makefile for Postgres
Skip blib/lib/Postgres.pm (unchanged)
gcc-4 -c -I/usr/local/postgres95/include -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3 -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" Postgres.c
Postgres.xs: In function 'XS_PGconnPtr_getline':
Postgres.xs:148:15: error: 'sv_undef' undeclared (first use in this function) Postgres.xs:148:15: note: each undeclared identifier is reported only once for each function it appears in
Postgres.xs: In function 'XS_QUERYPtr_fetchrow':
Postgres.xs:339:6: error: 'sv_undef' undeclared (first use in this function)
Makefile:333: recipe for target `Postgres.o' failed
make: *** [Postgres.o] Error 1
gcc-4 -c -I/usr/local/postgres95/include -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3 -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" Postgres.c
Postgres.xs: In function 'XS_PGconnPtr_getline':
Postgres.xs:148:15: error: 'sv_undef' undeclared (first use in this function) Postgres.xs:148:15: note: each undeclared identifier is reported only once for each function it appears in
Postgres.xs: In function 'XS_QUERYPtr_fetchrow':
Postgres.xs:339:6: error: 'sv_undef' undeclared (first use in this function)
Makefile:333: recipe for target `Postgres.o' failed
make: *** [Postgres.o] Error 1
gcc-4 -c -I/usr/local/postgres95/include -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3 -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" Postgres.c
Postgres.xs: In function 'XS_PGconnPtr_getline':
Postgres.xs:148:15: error: 'sv_undef' undeclared (first use in this function) Postgres.xs:148:15: note: each undeclared identifier is reported only once for each function it appears in
Postgres.xs: In function 'XS_QUERYPtr_fetchrow':
Postgres.xs:339:6: error: 'sv_undef' undeclared (first use in this function)
Makefile:333: recipe for target `Postgres.o' failed
make: *** [Postgres.o] Error 1

Reply via email to