dbdimp.c fails to compile

[email protected] ("Rainer J.H. Brandt")
Newsgroups perl.dbd.pg
Message-ID <[email protected]>
Hi,

I'm trying to build DBD-Pg-2.17.1 for Postgres 9.0.1 and Perl 5.12.2
on Solaris 10u8 i386 with Sun Studio 12u1.
dbdimp.c fails to compile.

The error is:

"dbdimp.c", line 61: identifier redeclared: lo_import_with_oid
        current : function(pointer to struct pg_conn {}, pointer to char, unsigned int) returning unsigned int
        previous: function(pointer to struct pg_conn {}, pointer to const char, unsigned int) returning unsigned int : "/opt/BBCpostgresql/9.0.1/include/libpq-fe.h", line 533
cc: acomp failed for dbdimp.c
*** Error code 1
make: Fatal error: Command failed for target `dbdimp.o'
Exit 1

Does anyone know a workaround?

Thanks,
Rainer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.