Re: DBD-Oracle Compilation error on OpenVMS

[email protected] (John Scoles)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
Thanks for that

However I an not sure what you did

 dbd_phs_ora_varchar2_table_
>
> fixup_after_execute
>
> with
>
>        dbd_phs_ora_varchar2_table_fea
> in
>

does not make any sense to me.  I thinks your email was cut off somehow

can you attach a copy of your DBDIMP.C file so I can have a look at it.

Cheers
John


On Thu, Dec 16, 2010 at 12:50 PM, Jakob noer <[email protected]> wrote:

> I have installed DBD-Oracle on an OpenVMS IA64 box.
>
> Versions:
>
> oracle 10.2.0.4 (Client - Db is 11.1.0.7 on solaris)
> DBI 1.615
> DBD 1.26
> Perl 5.8.6
>
>
> It is as such completed, but I got this error on the way:
>
>
> CC/DECC
> /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/List/Machine/Show=Expan
> /NOANSI_ALIAS/float=ieee/ieee=denorm_results/D
>
> efine=(UTF8_SUPPORT,"ORA_OCI_VERSION=""10.2.0.4""",ORA_OCI_102,"VERSION=""1.26""","XS_VERSION=""1.26""")/Include=(perl_root:[lib.VMS
>
> _IA64.5_8_6.CORE],GLO120:[ORACLE.ORACLE102.oracli.rdbms],GLO120:[ORACLE.ORACLE102.oracli.rdbms.public],GLO120:[ORACLE.ORACLE102.orac
>
> li.rdbms.demo],GLO120:[ORACLE.ORACLE102.oracli.rdbms.demo.oci_demo],GLO120:[ORACLE.ORACLE102.oracli.netconfig.demo],perl_root:[lib.s
> ite_perl.VMS_IA64.auto.DBI])/List/Machine/Show=Expan  DBDIMP.c
>
>        if(exe_count <= 0)
> ...........^
> %CC-I-QUESTCOMPARE, In this statement, the unsigned expression "exe_count"
> is being compared with a relational operator to a constant whose value is
> not greater than zero.  This might not be what you intended.
> at line number 3564 in file USR:[PERLMOD.DBD-ORACLE-1_26]DBDIMP.C;1
>
> int dbd_phs_ora_varchar2_table_fixup_after_execute(phs_t *phs){
> ....^
> %CC-W-LONGEXTERN, The external identifier name exceeds 31 characters;
> truncated to "DBD_PHS_ORA_VARCHAR2_TABLE_FIXU".
> at line number 1897 in file USR:[PERLMOD.DBD-ORACLE-1_26]DBDIMP.C;1
>
> int dbd_phs_ora_number_table_fixup_after_execute(phs_t *phs){
> ....^
> %CC-W-LONGEXTERN, The external identifier name exceeds 31 characters;
> truncated to "DBD_PHS_ORA_NUMBER_TABLE_FIXUP_".
> at line number 2263 in file USR:[PERLMOD.DBD-ORACLE-1_26]DBDIMP.C;1
> %MMK-F-ERRUPD, error status %X10B91260 occurred when updating target
> DBDIMP.OBJ
>
> This may well be an OpenVMS problem, that an external identifier name must
> not exceed 31 charachters ?
>
> What I did was replace all occurrencies of
>
>        dbd_phs_ora_varchar2_table_fixup_after_execute
>
> with
>
>        dbd_phs_ora_varchar2_table_fea
> in
>
>        DBDIMP.C
>
> which helped a lot.
>
> Is this a known problem? or a serious one ?
> Venlig hilsen/Regards
>
> Jakob Snoer
>

--
From the Pythian family to yours, Happy Holidays and all the best in 2011!
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.