PHP 4.0 Bug #7416 Updated: unable to compile php 4.0.3pl1 with ldap
| From: | sniper@php.net | Date: | Sat, 28 Oct 2000 19:36:39 +0000 |
| Subject: | PHP 4.0 Bug #7416 Updated: unable to compile php 4.0.3pl1 with ldap | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36274@lists.php.net to get a copy of this message | ||
ID: 7416
Updated by: sniper
Reported By: srosenb1@perspicacity.org
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
This is fixed in CVS now. Thank you for reporting it.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-10-23 17:16:39] srosenb1@perspicacity.org
I am unable to compile php 4.0.3pl1 for apache 1.3.14 using with the following options:
./configure
--with-mysql=/zd/mysql
--with-config-file-path=/zd/apache/cgi/conf
--enable-track-vars
--with-apache=/websys/home/srosenb1/newcgi/apache_1.3.14
--with-ldap=/websys/home/srosenb1/newcgi/ldapsdk
--enable-libgcc
--with-xml
Without the "--with-ldap=...", it compiles just fine, but when I include it, I get the
below errors. The ldap sdk in question is Netscape Directory SDK 3.0.
gcc -I. -I/websys/home/srosenb1/newcgi/php-4.0.3pl1/ext/ldap
-I/websys/home/srosenb1/newcgi/php-4.0.3pl1 -I/websys/home/srosenb1/newcgi/php-4.0.3pl1/main
-I/websys/home/srosenb1/newcgi/apache_1.3.14/src/include
-I/websys/home/srosenb1/newcgi/apache_1.3.14/src/os/unix
-I/websys/home/srosenb1/newcgi/php-4.0.3pl1/Zend -I/websys/home/srosenb1/newcgi/php-4.0.3pl1
-I/websys/home/srosenb1/newcgi/ldapsdk/include -I/zd/mysql/include/mysql
-I/websys/home/srosenb1/newcgi/php-4.0.3pl1/ext/xml/expat/xmltok
-I/websys/home/srosenb1/newcgi/php-4.0.3pl1/ext/xml/expat/xmlparse
-I/websys/home/srosenb1/newcgi/php-4.0.3pl1/TSRM -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g
-O2 -c ldap.c && touch ldap.lo
ldap.c: In function `php_ldap_do_search':
ldap.c:618: dereferencing pointer to incomplete type
ldap.c:627: dereferencing pointer to incomplete type
ldap.c:636: dereferencing pointer to incomplete type
*** Error code 1
make: Fatal error: Command failed for target `ldap.lo'
Current working directory /websys/home/srosenb1/newcgi/php-4.0.3pl1/ext/ldap
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /websys/home/srosenb1/newcgi/php-4.0.3pl1/ext/ldap
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /websys/home/srosenb1/newcgi/php-4.0.3pl1/ext
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7416