Hi Solaris 8.0 (64 bit)
This error comes up while compiling ( i.e. ./configure -- prefix=/opt/apache --with-ldap --enable-ldap --enable-auth-ldap ) and probably because of this reason the make is throwing the error configure: WARNING: ldap.h: present but cannot be compiled configure: WARNING: ldap.h: check for missing prerequisite headers? configure: WARNING: ldap.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to [EMAIL PROTECTED] ## configure: WARNING: ## ------------------------------------ ## Make error is : make[3]: Entering directory `/tmp/httpd-2.0.52/modules/experimental' /tmp/httpd-2.0.52/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthreads -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT - DAP_HAVE_DESIGNATED_INITIALIZER -I/tmp/httpd-2.0.52/srclib/apr/include -I/tmp/httpd-2.0.52/srclib/apr-util/include - I/tmp/httpd-2.0.52/srclib/apr-util/xml/expat/lib -I. - I/tmp/httpd-2.0.52/os/unix -I/tmp/httpd-2.0.52/server/mpm/prefork - I/tmp/httpd-2.0.52/modules/http -I/tmp/httpd-2.0.52/modules/filters - I/tmp/httpd-2.0.52/modules/proxy -I/tmp/httpd-2.0.52/include - I/tmp/httpd-2.0.52/modules/generators - I/tmp/httpd-2.0.52/modules/dav/main -prefer-non-pic -static -c util_ldap.c && touch util_ldap.lo util_ldap.c: In function `util_ldap_connection_open': util_ldap.c:262: warning: passing arg 1 of `ldap_init' discards qualifiers from pointer target type util_ldap.c:279: warning: passing arg 1 of `ldap_init' discards qualifiers from pointer target type util_ldap.c:282: `LDAP_OPT_X_TLS_HARD' undeclared (first use in this function) util_ldap.c:282: (Each undeclared identifier is reported only once util_ldap.c:282: for each function it appears in.) util_ldap.c:283: `LDAP_OPT_X_TLS' undeclared (first use in this function) util_ldap.c:332: warning: passing arg 2 of `ldap_simple_bind_s' discards qualifiers from pointer target type util_ldap.c:332: warning: passing arg 3 of `ldap_simple_bind_s' discards qualifiers from pointer target type util_ldap.c: In function `util_ldap_cache_comparedn': util_ldap.c:565: warning: passing arg 2 of `ldap_search_ext_s' discards qualifiers from pointer target type util_ldap.c: In function `util_ldap_cache_compare': util_ldap.c:695: warning: passing arg 2 of `ldap_compare_s' discards qualifiers from pointer target type util_ldap.c:695: warning: passing arg 3 of `ldap_compare_s' discards qualifiers from pointer target type util_ldap.c:695: warning: passing arg 4 of `ldap_compare_s' discards qualifiers from pointer target type util_ldap.c: In function `util_ldap_cache_checkuserid': util_ldap.c:828: warning: passing arg 2 of `ldap_search_ext_s' discards qualifiers from pointer target type util_ldap.c:828: warning: passing arg 4 of `ldap_search_ext_s' discards qualifiers from pointer target type util_ldap.c:881: warning: passing arg 2 of `ldap_simple_bind_s' discards qualifiers from pointer target type util_ldap.c:881: warning: passing arg 3 of `ldap_simple_bind_s' discards qualifiers from pointer target type util_ldap.c: In function `util_ldap_post_config': util_ldap.c:1352: `LDAP_OPT_X_TLS_CACERTFILE' undeclared (first use in this function) make[3]: *** [util_ldap.lo] Error 1 make[3]: Leaving directory `/tmp/httpd-2.0.52/modules/experimental' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/httpd-2.0.52/modules/experimental' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/httpd-2.0.52/modules' make: *** [all-recursive] Error 1 -- Prashant Lal <[EMAIL PROTECTED]> Cadence Design Systems
