ID: 14408
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Closed
Status: Open
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: php4-200112040900
New Comment:

Not so fast! This problem was reported to be in the latest CVS!
And I can confirm it. There are some missing TSRM macros in the
new stuff Stig added just recently.


Previous Comments:
------------------------------------------------------------------------

[2001-12-12 14:37:08] [EMAIL PROTECTED]

Closing then.

-- Joao

------------------------------------------------------------------------

[2001-12-12 14:35:23] [EMAIL PROTECTED]

compiled under php 4.1.0

------------------------------------------------------------------------

[2001-12-10 19:19:34] [EMAIL PROTECTED]


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



------------------------------------------------------------------------

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

Reply via email to