v4.2.3 compliant sybase_set_message_handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux