httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50465] New: mod_authnz_ldap.c does not compile
Date Mon, 13 Dec 2010 11:22:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50465

           Summary: mod_authnz_ldap.c does not compile
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: mod_authz_ldap
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: alcol@hotmail.com


Conf line:
./configure --enable-deflate --enable-mime-magic --enable-expires
--enable-usertrack --enable-unique-id --enable-ssl --with-ssl=/usr/local/ssl
--enable-http --enable-mod-info --enable-info --enable-cgi --enable-cgid
--enable-spelling --enable-module=all --with-ldap --enable-ldap
--enable-auth-ldap --enable-authnz-ldap
--with-ldap-include=/home/colosi/dev/ldap/novell-cldap-devel-2006.02.20-1linux/include/
--with-ldap-lib=/home/colosi/dev/ldap/novell-cldap-devel-2006.02.20-1linux/lib/
--enable-substitute --enable-rewrite --disable-userdir --enable-log-forensic

LDAP Library: novell-cldap-devel-2006.02.20-1linux



/usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread   
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   
-I/home/colosi/dev/apache/httpd-2.2.17/srclib/pcre -I.
-I/home/colosi/dev/apache/httpd-2.2.17/os/unix
-I/home/colosi/dev/apache/httpd-2.2.17/server/mpm/prefork
-I/home/colosi/dev/apache/httpd-2.2.17/modules/http
-I/home/colosi/dev/apache/httpd-2.2.17/modules/filters
-I/home/colosi/dev/apache/httpd-2.2.17/modules/proxy
-I/home/colosi/dev/apache/httpd-2.2.17/include
-I/home/colosi/dev/apache/httpd-2.2.17/modules/generators
-I/home/colosi/dev/apache/httpd-2.2.17/modules/mappers
-I/home/colosi/dev/apache/httpd-2.2.17/modules/database
-I/usr/local/apr/include/apr-1 -I/usr/local/include
-I/home/colosi/dev/apache/httpd-2.2.17/server
-I/home/colosi/dev/apache/httpd-2.2.17/modules/proxy/../generators
-I/usr/local/ssl/include -I/home/colosi/dev/apache/httpd-2.2.17/modules/ssl
-I/home/colosi/dev/apache/httpd-2.2.17/modules/dav/main  -prefer-non-pic
-static -c mod_authn_default.c && touch mod_authn_default.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -g -O2 -pthread  
-static  -L/usr/local/lib -L/usr/local/ssl/lib   -o libmod_authn_default.la
mod_authn_default.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread   
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   
-I/home/colosi/dev/apache/httpd-2.2.17/srclib/pcre -I.
-I/home/colosi/dev/apache/httpd-2.2.17/os/unix
-I/home/colosi/dev/apache/httpd-2.2.17/server/mpm/prefork
-I/home/colosi/dev/apache/httpd-2.2.17/modules/http
-I/home/colosi/dev/apache/httpd-2.2.17/modules/filters
-I/home/colosi/dev/apache/httpd-2.2.17/modules/proxy
-I/home/colosi/dev/apache/httpd-2.2.17/include
-I/home/colosi/dev/apache/httpd-2.2.17/modules/generators
-I/home/colosi/dev/apache/httpd-2.2.17/modules/mappers
-I/home/colosi/dev/apache/httpd-2.2.17/modules/database
-I/usr/local/apr/include/apr-1 -I/usr/local/include
-I/home/colosi/dev/apache/httpd-2.2.17/server
-I/home/colosi/dev/apache/httpd-2.2.17/modules/proxy/../generators
-I/usr/local/ssl/include -I/home/colosi/dev/apache/httpd-2.2.17/modules/ssl
-I/home/colosi/dev/apache/httpd-2.2.17/modules/dav/main  -prefer-non-pic
-static -c mod_authz_host.c && touch mod_authz_host.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -g -O2 -pthread  
-static  -L/usr/local/lib -L/usr/local/ssl/lib   -o libmod_authz_host.la
mod_authz_host.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread   
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   
-I/home/colosi/dev/apache/httpd-2.2.17/srclib/pcre -I.
-I/home/colosi/dev/apache/httpd-2.2.17/os/unix
-I/home/colosi/dev/apache/httpd-2.2.17/server/mpm/prefork
-I/home/colosi/dev/apache/httpd-2.2.17/modules/http
-I/home/colosi/dev/apache/httpd-2.2.17/modules/filters
-I/home/colosi/dev/apache/httpd-2.2.17/modules/proxy
-I/home/colosi/dev/apache/httpd-2.2.17/include
-I/home/colosi/dev/apache/httpd-2.2.17/modules/generators
-I/home/colosi/dev/apache/httpd-2.2.17/modules/mappers
-I/home/colosi/dev/apache/httpd-2.2.17/modules/database
-I/usr/local/apr/include/apr-1 -I/usr/local/include
-I/home/colosi/dev/apache/httpd-2.2.17/server
-I/home/colosi/dev/apache/httpd-2.2.17/modules/proxy/../generators
-I/usr/local/ssl/include -I/home/colosi/dev/apache/httpd-2.2.17/modules/ssl
-I/home/colosi/dev/apache/httpd-2.2.17/modules/dav/main  -prefer-non-pic
-static -c mod_authz_groupfile.c && touch mod_authz_groupfile.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -g -O2 -pthread  
-static  -L/usr/local/lib -L/usr/local/ssl/lib   -o libmod_authz_groupfile.la
mod_authz_groupfile.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread   
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   
-I/home/colosi/dev/apache/httpd-2.2.17/srclib/pcre -I.
-I/home/colosi/dev/apache/httpd-2.2.17/os/unix
-I/home/colosi/dev/apache/httpd-2.2.17/server/mpm/prefork
-I/home/colosi/dev/apache/httpd-2.2.17/modules/http
-I/home/colosi/dev/apache/httpd-2.2.17/modules/filters
-I/home/colosi/dev/apache/httpd-2.2.17/modules/proxy
-I/home/colosi/dev/apache/httpd-2.2.17/include
-I/home/colosi/dev/apache/httpd-2.2.17/modules/generators
-I/home/colosi/dev/apache/httpd-2.2.17/modules/mappers
-I/home/colosi/dev/apache/httpd-2.2.17/modules/database
-I/usr/local/apr/include/apr-1 -I/usr/local/include
-I/home/colosi/dev/apache/httpd-2.2.17/server
-I/home/colosi/dev/apache/httpd-2.2.17/modules/proxy/../generators
-I/usr/local/ssl/include -I/home/colosi/dev/apache/httpd-2.2.17/modules/ssl
-I/home/colosi/dev/apache/httpd-2.2.17/modules/dav/main  -prefer-non-pic
-static -c mod_authz_user.c && touch mod_authz_user.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -g -O2 -pthread  
-static  -L/usr/local/lib -L/usr/local/ssl/lib   -o libmod_authz_user.la
mod_authz_user.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread   
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   
-I/home/colosi/dev/apache/httpd-2.2.17/srclib/pcre -I.
-I/home/colosi/dev/apache/httpd-2.2.17/os/unix
-I/home/colosi/dev/apache/httpd-2.2.17/server/mpm/prefork
-I/home/colosi/dev/apache/httpd-2.2.17/modules/http
-I/home/colosi/dev/apache/httpd-2.2.17/modules/filters
-I/home/colosi/dev/apache/httpd-2.2.17/modules/proxy
-I/home/colosi/dev/apache/httpd-2.2.17/include
-I/home/colosi/dev/apache/httpd-2.2.17/modules/generators
-I/home/colosi/dev/apache/httpd-2.2.17/modules/mappers
-I/home/colosi/dev/apache/httpd-2.2.17/modules/database
-I/usr/local/apr/include/apr-1 -I/usr/local/include
-I/home/colosi/dev/apache/httpd-2.2.17/server
-I/home/colosi/dev/apache/httpd-2.2.17/modules/proxy/../generators
-I/usr/local/ssl/include -I/home/colosi/dev/apache/httpd-2.2.17/modules/ssl
-I/home/colosi/dev/apache/httpd-2.2.17/modules/dav/main  -prefer-non-pic
-static -c mod_authnz_ldap.c && touch mod_authnz_ldap.lo
mod_authnz_ldap.c:41:2: #error mod_authnz_ldap requires APR-util to have LDAP
support built in. To fix add --with-ldap to ./configure.
mod_authnz_ldap.c:63: parse error before "deref_options"
mod_authnz_ldap.c:63: warning: no semicolon at end of struct or union
mod_authnz_ldap.c:79: parse error before '}' token
mod_authnz_ldap.c:79: warning: data definition has no type or storage class
mod_authnz_ldap.c:95: parse error before '*' token
mod_authnz_ldap.c:95: warning: data definition has no type or storage class
mod_authnz_ldap.c:96: parse error before '*' token
mod_authnz_ldap.c:96: warning: data definition has no type or storage class
mod_authnz_ldap.c:97: parse error before '*' token
mod_authnz_ldap.c:97: warning: data definition has no type or storage class
mod_authnz_ldap.c:98: parse error before '*' token
mod_authnz_ldap.c:98: warning: data definition has no type or storage class
mod_authnz_ldap.c:99: parse error before '*' token
mod_authnz_ldap.c:99: warning: data definition has no type or storage class
mod_authnz_ldap.c:100: parse error before '*' token
mod_authnz_ldap.c:100: warning: data definition has no type or storage class
mod_authnz_ldap.c:101: parse error before '*' token
mod_authnz_ldap.c:101: warning: data definition has no type or storage class
mod_authnz_ldap.c:203: parse error before "authn_ldap_config_t"
mod_authnz_ldap.c: In function `authn_ldap_build_filter':
mod_authnz_ldap.c:212: `sent_user' undeclared (first use in this function)
mod_authnz_ldap.c:212: (Each undeclared identifier is reported only once
mod_authnz_ldap.c:212: for each function it appears in.)
mod_authnz_ldap.c:213: `r' undeclared (first use in this function)
mod_authnz_ldap.c:218: `sent_filter' undeclared (first use in this function)
mod_authnz_ldap.c:222: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:243: `filtbuf' undeclared (first use in this function)
mod_authnz_ldap.c: In function `create_authnz_ldap_dir_config':
mod_authnz_ldap.c:303: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:304: parse error before ')' token
mod_authnz_ldap.c:322: `always' undeclared (first use in this function)
mod_authnz_ldap.c: In function `authnz_ldap_cleanup_connection_close':
mod_authnz_ldap.c:341: `util_ldap_connection_t' undeclared (first use in this
function)
mod_authnz_ldap.c:341: `ldc' undeclared (first use in this function)
mod_authnz_ldap.c:342: called object is not a function
mod_authnz_ldap.c: In function `authn_ldap_check_password':
mod_authnz_ldap.c:363: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:364: parse error before ')' token
mod_authnz_ldap.c:366: `util_ldap_connection_t' undeclared (first use in this
function)
mod_authnz_ldap.c:366: `ldc' undeclared (first use in this function)
mod_authnz_ldap.c:395: called object is not a function
mod_authnz_ldap.c:410: called object is not a function
mod_authnz_ldap.c:417: called object is not a function
mod_authnz_ldap.c:430: called object is not a function
mod_authnz_ldap.c:431: called object is not a function
mod_authnz_ldap.c:434: `LDAP_SERVER_DOWN' undeclared (first use in this
function)
mod_authnz_ldap.c:441: `LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:455: `LDAP_NO_SUCH_OBJECT' undeclared (first use in this
function)
mod_authnz_ldap.c:459: `LDAP_INAPPROPRIATE_AUTH' undeclared (first use in this
function)
mod_authnz_ldap.c:460: `LDAP_INVALID_CREDENTIALS' undeclared (first use in this
function)
mod_authnz_ldap.c: In function `authz_ldap_check_user_access':
mod_authnz_ldap.c:539: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:540: parse error before ')' token
mod_authnz_ldap.c:542: `util_ldap_connection_t' undeclared (first use in this
function)
mod_authnz_ldap.c:542: `ldc' undeclared (first use in this function)
mod_authnz_ldap.c:594: called object is not a function
mod_authnz_ldap.c:645: called object is not a function
mod_authnz_ldap.c:648: `LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:684: called object is not a function
mod_authnz_ldap.c:686: `LDAP_COMPARE_TRUE' undeclared (first use in this
function)
mod_authnz_ldap.c:704: called object is not a function
mod_authnz_ldap.c:730: called object is not a function
mod_authnz_ldap.c:779: called object is not a function
mod_authnz_ldap.c:813: called object is not a function
mod_authnz_ldap.c:850: called object is not a function
mod_authnz_ldap.c:858: called object is not a function
mod_authnz_ldap.c:869: `LDAP_FILTER_ERROR' undeclared (first use in this
function)
mod_authnz_ldap.c: In function `mod_auth_ldap_parse_url':
mod_authnz_ldap.c:920: `apr_ldap_url_desc_t' undeclared (first use in this
function)
mod_authnz_ldap.c:920: `urld' undeclared (first use in this function)
mod_authnz_ldap.c:921: `apr_ldap_err_t' undeclared (first use in this function)
mod_authnz_ldap.c:921: `result' undeclared (first use in this function)
mod_authnz_ldap.c:923: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:960: `LDAP_SCOPE_ONELEVEL' undeclared (first use in this
function)
mod_authnz_ldap.c:961: `LDAP_SCOPE_SUBTREE' undeclared (first use in this
function)
mod_authnz_ldap.c:982: `APR_LDAP_NONE' undeclared (first use in this function)
mod_authnz_ldap.c:985: `APR_LDAP_SSL' undeclared (first use in this function)
mod_authnz_ldap.c:988: `APR_LDAP_STARTTLS' undeclared (first use in this
function)
mod_authnz_ldap.c:1001: `LDAPS_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:1005: `LDAP_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:1019: `LDAP_SCOPE_BASE' undeclared (first use in this
function)
mod_authnz_ldap.c: In function `mod_auth_ldap_set_deref':
mod_authnz_ldap.c:1030: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:1033: `never' undeclared (first use in this function)
mod_authnz_ldap.c:1036: `searching' undeclared (first use in this function)
mod_authnz_ldap.c:1039: `finding' undeclared (first use in this function)
mod_authnz_ldap.c:1042: `always' undeclared (first use in this function)
mod_authnz_ldap.c: In function `mod_auth_ldap_add_group_attribute':
mod_authnz_ldap.c:1054: `sec' undeclared (first use in this function)
mod_authnz_ldap.c: At top level:
mod_authnz_ldap.c:1100: parse error before ')' token
mod_authnz_ldap.c:1100: initializer element is not constant
mod_authnz_ldap.c:1100: (near initialization for
`authnz_ldap_cmds[1].cmd_data')
mod_authnz_ldap.c:1100: initializer element is not constant
mod_authnz_ldap.c:1100: (near initialization for `authnz_ldap_cmds[1]')
mod_authnz_ldap.c:1104: initializer element is not constant
mod_authnz_ldap.c:1104: (near initialization for `authnz_ldap_cmds[2].func')
mod_authnz_ldap.c:1104: parse error before ')' token
mod_authnz_ldap.c:1104: initializer element is not constant
mod_authnz_ldap.c:1104: (near initialization for
`authnz_ldap_cmds[2].cmd_data')
mod_authnz_ldap.c:1104: initializer element is not constant
mod_authnz_ldap.c:1104: (near initialization for `authnz_ldap_cmds[2]')
mod_authnz_ldap.c:1108: initializer element is not constant
mod_authnz_ldap.c:1108: (near initialization for `authnz_ldap_cmds[3].func')
mod_authnz_ldap.c:1108: parse error before ')' token
mod_authnz_ldap.c:1108: initializer element is not constant
mod_authnz_ldap.c:1108: (near initialization for
`authnz_ldap_cmds[3].cmd_data')
mod_authnz_ldap.c:1108: initializer element is not constant
mod_authnz_ldap.c:1108: (near initialization for `authnz_ldap_cmds[3]')
mod_authnz_ldap.c:1114: initializer element is not constant
mod_authnz_ldap.c:1114: (near initialization for `authnz_ldap_cmds[4].func')
mod_authnz_ldap.c:1114: parse error before ')' token
mod_authnz_ldap.c:1114: initializer element is not constant
mod_authnz_ldap.c:1114: (near initialization for
`authnz_ldap_cmds[4].cmd_data')
mod_authnz_ldap.c:1114: initializer element is not constant
mod_authnz_ldap.c:1114: (near initialization for `authnz_ldap_cmds[4]')
mod_authnz_ldap.c:1121: initializer element is not constant
mod_authnz_ldap.c:1121: (near initialization for `authnz_ldap_cmds[5].func')
mod_authnz_ldap.c:1121: parse error before ')' token
mod_authnz_ldap.c:1121: initializer element is not constant
mod_authnz_ldap.c:1121: (near initialization for
`authnz_ldap_cmds[5].cmd_data')
mod_authnz_ldap.c:1121: initializer element is not constant
mod_authnz_ldap.c:1121: (near initialization for `authnz_ldap_cmds[5]')
mod_authnz_ldap.c:1126: initializer element is not constant
mod_authnz_ldap.c:1126: (near initialization for `authnz_ldap_cmds[6].func')
mod_authnz_ldap.c:1126: parse error before ')' token
mod_authnz_ldap.c:1126: initializer element is not constant
mod_authnz_ldap.c:1126: (near initialization for
`authnz_ldap_cmds[6].cmd_data')
mod_authnz_ldap.c:1126: initializer element is not constant
mod_authnz_ldap.c:1126: (near initialization for `authnz_ldap_cmds[6]')
mod_authnz_ldap.c:1133: initializer element is not constant
mod_authnz_ldap.c:1133: (near initialization for `authnz_ldap_cmds[7].func')
mod_authnz_ldap.c:1133: parse error before ')' token
mod_authnz_ldap.c:1133: initializer element is not constant
mod_authnz_ldap.c:1133: (near initialization for
`authnz_ldap_cmds[7].cmd_data')
mod_authnz_ldap.c:1133: initializer element is not constant
mod_authnz_ldap.c:1133: (near initialization for `authnz_ldap_cmds[7]')
mod_authnz_ldap.c:1137: initializer element is not constant
mod_authnz_ldap.c:1137: (near initialization for `authnz_ldap_cmds[8].func')
mod_authnz_ldap.c:1137: initializer element is not constant
mod_authnz_ldap.c:1137: (near initialization for `authnz_ldap_cmds[8]')
mod_authnz_ldap.c:1143: initializer element is not constant
mod_authnz_ldap.c:1143: (near initialization for `authnz_ldap_cmds[9].func')
mod_authnz_ldap.c:1143: parse error before ')' token
mod_authnz_ldap.c:1143: initializer element is not constant
mod_authnz_ldap.c:1143: (near initialization for
`authnz_ldap_cmds[9].cmd_data')
mod_authnz_ldap.c:1143: initializer element is not constant
mod_authnz_ldap.c:1143: (near initialization for `authnz_ldap_cmds[9]')
mod_authnz_ldap.c:1148: initializer element is not constant
mod_authnz_ldap.c:1148: (near initialization for `authnz_ldap_cmds[10].func')
mod_authnz_ldap.c:1148: initializer element is not constant
mod_authnz_ldap.c:1148: (near initialization for `authnz_ldap_cmds[10]')
mod_authnz_ldap.c:1158: initializer element is not constant
mod_authnz_ldap.c:1158: (near initialization for `authnz_ldap_cmds[11].func')
mod_authnz_ldap.c:1158: initializer element is not constant
mod_authnz_ldap.c:1158: (near initialization for `authnz_ldap_cmds[11]')
mod_authnz_ldap.c:1160: initializer element is not constant
mod_authnz_ldap.c:1160: (near initialization for `authnz_ldap_cmds[12]')
mod_authnz_ldap.c: In function `ImportULDAPOptFn':
mod_authnz_ldap.c:1253: `apr_OFN_uldap_connection_close_t' undeclared (first
use in this function)
mod_authnz_ldap.c:1253: parse error before ')' token
mod_authnz_ldap.c:1254: `apr_OFN_uldap_connection_find_t' undeclared (first use
in this function)
mod_authnz_ldap.c:1254: parse error before ')' token
mod_authnz_ldap.c:1255: `apr_OFN_uldap_cache_comparedn_t' undeclared (first use
in this function)
mod_authnz_ldap.c:1255: parse error before ')' token
mod_authnz_ldap.c:1256: `apr_OFN_uldap_cache_compare_t' undeclared (first use
in this function)
mod_authnz_ldap.c:1256: parse error before ')' token
mod_authnz_ldap.c:1257: `apr_OFN_uldap_cache_checkuserid_t' undeclared (first
use in this function)
mod_authnz_ldap.c:1257: parse error before ')' token
mod_authnz_ldap.c:1258: `apr_OFN_uldap_cache_getuserdn_t' undeclared (first use
in this function)
mod_authnz_ldap.c:1258: parse error before ')' token
mod_authnz_ldap.c:1259: `apr_OFN_uldap_ssl_supported_t' undeclared (first use
in this function)
mod_authnz_ldap.c:1259: parse error before ')' token
make[3]: *** [mod_authnz_ldap.lo] Error 1
make[3]: Leaving directory `/home/colosi/dev/apache/httpd-2.2.17/modules/aaa'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/colosi/dev/apache/httpd-2.2.17/modules/aaa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/colosi/dev/apache/httpd-2.2.17/modules'
make: *** [all-recursive] Error 1

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message