with-ldap compile error
| From: | Rion Monk | Date: | Mon, 09 Sep 2002 21:11:50 +0000 |
| Subject: | with-ldap compile error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8379@lists.php.net to get a copy of this message | ||
All,
I'm having trouble getting PHP v4.2.3 to compile with the --with-ldap parameter on a Solaris 2.7 box. (Everything compiles fine without it). I built Apache v1.3.26 with --enable-module=so and it compiles and runs just fine.
When I run make for PHP I get the following, eventually:
make[3]: Entering directory `/tmp/php-4.2.3/ext/ldap'
/bin/sh /tmp/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/tmp/php-4.2.3/ext/ldap -I/tmp/php-4.2.3/main -I/tmp/php-4.2.3 -I/usr/local/apache/include -I/tmp/php-4.2.3/Zend -I/tmp/php-4.2.3/ext/mysql/libmysql -I/tmp/php-4.2.3/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT -I/tmp/php-4.2.3/TSRM -g -O2 -prefer-pic -c ldap.c
ldap.c: In function `_get_lderrno':
ldap.c:448: dereferencing pointer to incomplete type
ldap.c: In function `php_set_opts':
ldap.c:531: dereferencing pointer to incomplete type
ldap.c:540: dereferencing pointer to incomplete type
ldap.c:549: dereferencing pointer to incomplete type
I've tried searching the archives but I found no solutions. Has anyone out there run across something like this? Any clues as to what to do?
Thanks,
- rm