Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

/proc/kallsyms format, sqldatasource dal, wwwxxxenden, convert raid5 to raid 10 mdadm, apache force chunked, nrao wwwxxx, xxxxxdup, procmail change subject header, wwwXxx not20, Wwwxxx.doks sas

Links

XODOX
Impressum

#1: Re: DB2.xs error

Posted on 2008-04-11 20:11:00 by tarun.pasrija

Hi Simon..

Please update your DBD:DB2 driver to 1.1. This version fixes this
issue by redefing the DBIc_CACHED_KIDS. Please see the following fix
done to version 1.0. It is highly recommended to use the latest
version. The following being not there in version 1.0 is the reason
why you are seeing the lvalue issue.

/*
Redefining DBIc_CACHED_KIDS to fix the compile issue in DBD::DB2
which was due to change in definition of DBIc_CACHED_KIDS in DBIv1.55
*/
#ifdef DB2_CACHE_FIX
#undef DBIc_CACHED_KIDS
#define DBIc_CACHED_KIDS(imp) _imp2com(imp, _old_cached_kids)
#endif

PS:- Let us know if this works :) Thank you for choosing our driver.


Tarun Pasrija
Owner - Perl DBD:DB2 code
India Software Labs
IBM India Pvt. Ltd.

On Apr 10, 5:01=A0pm, Hildo.Bier...@morganstanley.com (Hildo Biersma)
wrote:
> Simon Cheng wrote:
> > Hi,
>
> > I'm trying to install DBD::DB2 1.0 onto AIX 5.3.
> > perl makefile.pl runs ok
>
> > but when I run make, I get this error
> > "DB2.xs", line 115.9: 1506-025 (S) Operand must be a modifiable lvalue.
> > "DB2.xs", line 175.13: 1506-025 (S) Operand must be a modifiable lvalue.=

> > make: 1254-004 The error code from the last command is 1.
>
> > Any suggestions?
>
> Please contact the group that supports DBD::DB2 - the mail address is
> db2p...@ca.ibm.com, the same company and country that you are in :-)
>
> > Thanks,
>
> > Simon
>
> > Simon Cheng =A0| =A0Environment Support
>
> > csi...@ca.ibm.com
> > phone:
> > tie line:
> > cell:
>
> > 1-778-327-7846
> > 327-7846
> > 1-604-728-0999
>
> >www.ibm.com/services/innovation/

Report this message