Bug #3033: Fatal compile error on functions/ldap.c
| From: | john_k at gennum dot com | Date: | Thu, 23 Dec 1999 20:23:51 +0000 |
| Subject: | Bug #3033: Fatal compile error on functions/ldap.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13970@lists.php.net to get a copy of this message | ||
From: john_k@gennum.com
Operating system: Solaris 2.7
PHP version: 3.0.12
PHP Bug Type: Compile Failure
Bug description: Fatal compile error on functions/ldap.c
The exact error is (using gcc 2.8.1):
functions/ldap.c: In function `php3_ldap_error':
functions/ldap.c:610: dereferencing pointer to incomplete type
The offending line reads as:
ld_error = ldap_err2string(ldap->ld_errno);
but should be:
ld_error = ldap_err2string(ld_errno);
This will properly utilize the #if LDAP_API_VERSION section immediately above.
I am using the Netscape Directory SDK 3.0 and I have --with-ldap pointing to the correct dir.