ID: 14408 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: Solaris 8 Old PHP Version: 4.0.6 PHP Version: php4-200112040900 New Comment:
I am using Netscape Directory SDK for C 4.14. The ldap header file being used while compliling is the one that came with the SDK. Is 4.14 not supported? The configuration options I specified to build php were: ./configure \ --with-expat-dir=/usr/local \ --with-sablot=/usr/local \ --enable-xslt \ --with-xslt-sablot \ --with-openssl=/usr/local/ssl \ --with-curl=/opt \ --with-ldap=/usr/local \ --with-mysql \ --with-nsapi=/usr/netscape/server4 \ --with-iconv=/usr/local Previous Comments: ------------------------------------------------------------------------ [2001-12-10 13:23:42] [EMAIL PROTECTED] Compiling with the LDAP module fails with the following error. Am I missing something? # make ... ... /bin/sh /usr/software/php2/php4-200112040900/libtool --silent --mode=compile gcc -I. -I/usr/software/php2/php4-200112040900/ext/ldap -I/usr/software/php2/php4-200112040900/main -I/usr/software/php2/php4-200112040900 -I/usr/netscape/server4/plugins/include -I/usr/software/php2/php4-200112040900/Zend -I/usr/local/ssl/include -I/opt/include -I/usr/local/include -I/usr/software/php2/php4-200112040900/ext/mysql/libmysql -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/software/php2/php4-200112040900/TSRM -DTHREAD=1 -g -O2 -pthreads -DZTS -prefer-pic -c ldap.c ldap.c:2010: parse error before `LDAP_CONST' ldap.c: In function `_ldap_rebind_proc': ldap.c:2016: `params' undeclared (first use in this function) ldap.c:2016: (Each undeclared identifier is reported only once ldap.c:2016: for each function it appears in.) ldap.c:2018: `tsrm_ls' undeclared (first use in this function) ldap.c:2028: `url' undeclared (first use in this function) ldap.c:2031: too few arguments to function `call_user_function_ex' *** Error code 1 make: Fatal error: Command failed for target `ldap.lo' Current working directory /usr/software/php2/php4-200112040900/ext/ldap *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/software/php2/php4-200112040900/ext/ldap *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/software/php2/php4-200112040900/ext *** Error code 1 make: Fatal error: Command failed for target `all-recursive' ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14408&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]