ID: 7416 Comment by: davej at skechers dot com Reported By: srosenb1 at perspicacity dot org Status: Closed Bug Type: Compile Failure Operating System: solaris 2.6 PHP Version: 4.0.3pl1 New Comment:
I am getting the same broblem using php 4.3.0 ./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --enable-versioning --with-mysql=/usr/local --enable-ftp --with-gd=/usr/local/gd-2.0.11 --enable-bcmath --disable-debug --enable-memory-limit=yes --enable-track-vars --with-ldap=/usr/ /usr/bin/ld:ext/ldap/ldap.lo: file format not recognized; treating as linker script /usr/bin/ld:ext/ldap/ldap.lo:2: parse error collect2: ld returned 1 exit status make: *** [libphp4.la] Error 1 Previous Comments: ------------------------------------------------------------------------ [2000-10-28 15:36:39] [EMAIL PROTECTED] This is fixed in CVS now. Thank you for reporting it. --Jani ------------------------------------------------------------------------ [2000-10-23 17:16:39] srosenb1 at perspicacity dot 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' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=7416&edit=1