|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-21 18:23 UTC] mfischer@php.net
[2002-09-23 14:22 UTC] Paul dot Brzezinski at EDS dot COM
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
PHP 4.2.1 cannot be compiled with openldap support. Compilation fails on ext/ldap/ldap.c, producing error in line 2030: ldap.c:2030: `tsrm_ls' undeclared (first use in this function) Line 2030 uses TSRMLS_CC, which is defined in TSRM/TSRM.h to be #define TSRMLS_C tsrm_ls #define TSRMLS_CC , TSRMLS_C But, tsrm_ls has never been defined ! Although TSRMLS_CC has been used in other places in ldap.c, only in line 2030 it creates problem. It looks that source of the problem is that function is defined as: int _ldap_rebind_proc ... so it is not PHP function, and tsrm_ls is not implicitly defined. Adding following line in ldap.c, just before line 2030: void ***tsrm_ls; /* Added by smilic@EUnet.yu */ fixes the problem. Regards, Sasa Milic