|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3033 Fatal compile error on functions/ldap.c
Submitted: 1999-12-23 15:23 UTC Modified: 2002-10-01 14:23 UTC
From: john_k at gennum dot com Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 3.0.12 OS: Solaris 2.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
33 - 7 = ?
Subscribe to this entry?

 [1999-12-23 15:23 UTC] john_k at gennum dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 14:23 UTC]
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Aug 12 06:05:45 2022 UTC