From: [EMAIL PROTECTED] Operating system: Solaris 2.6 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: unable to compile php 4.0.4pl1 with ldap (IBM LDAP SDK 3.1) I am unable to compile php 4.0.4pl1 for apache 1.3.12 (IBM HTTP Server in fact !) with the following options: ./configure --without-mysql --with-apxs=/opt/IBMHTTPD/bin/apxs --with-ldap=/opt/IBMldapc The ldap sdk is IBM directory SDK v3.1.1.5. I tried also with php403pl1 + SDK LDAP IBM and I have got the same error. I tried for a test with Netscape LDAP SDK 4.1 and it works ! (with php403pl1 and php404pl1) Here is the error : ........ /bin/sh /usr/local/php/php-4.0.4pl1/libtool --silent --mode=compile gcc -I. -I/ usr/local/php/php-4.0.4pl1/ext/ldap -I/usr/local/php/php-4.0.4pl1/main -I/usr/lo cal/php/php-4.0.4pl1 -I/opt/IBMHTTPD/include -I/usr/local/php/php-4.0.4pl1/Zend -I/opt/IBMldapc/include -I/usr/local/php/php-4.0.4pl1/ext/xml/expat/xmltok -I/us r/local/php/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/local/php/php-4.0.4pl1/TS RM -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=260 -DUSE_EXPAT -DXML_BYTE_ORDER=21 -g -O2 -c ldap.c ldap.c: In function `_get_lderrno': ldap.c:477: dereferencing pointer to incomplete type ldap.c: In function `php_ldap_do_search': ldap.c:657: dereferencing pointer to incomplete type ldap.c:666: dereferencing pointer to incomplete type ldap.c:675: dereferencing pointer to incomplete type *** Error code 1 make: Fatal error: Command failed for target `ldap.lo' Current working directory /usr/local/php/php-4.0.4pl1/ext/ldap *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/php/php-4.0.4pl1/ext/ldap *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/php/php-4.0.4pl1/ext *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Is the pb due to IBM LDAP SDK or PHP ? Olivier. -- Edit Bug report at: http://bugs.php.net/?id=9396&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]