Hi,

I tried to build PostgreSQL 6.5.3 on Solaris, but I could not build perl5
interface, it said:

 prompt% gmake
cc -c -I../libpq -I../../include -I/usr/local/include -I/opt/local/include
-O     -DVERSION=\"1.8.0\" -DXS_VERSION=\"1.8.0\" -KPIC
-I/usr/local/lib/perl5/5.00562/sun4-solaris/CORE  Pg.c
"Pg.xs", line 583: undefined symbol: na
"Pg.xs", line 583: warning: argument #2 is incompatible with prototype:
        prototype: pointer to uint :
"/usr/local/lib/perl5/5.00562/sun4-solaris/CORE/proto.h", line 566
        argument : pointer to int
"Pg.xs", line 1253: undefined symbol: sv_undef
"Pg.xs", line 1253: warning: assignment type mismatch:
        pointer to struct sv {pointer to void sv_any, ulong sv_refcnt, ulong
sv_flags} "=" pointer to int
"Pg.xs", line 1293: undefined symbol: na
"Pg.xs", line 1293: warning: argument #2 is incompatible with prototype:
        prototype: pointer to uint :
"/usr/local/lib/perl5/5.00562/sun4-solaris/CORE/proto.h", line 566
        argument : pointer to int
cc: acomp failed for Pg.c
gmake: *** [Pg.o] Error 2

I configured by :
configure --with-template=solaris_sparc_gcc --with-tcl --with-perl --with-odbc
and xsubpp reported no error.

Could anybody help me with this problem? Thanks a lot!

Steve

************

Reply via email to