Re: PHP 4.0 Bug #7603 Updated: Compile Warning ->Make Failed

From: Date: Fri, 03 Nov 2000 18:14:11 +0000
Subject: Re: PHP 4.0 Bug #7603 Updated: Compile Warning ->Make Failed
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-37010@lists.php.net to get a copy of this message
I downloaded the latest and it resolved the error during compile but now I get this error during make: ldap.c: In function `php_minit_ldap': ldap.c:175: `LDAP_OPT_MATCHED_DN' undeclared (first use in this function) ldap.c:175: (Each undeclared identifier is reported only once ldap.c:175: for each function it appears in.) ldap.c: In function `php_ldap_do_search': ldap.c:653: dereferencing pointer to incomplete type ldap.c:662: dereferencing pointer to incomplete type ldap.c:671: dereferencing pointer to incomplete type ldap.c: In function `php_if_ldap_get_option': ldap.c:1550: `LDAP_OPT_MATCHED_DN' undeclared (first use in this function) ldap.c: In function `php_if_ldap_set_option': ldap.c:1611: `LDAP_OPT_MATCHED_DN' undeclared (first use in this function) *** Error code 1 make: Fatal error: Command failed for target `ldap.lo' Current working directory /export1/home/okaili/php4-200011030745/ext/ldap *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export1/home/okaili/php4-200011030745/ext/ldap *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export1/home/okaili/php4-200011030745/ext *** Error code 1 make: Fatal error: Command failed for target `all-recursive' OS - solaris 2.6 PHP - latest from snaps.php.net WebSrv - Apache 1.3.12 Ldap - Netscape 4.12 Thanks, -ok Bug Database wrote: > ID: 7603 > Updated by: sniper > Reported By: okaili@lsil.com > Status: Feedback > Bug Type: Compile Problem > Assigned To: > Comments: > > This should be fixed already. Please try a snapshot from > http://snaps.php.net/ > > --Jani > > Previous Comments: > --------------------------------------------------------------------------- > > [2000-11-02 17:38:57] okaili@lsil.com > I got this error during the configure stage: > > ... > creating main/internal_functions.c > main/internal_functions.c is unchanged > +--------------------------------------------------------------------+ > | *** ATTENTION *** | > | | > | Something is likely to be messed up here, because the configure | > | script was not able to detect a simple feature on your platform. | > | This is often caused by incorrect configuration parameters. Please | > | see the file debug.log for error messages. | > | | > | If you are unable to fix this, send the file debug.log to the | > | php-install@lists.php.net mailing list and include appropiate | > | information about your setup. | > > Here is the contents of the debug.log. > > more debug.log > CONFIGURE: './configure' '--with-apxs=/www/bin/apxs' > '--with-config-file-path=/www/co > nf' '--with-mysql' '--with-ldap=/ldap' '--with-system-regex' > CC: gcc > CFLAGS: -g -O2 > CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS > CXX: > CXXFLAGS: > INCLUDES: -I/www/include -I$(top_builddir)/Zend -I$(top_srcdir) -I/ldap/include -I > /export1/home/okaili/php-4.0.2/ext/mysql/libmysql > LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/ldap/lib -L/ldap/lib > LIBS: -lldap30 -l -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lsocket > DLIBS: > SAPI: apache > PHP_RPATHS: /usr/ucblib /ldap/lib > uname -a: SunOS longbow 5.6 Generic_105181-17 sun4m sparc SUNW,SPARCstation-5 > > gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/ldap > /lib -L/ldap/lib conftest.c -lldap30 -l -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsock > et -lsocket 1>&5 > ld: fatal: library -l-lresolv: not found > ld: fatal: File processing errors. No output written to conftest > collect2: ld returned 1 exit status > > I am trying to compile with LDAP support for Netscape 4.x ldap server. > > --------------------------------------------------------------------------- > > Full Bug description available at: http://bugs.php.net/?id=7603

« previous php.dev (#37010) next »