[Auth_ldap] Ldap module compilation in Apache 2.2.3 on Redhat Linux
Ravi M
ravi.b.m at gmail.com
Tue Nov 28 12:31:47 PST 2006
Hi All,
I am having trouble compiling the ldap module in apache 2.2.3 on
Linux.
I am doing the following
./configure --with-ldap --enable-ldap --enable-authnz-ldap
make
I am getting a lot of compilation errors in util_ldap.c, Some of them are
the following
util_ldap.c:851: `search_nodep' undeclared (first use in this function)
util_ldap.c:852: syntax error before "the_search_node"
util_ldap.c:855: `util_ldap_state_t' undeclared (first use in this function)
util_ldap.c:855: `st' undeclared (first use in this function)
util_ldap.c:856: syntax error before ')' token
util_ldap.c:857: `r' undeclared (first use in this function)
util_ldap.c:861: `curnode' undeclared (first use in this function)
util_ldap.c:861: `url' undeclared (first use in this function)
util_ldap.c:862: syntax error before ')' token
util_ldap.c:871: `the_search_node' undeclared (first use in this function)
util_ldap.c:871: `filter' undeclared (first use in this function)
util_ldap.c:891: `bindpw' undeclared (first use in this function)
util_ldap.c:894: `binddn' undeclared (first use in this function)
util_ldap.c:895: `retvals' undeclared (first use in this function)
util_ldap.c:897: `ldc' undeclared (first use in this function)
util_ldap.c:898: `LDAP_SUCCESS' undeclared (first use in this function)
util_ldap.c:922: `basedn' undeclared (first use in this function)
util_ldap.c:922: `scope' undeclared (first use in this function)
util_ldap.c:923: `attrs' undeclared (first use in this function)
util_ldap.c:925: `LDAP_SERVER_DOWN' undeclared (first use in this function)
util_ldap.c:951: `LDAP_NO_SUCH_OBJECT' undeclared (first use in this
function)
util_ldap.c:957: warning: assignment makes pointer from integer without a
cast
util_ldap.c:971: `LDAP_INVALID_CREDENTIALS' undeclared (first use in this
function)
util_ldap.c:1020: warning: assignment makes pointer from integer without a
cast
util_ldap.c: At top level:
util_ldap.c:1083: syntax error before "util_ldap_connection_t"
util_ldap.c: In function `uldap_cache_getuserdn':
util_ldap.c:1091: `LDAPMessage' undeclared (first use in this function)
util_ldap.c:1091: `res' undeclared (first use in this function)
util_ldap.c:1091: `entry' undeclared (first use in this function)
util_ldap.c:1095: `util_url_node_t' undeclared (first use in this function)
util_ldap.c:1095: `curl' undeclared (first use in this function)
util_ldap.c:1096: syntax error before "curnode"
util_ldap.c:1097: `util_search_node_t' undeclared (first use in this
function)
util_ldap.c:1097: `search_nodep' undeclared (first use in this function)
util_ldap.c:1098: syntax error before "the_search_node"
util_ldap.c:1101: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1101: `st' undeclared (first use in this function)
util_ldap.c:1102: syntax error before ')' token
util_ldap.c:1103: `r' undeclared (first use in this function)
util_ldap.c:1107: `curnode' undeclared (first use in this function)
util_ldap.c:1107: `url' undeclared (first use in this function)
util_ldap.c:1108: syntax error before ')' token
util_ldap.c:1117: `the_search_node' undeclared (first use in this function)
util_ldap.c:1117: `filter' undeclared (first use in this function)
util_ldap.c:1134: `binddn' undeclared (first use in this function)
util_ldap.c:1135: `retvals' undeclared (first use in this function)
util_ldap.c:1137: `ldc' undeclared (first use in this function)
util_ldap.c:1138: `LDAP_SUCCESS' undeclared (first use in this function)
util_ldap.c:1162: `basedn' undeclared (first use in this function)
util_ldap.c:1162: `scope' undeclared (first use in this function)
util_ldap.c:1163: `attrs' undeclared (first use in this function)
util_ldap.c:1165: `LDAP_SERVER_DOWN' undeclared (first use in this function)
util_ldap.c:1191: `LDAP_NO_SUCH_OBJECT' undeclared (first use in this
function)
util_ldap.c:1197: warning: assignment makes pointer from integer without a
cast
util_ldap.c:1215: warning: assignment makes pointer from integer without a
cast
util_ldap.c: In function `uldap_ssl_supported':
util_ldap.c:1277: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1277: `st' undeclared (first use in this function)
util_ldap.c:1277: syntax error before ')' token
util_ldap.c: In function `util_ldap_set_cache_bytes':
util_ldap.c:1291: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1291: `st' undeclared (first use in this function)
util_ldap.c:1292: syntax error before ')' token
util_ldap.c: In function `util_ldap_set_cache_file':
util_ldap.c:1313: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1313: `st' undeclared (first use in this function)
util_ldap.c:1314: syntax error before ')' token
util_ldap.c: In function `util_ldap_set_cache_ttl':
util_ldap.c:1339: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1339: `st' undeclared (first use in this function)
util_ldap.c:1340: syntax error before ')' token
util_ldap.c: In function `util_ldap_set_cache_entries':
util_ldap.c:1360: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1360: `st' undeclared (first use in this function)
util_ldap.c:1361: syntax error before ')' token
util_ldap.c: In function `util_ldap_set_opcache_ttl':
util_ldap.c:1384: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1384: `st' undeclared (first use in this function)
util_ldap.c:1385: syntax error before ')' token
util_ldap.c: In function `util_ldap_set_opcache_entries':
util_ldap.c:1405: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1405: `st' undeclared (first use in this function)
util_ldap.c:1406: syntax error before ')' token
util_ldap.c: In function `util_ldap_parse_cert_type':
util_ldap.c:1440: `APR_LDAP_CA_TYPE_DER' undeclared (first use in this
function)
util_ldap.c:1445: `APR_LDAP_CA_TYPE_BASE64' undeclared (first use in this
function)
util_ldap.c:1450: `APR_LDAP_CA_TYPE_CERT7_DB' undeclared (first use in this
function)
util_ldap.c:1455: `APR_LDAP_CA_TYPE_SECMOD' undeclared (first use in this
function)
util_ldap.c:1460: `APR_LDAP_CERT_TYPE_DER' undeclared (first use in this
function)
util_ldap.c:1465: `APR_LDAP_CERT_TYPE_BASE64' undeclared (first use in this
function)
util_ldap.c:1470: `APR_LDAP_CERT_TYPE_PFX' undeclared (first use in this
function)
util_ldap.c:1475: `APR_LDAP_CERT_TYPE_KEY3_DB' undeclared (first use in this
function)
util_ldap.c:1480: `APR_LDAP_CERT_TYPE_NICKNAME' undeclared (first use in
this function)
util_ldap.c:1485: `APR_LDAP_KEY_TYPE_DER' undeclared (first use in this
function)
util_ldap.c:1490: `APR_LDAP_KEY_TYPE_BASE64' undeclared (first use in this
function)
util_ldap.c:1495: `APR_LDAP_KEY_TYPE_PFX' undeclared (first use in this
function)
util_ldap.c:1499: `APR_LDAP_CA_TYPE_UNKNOWN' undeclared (first use in this
function)
util_ldap.c: In function `util_ldap_set_trusted_global_cert':
util_ldap.c:1521: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1521: `st' undeclared (first use in this function)
util_ldap.c:1522: syntax error before ')' token
util_ldap.c:1528: `apr_ldap_opt_tls_cert_t' undeclared (first use in this
function)
util_ldap.c:1528: `cert' undeclared (first use in this function)
util_ldap.c:1537: `APR_LDAP_CA_TYPE_UNKNOWN' undeclared (first use in this
function)
util_ldap.c:1555: syntax error before ')' token
util_ldap.c:1562: `APR_LDAP_CERT_TYPE_NICKNAME' undeclared (first use in
this function)
util_ldap.c: In function `util_ldap_set_trusted_client_cert':
util_ldap.c:1595: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1595: `st' undeclared (first use in this function)
util_ldap.c:1596: syntax error before ')' token
util_ldap.c:1601: `apr_ldap_opt_tls_cert_t' undeclared (first use in this
function)
util_ldap.c:1601: `cert' undeclared (first use in this function)
util_ldap.c:1606: `APR_LDAP_CA_TYPE_UNKNOWN' undeclared (first use in this
function)
util_ldap.c:1614: `APR_LDAP_CA_TYPE_DER' undeclared (first use in this
function)
util_ldap.c:1615: `APR_LDAP_CA_TYPE_BASE64' undeclared (first use in this
function)
util_ldap.c:1616: `APR_LDAP_CA_TYPE_CERT7_DB' undeclared (first use in this
function)
util_ldap.c:1617: `APR_LDAP_CA_TYPE_SECMOD' undeclared (first use in this
function)
util_ldap.c:1618: `APR_LDAP_CERT_TYPE_PFX' undeclared (first use in this
function)
util_ldap.c:1619: `APR_LDAP_CERT_TYPE_KEY3_DB' undeclared (first use in this
function)
util_ldap.c:1637: syntax error before ')' token
util_ldap.c:1644: `APR_LDAP_CERT_TYPE_NICKNAME' undeclared (first use in
this function)
util_ldap.c: In function `util_ldap_set_trusted_mode':
util_ldap.c:1675: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1675: `st' undeclared (first use in this function)
util_ldap.c:1676: syntax error before ')' token
util_ldap.c:1684: `APR_LDAP_NONE' undeclared (first use in this function)
util_ldap.c:1687: `APR_LDAP_SSL' undeclared (first use in this function)
util_ldap.c:1691: `APR_LDAP_STARTTLS' undeclared (first use in this
function)
util_ldap.c: In function `util_ldap_set_verify_srv_cert':
util_ldap.c:1706: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1706: `st' undeclared (first use in this function)
util_ldap.c:1707: syntax error before ')' token
util_ldap.c: In function `util_ldap_set_connection_timeout':
util_ldap.c:1729: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1729: `st' undeclared (first use in this function)
util_ldap.c:1730: syntax error before ')' token
util_ldap.c: In function `util_ldap_create_config':
util_ldap.c:1756: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1756: `st' undeclared (first use in this function)
util_ldap.c:1757: syntax error before ')' token
util_ldap.c:1774: `apr_ldap_opt_tls_cert_t' undeclared (first use in this
function)
util_ldap.c:1776: `APR_LDAP_NONE' undeclared (first use in this function)
util_ldap.c: In function `util_ldap_merge_config':
util_ldap.c:1787: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1787: `st' undeclared (first use in this function)
util_ldap.c:1788: `base' undeclared (first use in this function)
util_ldap.c:1788: syntax error before ')' token
util_ldap.c:1789: `overrides' undeclared (first use in this function)
util_ldap.c:1789: syntax error before ')' token
util_ldap.c: In function `util_ldap_cleanup_module':
util_ldap.c:1834: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1834: `st' undeclared (first use in this function)
util_ldap.c:1834: syntax error before ')' token
util_ldap.c: In function `util_ldap_post_config':
util_ldap.c:1850: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1850: `st_vhost' undeclared (first use in this function)
util_ldap.c:1852: `st' undeclared (first use in this function)
util_ldap.c:1852: syntax error before ')' token
util_ldap.c:1858: `apr_ldap_err_t' undeclared (first use in this function)
util_ldap.c:1858: `result_err' undeclared (first use in this function)
util_ldap.c:1921: syntax error before ')' token
util_ldap.c:1951: warning: comparison between pointer and integer
util_ldap.c:1952: invalid type argument of `->'
util_ldap.c:1970: `APR_LDAP_OPT_TLS_CERT' undeclared (first use in this
function)
util_ldap.c: In function `util_ldap_child_init':
util_ldap.c:1993: `util_ldap_state_t' undeclared (first use in this
function)
util_ldap.c:1993: `st' undeclared (first use in this function)
util_ldap.c: In function `util_ldap_register_hooks':
util_ldap.c:2082: `apr_OFN_uldap_connection_open_t' undeclared (first use in
this function)
util_ldap.c:2082: `apu__opt' undeclared (first use in this function)
util_ldap.c:2083: `apr_OFN_uldap_connection_close_t' undeclared (first use
in this function)
util_ldap.c:2084: `apr_OFN_uldap_connection_unbind_t' undeclared (first use
in this function)
util_ldap.c:2085: `apr_OFN_uldap_connection_cleanup_t' undeclared (first use
in this function)
util_ldap.c:2086: `apr_OFN_uldap_connection_find_t' undeclared (first use in
this function)
util_ldap.c:2087: `apr_OFN_uldap_cache_comparedn_t' undeclared (first use in
this function)
util_ldap.c:2088: `apr_OFN_uldap_cache_compare_t' undeclared (first use in
this function)
util_ldap.c:2089: `apr_OFN_uldap_cache_checkuserid_t' undeclared (first use
in this function)
util_ldap.c:2090: `apr_OFN_uldap_cache_getuserdn_t' undeclared (first use in
this function)
util_ldap.c:2091: `apr_OFN_uldap_ssl_supported_t' undeclared (first use in
this function)
Could somebody please hep me what I am doing wrong.
Thank you in advance.
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.rudedog.org/pipermail/auth_ldap/attachments/20061128/ae55e1c6/attachment.htm
More information about the Auth_ldap
mailing list