freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] php-4.3.10RC2 doesn't compile with freetds-0.63RC5
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] php-4.3.10RC2 doesn't compile with freetds-0.63RC5
- Date: Wed, 15 Dec 2004 10:40:36 +0100
>
> Hi folks,
>
>
> I just trying to compile php-4.3.10RC2 with freetds-0.63RC5...
>
> Here is a snap from the compilation process....
>
> /opt/pdwwwtst/pkgs/php-4.3.10RC2/ext/sybase/php_sybase_db.c:
> In function
> `php_sybase_do_connect':
> /opt/pdwwwtst/pkgs/php-4.3.10RC2/ext/sybase/php_sybase_db.c:45
> 2: too few
> arguments to function `tdsdbopen'
> /opt/pdwwwtst/pkgs/php-4.3.10RC2/ext/sybase/php_sybase_db.c:48
> 1: too few
> arguments to function `tdsdbopen'
> /opt/pdwwwtst/pkgs/php-4.3.10RC2/ext/sybase/php_sybase_db.c:52
> 6: too few
> arguments to function `tdsdbopen'
> make: *** [ext/sybase/php_sybase_db.lo] Fehler 1
>
>
> Compiling with the older freetds-0.62.4 makes no trouble.
>
>
>
> Best regards
>
> Andre
PHP should always use dbopen, not tdsdbopen.
Add these lines to sybdb.h (I added these lines before dbordercol
declaration)
/* fix PHP problem */
#ifdef PHP_SYBASE_DBOPEN
#undef PHP_SYBASE_DBOPEN
#define PHP_SYBASE_DBOPEN dbopen
#endif
freddy77
-
[freetds] php-4.3.10RC2 doesn't compile with freetds-0.63RC5,
Andre Konopka, 12/15/2004
- <Possible follow-up(s)>
-
RE: [freetds] php-4.3.10RC2 doesn't compile with freetds-0.63RC5,
ZIGLIO, Frediano, VF-IT, 12/15/2004
- Re: [freetds] php-4.3.10RC2 doesn't compile with freetds-0.63RC5, Andre Konopka, 12/17/2004
Archive powered by MHonArc 2.6.24.