Ldap make error
| From: | Jens Calisti | Date: | Mon, 27 Sep 1999 09:14:21 +0000 |
| Subject: | Ldap make error | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4948@lists.php.net to get a copy of this message | ||
Hi,
i got some probs with while compiling php4-beta2 with ldap support here is
my configure line :
./configure --with-ldap=/usr --with-imap=/usr --with-pdf=/usr/local
--with-mysql=/usr/local/mysql --with-apache=../apache_1.3.9
--enable-track-vars
here is are the last line of the make-error
imap.c: In function `php3_imap_mail_compose':
imap.c:2365: warning: passing arg 1 of `convert_to_string' from incompatible
pointer type
imap.c:2454: warning: passing arg 1 of `convert_to_long' from incompatible
pointer type
rm -f libphpext_imap.a
ar cru libphpext_imap.a imap.o
ranlib libphpext_imap.a
make[2]: Leaving directory `/software/new/php-4.0b2/ext/imap'
Making all in ldap
make[2]: Entering directory `/software/new/php-4.0b2/ext/ldap'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM
-I/software/new/php-4.0b2/../apache_1.3.9/src/include
-I/software/new/php-4.0b2/../apache_1.3.9/src/os/unix -I/usr/include
-I/usr/local/mysql/include/mysql -I../.. -I../../libzend -g -O2 -g -O2
-c ldap.c
ldap.c:70: `php3_ldap_close' undeclared here (not in a function)
ldap.c:70: initializer element for `ldap_functions[1].handler' is not
constant
make[2]: *** [ldap.o] Error 1
make[2]: Leaving directory `/software/new/php-4.0b2/ext/ldap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/software/new/php-4.0b2/ext'
make: *** [all-recursive] Error 1
Sytem : Redhat 6 x86, openldap-latest-stable release.
Thanks,
Jens Calisti
e.i.s. konzept gmbh