|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-10-28 15:36 UTC] sniper@php.net
[2003-12-01 16:46 UTC] davej at skechers dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 15:00:01 2025 UTC |
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'