Dear all,
I'm trying to apply the php ldap EXOP patch from :
<http://www.sys-net.it/~ando/Download/#PHP>
The patch defines a zstr in ldap.c at line 1731 as obvious below. ZSTR
no longer appears to be defined anywhere in php or zend.h - can
somebody help me with this? Should i just define it manually?
/php5/Zend -I/usr/include -g -O2 -c
/usr/local/src/php5/ext/ldap/ldap.c -o ext/ldap/ldap.lo
/usr/local/src/php5/ext/ldap/ldap.c: In function 'php_ldap_do_modify':
/usr/local/src/php5/ext/ldap/ldap.c:1731: error: 'zstr' undeclared
(first use in this function)
/usr/local/src/php5/ext/ldap/ldap.c:1731: error: (Each undeclared
identifier is reported only once
/usr/local/src/php5/ext/ldap/ldap.c:1731: error: for each function it
appears in.)
/usr/local/src/php5/ext/ldap/ldap.c:1731: error: expected ';' before
'attribute'
/usr/local/src/php5/ext/ldap/ldap.c:1790: error: 'attribute'
undeclared (first use in this function)
make: *** [ext/ldap/ldap.lo] Error 1
--
Faraz R Khan
Chief Architect
Emergen Consulting Pvt Ltd
www.emergen.biz
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php