Re: Problems building Oracle::OCI 0.03 against Oracle 8.1.7 Linux
[email protected] (Tim Bunce) Tue, 10 Jul 2001 22:15:18 +0100
| Newsgroups | perl.dbi.oracle-oci |
|---|---|
| Organization | Paul Ingram Group, Software Systems, +44 1 483 862800 |
| Message-ID | <[email protected]> |
On Tue, Jul 10, 2001 at 02:31:54PM -0500, Stephen Clouse wrote: > /ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap h2xs.t > ypemap -typemap typemap OCI.xs > OCI.xsc && mv OCI.xsc OCI.c > > Error: invalid argument declaration 'void * argv[]' in OCI.xs, line 9507 > Error: 'OCITrans *' not in typemap in OCI.xs, line 9604 > Error: 'OCITrans *' not in typemap in OCI.xs, line 9607 > Please specify prototyping behavior for OCI.xs (see perlxs manual) > make: *** [OCI.c] Error 1 > > Any clues? Adding OCITrans * T_PTROBJ to the top of extra.typemap should fix the 'not in typemap' errors. For the 'invalid argument declaration' error I suggest finding the name of the OCI function that has that declaration, then add that name to 'oci_skip => ...' section of the boot script. Sorry for the hassle (thanks Oracle for rearranging things on every release!) I'll add some trouble shooting notes to the docs. Tim.