Skip to Content.
Sympa Menu

freetds - Re: [freetds] Compiling php-5.03 with freetds-0.63RC10 fails

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Andre Konopka <andre.konopka AT presse-data.de>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Compiling php-5.03 with freetds-0.63RC10 fails
  • Date: Tue, 15 Mar 2005 09:59:17 +0100

Thompson, Bill D (London) wrote:
Hi Andre,

what are lines 1112 and 1113 of php_sybase_db.c ?

Bill

Hi Bill,
thank you for your fast response.
Here is the function

PHP_FUNCTION(sybase_fetch_object)
{
php_sybase_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU);
if (Z_TYPE_P(return_value)==IS_ARRAY) {
Z_TYPE_P(return_value)=IS_OBJECT;
Line 1112 Z_OBJPROP_P(return_value) = Z_ARRVAL_P(return_value);
Z_OBJCE_P(return_value) = ZEND_STANDARD_CLASS_DEF_PTR;
}
}

Maybe it helps you....



-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Andre Konopka
Sent: 15 March 2005 08:52
To: FreeTDS Development Group
Subject: [freetds] Compiling php-5.03 with freetds-0.63RC10 fails


Hi,

I tried to compile php-5.0.3 with freetds support


./configure ..... --with-sybase=/opt/pdwwwtst/freetds-0.63RC10 \
--with-iodbc=/opt/pdwwwtst/freetds-0.63RC10 \

without success on my RH system.



/bin/sh /opt/pdwwwtst/pkgs/php-5.0.3/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/sybase/ -I/opt/pdwwwtst/pkgs/php-5.0.3/ext/sybase/ -DPHP_ATOM_INC -I/opt/pdwwwtst/pkgs/php-5.0.3/include -I/opt/pdwwwtst/pkgs/php-5.0.3/main -I/opt/pdwwwtst/pkgs/php-5.0.3 -I/opt/pdwwwtst/freetds-0.63RC10/include -I/opt/pdwwwtst/pkgs/php-5.0.3/Zend -I/opt/pdwwwtst/libxml/include/libxml2 -I/opt/pdwwwtst/zlib/include -I/opt/pdwwwtst/jpeg/include -I/opt/pdwwwtst/libpng/include -I/opt/pdwwwtst/openldap/include -I/opt/pdwwwtst/libmcrypt-2.5.7/include

-I/opt/pdwwwtst/mysql/include -I/opt/pdwwwtst/pkgs/php-5.0.3/TSRM -g -O2 -prefer-pic -c /opt/pdwwwtst/pkgs/php-5.0.3/ext/sybase/php_sybase_db.c -o ext/sybase/php_sybase_db.lo
/opt/pdwwwtst/pkgs/php-5.0.3/ext/sybase/php_sybase_db.c: In function `zif_sybase_fetch_object':
/opt/pdwwwtst/pkgs/php-5.0.3/ext/sybase/php_sybase_db.c:1112: invalid lvalue in assignment
/opt/pdwwwtst/pkgs/php-5.0.3/ext/sybase/php_sybase_db.c:1113: invalid lvalue in assignment
make: *** [ext/sybase/php_sybase_db.lo] Fehler 1


Can anybody help me?


Best regards

Andre
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
--------------------------------------------------------

If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy, retain or
redistribute it. Click here for important additional terms relating to this
e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds



--
Mit freundlichen Grüßen


Andre Konopka
Basissysteme

RB Presse-Data GmbH
40196 Düsseldorf
Hausadresse:
Zülpicher Str. 8a Tel: 0211 / 5697- 379
40549 Düsseldorf Fax: 0211 / 5697- 352
E-Mail: Andre.Konopka AT Presse-Data.de




Archive powered by MHonArc 2.6.24.

Top of Page