Bug #14408 Updated: compiled failed for target ldap.lo
| From: | fowler at csufresno dot edu | Date: | Tue, 11 Dec 2001 00:19:35 +0000 |
| Subject: | Bug #14408 Updated: compiled failed for target ldap.lo | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73106@lists.php.net to get a copy of this message | ||
ID: 14408
User updated by: fowler@csufresno.edu
Reported By: fowler@csufresno.edu
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] fowler@csufresno.edu
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