kehansen has asked for the wisdom of the Perl Monks concerning the following question:

The default perl with Solaris 10 does not have the DBI & DBD::Oracle modules. So I am attempting to build my own. I can build perl 5.8.9 and DBI 1.608 without error but the DBD-Oracle 1.23 fails the make with "Oracle.h:129: error: conflicting types for 'OCIXMLTypeCreateFromSrc' Oracle.h:129: note: an argument type that has a default promotion can't match an empty parameter name list declaration /u01/app/oracle/product/9.2.0/rdbms/demo/ociap.h:10054: error: previous declaration of 'OCIXMLTypeCreateFromSrc' was here *** Error code 1 make: Fatal error: Command failed for target `Oracle.o' " I have searched Google & perl Monks but found not reference to this error. Any help?

Replies are listed 'Best First'.
Re: DBD::Oracle make error on Solaris 10
by kehansen (Novice) on May 19, 2009 at 22:50 UTC
    I resolved this issue. The DBD::Oracle Oracle.h file had the parameters in the OCIXMLTypeCreateFromSrc commented out within the Parens. Removed these comment characters & recompiled.

      Thanks. I was lucky to find this after hours of searching and trying. Works 100%.