v4.2.3 compliant sybase_set_message_handler
| From: | Nils Kehrein | Date: | Wed, 24 Mar 2004 11:38:02 +0000 |
| Subject: | v4.2.3 compliant sybase_set_message_handler | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-33624@lists.php.net to get a copy of this message | ||
Hi *,
i'm using PHP 4.2.3 on a Linux box with sybase_ct compiled as a shared object and i
*really*
need that sybase_set_message_handler function from PHP > 4.3.0, but there's no chance to
recompile the complete PHP binaries at the moment.
So i tried to copy & paste the needed function into the 4.2.3 sources... didn't work (as i
expected). Here is what 'make' says:
-- 8< --
php_sybase_ct.c: In function `zif_sybase_set_message_handler':
php_sybase_ct.c:1722: warning: assignment makes pointer from integer without a cast
php_sybase_ct.c:1729: structure has no member named `callback_name'
php_sybase_ct.c:1730: structure has no member named `callback_name'
php_sybase_ct.c:1731: structure has no member named `callback_name'
php_sybase_ct.c:1746: structure has no member named `callback_name'
php_sybase_ct.c:1747: structure has no member named `callback_name'
php_sybase_ct.c:1748: structure has no member named `callback_name'
php_sybase_ct.c:1748: structure has no member named `callback_name'
php_sybase_ct.c:1749: structure has no member named `callback_name'
make[3]: *** [php_sybase_ct.slo] Error 1
make[3]: Leaving directory `/home/kehr02/dev/php-4.2.3/ext/sybase_ct'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kehr02/dev/php-4.2.3/ext/sybase_ct'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kehr02/dev/php-4.2.3/ext'
make: *** [all-recursive] Error 1
-- >8 --
What have i done wrong?
Thanks for reading this message :-)
Regards,
Nils.