php.net |  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: john_k at gennum dot com
New email:
PHP Version: OS:

 

 [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.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 14:23 UTC] hholzgra@php.net
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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC