Re: Linux 9.0.1: boot -all *almost* works
[email protected] (Tim Bunce) Fri, 28 Dec 2001 13:10:32 +0000
| Newsgroups | perl.dbi.oracle-oci |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Dec 27, 2001 at 11:58:07PM -0600, Stephen Clouse wrote: > On Fri, Dec 28, 2001 at 02:52:13AM +0000, Tim Bunce wrote: > > Ah well, unless you _need_ OCIExtractSetKey just add it to the skip > > list in the boot script. > > Nope, don't need it...just obeying the readme: > > >*** IF YOU DON'T HAVE PROBLEMS: > > > >Please try running 'boot -all' and let me know how that goes! > >(It'll generate big .xs and .c file, about 26,000 lines :) And many thanks for doing just that :) > With that rogue function out of the way, the attached patch enables a successful > all build for me. Great. Tim. > -- > Stephen Clouse <[email protected]> > Senior Programmer, IQ Coordinator Project Lead > The IQ Group, Inc. <http://www.theiqgroup.com/> Content-Description: oracle-oci-901all.patch > Index: boot > =================================================================== > RCS file: /home/thebrain/.cvsroot/Oracle-OCI/boot,v > retrieving revision 1.1.1.1 > diff -u -r1.1.1.1 boot > --- boot 19 Nov 2001 16:56:13 -0000 1.1.1.1 > +++ boot 28 Dec 2001 05:44:05 -0000 > @@ -99,6 +99,7 @@ > TypeArrayByRef => "?", > EnvCallback => "?", > SharedLibInit => "uses 'dvoid *argv[]' type that we've not supported yet", > + ExtractSetKey => "h2xs can't grok CONST OraText *CONST *strlist", > '_ORACLE' => "empty define - used to prevent multiple #includes", > '_FLAGS' => "empty define - used to prevent multiple #includes", > } } ], > Index: extra.typemap > =================================================================== > RCS file: /home/thebrain/.cvsroot/Oracle-OCI/extra.typemap,v > retrieving revision 1.1.1.1 > diff -u -r1.1.1.1 extra.typemap > --- extra.typemap 19 Nov 2001 16:56:13 -0000 1.1.1.1 > +++ extra.typemap 28 Dec 2001 05:43:12 -0000 > @@ -1,7 +1,10 @@ > OCIRaw * T_PTROBJ > OCIRef * T_PTROBJ > +OCIString * T_PTROBJ > OCITrans * T_PTROBJ > OCIType * T_PTROBJ > +OCITypeElem * T_PTROBJ > +OCITypeMethod * T_PTROBJ > int * T_PTROBJ > void * T_PTROBJ > sb1 T_IV > Index: getptrdef.h > =================================================================== > RCS file: /home/thebrain/.cvsroot/Oracle-OCI/getptrdef.h,v > retrieving revision 1.1.1.1 > diff -u -r1.1.1.1 getptrdef.h > --- getptrdef.h 19 Nov 2001 16:56:13 -0000 1.1.1.1 > +++ getptrdef.h 28 Dec 2001 05:45:42 -0000 > @@ -1,4 +1,6 @@ > #define ora_getptr_Lda_DefPtr ora_getptr_generic > +#define ora_getptr_OCIAnyDataPtr ora_getptr_generic > +#define ora_getptr_OCIAnyDataSetPtr ora_getptr_generic > #define ora_getptr_OCIAQDeqOptionsPtr ora_getptr_generic > #define ora_getptr_OCIAQEnqOptionsPtr ora_getptr_generic > #define ora_getptr_OCIAQMsgPropertiesPtr ora_getptr_generic > @@ -8,6 +10,7 @@ > #define ora_getptr_OCICallbackOutBind ora_getptr_generic > #define ora_getptr_OCICollPtr ora_getptr_generic > #define ora_getptr_OCIComplexObjectPtr ora_getptr_generic > +#define ora_getptr_OCICPoolPtr ora_getptr_generic > #define ora_getptr_OCIDatePtr ora_getptr_generic > #define ora_getptr_OCIDateTimePtr ora_getptr_generic > #define ora_getptr_OCIDefinePtr ora_getptr_generic > @@ -28,6 +31,7 @@ > #define ora_getptr_OCINumberPtr ora_getptr_generic > #define ora_getptr_OCIObjectEvent ora_getptr_generic > #define ora_getptr_OCIObjectProperty ora_getptr_generic > +#define ora_getptr_OCIParamPtr ora_getptr_generic > #define ora_getptr_OCIPicklerFdoPtr ora_getptr_generic > #define ora_getptr_OCIPicklerImagePtr ora_getptr_generic > #define ora_getptr_OCIPicklerTdsCtxPtr ora_getptr_generic > @@ -63,6 +67,9 @@ > #define ora_getptr_OCIUserCallback ora_getptr_generic > #define ora_getptr_OCIUserCallbackPtr ora_getptr_generic > #define ora_getptr_OCIWcharPtr ora_getptr_generic > +#define ora_getptr_OCIXADFieldPtr ora_getptr_generic > +#define ora_getptr_OCIXADTablePtr ora_getptr_generic > +#define ora_getptr_OraTextPtr ora_getptr_generic > #define ora_getptr_nzttBufferBlockPtr ora_getptr_generic > #define ora_getptr_nzttCipherType ora_getptr_generic > #define ora_getptr_nzttIdentType ora_getptr_generic