php ldap wit exop patch and missing ZSTR
| From: | Faraz Khan | Date: | Mon, 07 Jan 2008 15:53:57 +0000 |
| Subject: | php ldap wit exop patch and missing ZSTR | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-34584@lists.php.net to get a copy of this message | ||
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