You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/05/03 10:05:07 UTC

DO NOT REPLY [Bug 8766] New: - Error compiling ldap modules

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8766>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8766

Error compiling ldap modules

           Summary: Error compiling ldap modules
           Product: Apache httpd-2.0
           Version: 2.0.35
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: fabrizio.invernizzi@tilab.com


I tried to install ldap modules (ldap & auth_ldap) on a FreeBSD (4.5-RELEASE).
After installing openldap-2.0.23 and download (with cvsup) httpd-ldap modules, 
i use apache buildconf script to create configure.
So:

./configure --enable-ssl --enable-so --enable-auth-ldap --enable-ldap 

All seems fine but the make comand gives these errors:

od_auth_ldap.c:84: syntax error before `apr_thread_mutex_t'
mod_auth_ldap.c:98: syntax error before `deref_options'
mod_auth_ldap.c: In function `mod_auth_ldap_check_user_id':
mod_auth_ldap.c:213: `util_ldap_connection_t' undeclared (first use in this 
function)
mod_auth_ldap.c:213: (Each undeclared identifier is reported only once
mod_auth_ldap.c:213: for each function it appears in.)
mod_auth_ldap.c:213: `ldc' undeclared (first use in this function)
mod_auth_ldap.c:214: syntax error before `const'
mod_auth_ldap.c:220: `req' undeclared (first use in this function)
mod_auth_ldap.c:236: structure has no member named `deref'
mod_auth_ldap.c:249: `result' undeclared (first use in this function)
mod_auth_ldap.c:249: `sent_pw' undeclared (first use in this function)
mod_auth_ldap.c:262: `dn' undeclared (first use in this function)
mod_auth_ldap.c:265: `LDAP_SUCCESS' undeclared (first use in this function)
mod_auth_ldap.c:270: `LDAP_INVALID_CREDENTIALS' undeclared (first use in this 
function)
mod_auth_ldap.c: In function `mod_auth_ldap_auth_checker':
mod_auth_ldap.c:337: `util_ldap_connection_t' undeclared (first use in this 
function)
mod_auth_ldap.c:337: `ldc' undeclared (first use in this function)
mod_auth_ldap.c:338: syntax error before `int'
mod_auth_ldap.c:358: structure has no member named `deref'
mod_auth_ldap.c:373: structure has no member named `lock'
mod_auth_ldap.c:378: structure has no member named `lock'
mod_auth_ldap.c:381: `reqs_arr' undeclared (first use in this function)
mod_auth_ldap.c:389: `x' undeclared (first use in this function)
mod_auth_ldap.c:390: `reqs' undeclared (first use in this function)
mod_auth_ldap.c:390: `m' undeclared (first use in this function)
mod_auth_ldap.c:393: `method_restricted' undeclared (first use in this function)
mod_auth_ldap.c:395: `t' undeclared (first use in this function)
mod_auth_ldap.c:396: `w' undeclared (first use in this function)
mod_auth_ldap.c:437: `LDAP_COMPARE_TRUE' undeclared (first use in this function)
mod_auth_ldap.c:438: warning: unreachable code at beginning of switch statement
mod_auth_ldap.c:458: warning: unreachable code at beginning of switch statement
mod_auth_ldap.c:484: warning: unreachable code at beginning of switch statement
mod_auth_ldap.c:530: warning: unreachable code at beginning of switch statement
mod_auth_ldap.c: In function `mod_auth_ldap_create_dir_config':
mod_auth_ldap.c:578: structure has no member named `lock'
mod_auth_ldap.c:578: `APR_THREAD_MUTEX_DEFAULT' undeclared (first use in this 
function)
mod_auth_ldap.c:589: structure has no member named `deref'
mod_auth_ldap.c:589: `always' undeclared (first use in this function)
mod_auth_ldap.c: In function `mod_auth_ldap_parse_url':
mod_auth_ldap.c:611: `LDAPURLDesc' undeclared (first use in this function)
mod_auth_ldap.c:611: `urld' undeclared (first use in this function)
mod_auth_ldap.c:613: syntax error before `*'
mod_auth_ldap.c:620: `LDAP_SUCCESS' undeclared (first use in this function)
mod_auth_ldap.c:622: `LDAP_URL_ERR_NOTLDAP' undeclared (first use in this 
function)
mod_auth_ldap.c:624: `LDAP_URL_ERR_NODN' undeclared (first use in this function)
mod_auth_ldap.c:626: `LDAP_URL_ERR_BADSCOPE' undeclared (first use in this 
function)
mod_auth_ldap.c:628: `LDAP_URL_ERR_MEM' undeclared (first use in this function)
mod_auth_ldap.c:623: warning: unreachable code at beginning of switch statement
mod_auth_ldap.c:634: `sec' undeclared (first use in this function)
mod_auth_ldap.c:646: `LDAP_SCOPE_SUBTREE' undeclared (first use in this 
function)
mod_auth_ldap.c:647: `LDAP_SCOPE_BASE' undeclared (first use in this function)
mod_auth_ldap.c:648: `LDAP_SCOPE_ONELEVEL' undeclared (first use in this 
function)
mod_auth_ldap.c:720: `LDAP_PORT' undeclared (first use in this function)
mod_auth_ldap.c: In function `mod_auth_ldap_set_deref':
mod_auth_ldap.c:733: structure has no member named `deref'
mod_auth_ldap.c:733: `never' undeclared (first use in this function)
mod_auth_ldap.c:736: structure has no member named `deref'
mod_auth_ldap.c:736: `searching' undeclared (first use in this function)
mod_auth_ldap.c:739: structure has no member named `deref'
mod_auth_ldap.c:739: `finding' undeclared (first use in this function)
mod_auth_ldap.c:742: structure has no member named `deref'
mod_auth_ldap.c:742: `always' undeclared (first use in this function)
*** Error code 1

Stop in /usr/local/fabrizio/httpd-2.0.35/modules/httpd-ldap/ldap-aaa.
*** Error code 1

Stop in /usr/local/fabrizio/httpd-2.0.35/modules/httpd-ldap/ldap-aaa.
*** Error code 1

Stop in /usr/local/fabrizio/httpd-2.0.35/modules.
*** Error code 1

Stop in /usr/local/fabrizio/httpd-2.0.35.

Is this an apache bug?

++fabrizio

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org