From: [EMAIL PROTECTED]
Operating system: Solaris 7
PHP version: 4.1.1
PHP Bug Type: Compile Failure
Bug description: Failure to compile with LDAP support
Both php 4.1.0 and 4.1.1 fail to compile with LDAP support.
The same configuration compiles (and works) just fine when
I configure without "--with-ldap".
$ ./configure --enable-safe-mode --enable-track-vars \
--enable-memory-limit=yes --enable-sysvsem \
--enable-sysvshm --enable-versioning --with-apxs2=${apxs}\
--with-openssl --with-xml --with-zlib \
--with-config-file-path=${conf} \
--with-freetype-dir=/usr/local \
--with-gd=/usr/local/src/gd-1.8.4
--with-gettext=/usr/local \
--with-imap=/usr/local/src/imap-2000c \
--with-jpeg-dir=/usr/local \
--with-ldap=/usr/local --with-mysql=/usr/local \
--with-png-dir=/usr/local --with-xpm-dir=/usr/local
...
$ make
...
make[3]: Entering directory
/usr/local/src/php-4.1.1/ext/standard'
/bin/sh /usr/local/src/php-4.1.1/libtool --silent --mode=compile
/usr/local/src/php-4.1.1/meta_ccld -I.
-I/usr/local/src/php-4.1.1/ext/standard -I/usr/local/src/php-4.1.1/main
-I/usr/local/src/php-4.1.1 -I/usr/local/include
-I/usr/local/src/php-4.1.1/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/usr/local/include/freetype2/freetype
-I/usr/local/src/gd-1.8.4/ -I/usr/local/gnu/include
-I/WWWserv/src/imap-2000c/c-client -I/usr/local/ldap/include
-I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.1.1/ext/xml/expat
-I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -I/usr/local/src/php-4.1.1/TSRM -g -O2 -pthreads -DZTS
-prefer-pic -c dl.c
dl.c:212: conflicting types for `php_dl'
dl.h:26: previous declaration of `php_dl'
make[3]: *** [dl.lo] Error 1
--
Edit bug report at: http://bugs.php.net/?id=15207&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]