Try the appended patch. Please let me know if it works.

Tim.


--- oci8.c      2003/03/27 16:44:15     1.38
+++ oci8.c      2003/03/31 23:28:46
@@ -1630,7 +1630,7 @@
                "Unable to parse table name for LOB refetch");
 
     OCIHandleAlloc_ok(imp_sth->envhp, &dschp, OCI_HTYPE_DESCRIBE, status);
-    /* BEGIN NEW */
+#ifdef OCI_ATTR_OBJ_NAME /* not in 8.0.x */
     OCIDescribeAny_log_stat(imp_sth->svchp, errhp, tablename, strlen(tablename),
                (ub1)OCI_OTYPE_NAME, (ub1)1, (ub1)OCI_PTYPE_SYN, dschp, status);
     if (status == OCI_SUCCESS) { /* There is a synonym, get the schema */
@@ -1648,7 +1648,7 @@
       if (DBIS->debug >= 3)
        PerlIO_printf(DBILOGFP, "       lob refetch synonym, schema=%s, name=%s, new 
tablename=%s\n", syn_schema, syn_name, tablename);
     }
-    /* END NEW */
+#endif /* OCI_ATTR_OBJ_NAME */
     OCIDescribeAny_log_stat(imp_sth->svchp, errhp, tablename, strlen(tablename),
        (ub1)OCI_OTYPE_NAME, (ub1)1, (ub1)OCI_PTYPE_TABLE, dschp, status);
     if (status != OCI_SUCCESS) {



On Mon, Mar 31, 2003 at 11:28:03PM +0200, =?ISO-8859-1?Q?Daniel V=E9rit=E9?= wrote:
>       Hello,
> 
> Here's an excerpt from the build output
> 
> $ perl Makefile.PL
> 
> [...]
> 
> 8.0.6.0.1            ORACLE Common RDBMS Libraries and Utilities
> 8.0.6.0.0            ORACLE PL/SQL Libraries                 
> 8.0.6.0.1            ORACLE Common Precomp Libraries         
> 8.0.6.0.0            PL/SQL                                  
> 8.0.6.0.1            Oracle8 Enterprise (RDBMS)              
> 8.0.6.0.1            Precomp                                 
> 8.0.6.0.1            Pro*C/C++                               
> 
> Oracle version 8.0.6
> 
> [...]
> 
> $ make
> 
> [...]
> 
> oci8.c: In function `init_lob_refetch':
> oci8.c:1643: `OCI_ATTR_OBJ_NAME' undeclared (first use in this function)
> oci8.c:1643: (Each undeclared identifier is reported only once
> oci8.c:1643: for each function it appears in.)
> 
> OCI_ATTR_OBJ_NAME is to be found in 8i includes, but apparently not in 8.0
> Or is it me?
> 
> -- 
>   Daniel
> 
> 

Reply via email to