PHP 4.0 Bug #7416: unable to compile php 4.0.3pl1 with ldap

From: Date: Mon, 23 Oct 2000 21:16:40 +0000
Subject: PHP 4.0 Bug #7416: unable to compile php 4.0.3pl1 with ldap
Groups: php.dev 
Request: Send a blank email to php-dev+get-35905@lists.php.net to get a copy of this message
From: srosenb1@perspicacity.org Operating system: solaris 2.6 PHP version: 4.0.3pl1 PHP Bug Type: Compile Failure Bug description: unable to compile php 4.0.3pl1 with ldap 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' -- Edit Bug report at: http://bugs.php.net/?id=7416&edit=1

« previous php.dev (#35905) next »