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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC