httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "karim Bendadda" <kakib...@gmail.com>
Subject Have you tried to compile mod_auth_ldap??
Date Tue, 23 Oct 2007 13:29:16 GMT
Hi everybody,

    I'm trying to make the mod_auth_ldap.c (
http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html). I
installed the openldap but I have the same error when doying the make (I
think the compilation is ok), Have you any idea???

debian:/usr/local/modauthldap_apache2# make
/usr/local/apache2/bin/apxs -c -DHAVE_SOCKET=1 -DHAVE_HTONL=1
-DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_YP_GET_DEFAULT_DOMAIN=1
-DHAVE_LIBNSL=1 -DHAVE_RES_SEARCH=1 -DHAVE_LIBRESOLV=1 -DHAVE_INET_ATON=1
-DHAVE_DN_SKIPNAME=1 -DHAVE_NSLDAP=1 -DHAVE_LDAP=1 -DHAVE_SSL=1
-I/usr/local/iplanet/include  mod_auth_ldap.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread
-I/usr/local/apache2/include  -I/usr/local/apache2/include
-I/usr/local/apache2/include  -I/usr/local/iplanet/include -DHAVE_SOCKET=1
-DHAVE_HTONL=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1
-DHAVE_YP_GET_DEFAULT_DOMAIN=1 -DHAVE_LIBNSL=1 -DHAVE_RES_SEARCH=1
-DHAVE_LIBRESOLV=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_NSLDAP=1
-DHAVE_LDAP=1 -DHAVE_SSL=1  -c -o mod_auth_ldap.lo mod_auth_ldap.c && touch
mod_auth_ldap.slo
mod_auth_ldap.c:61:24: error: apr_compat.h: No such file or directory
mod_auth_ldap.c: In function 'create_ldap_auth_dir_config':
mod_auth_ldap.c:322: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c:337: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'set_ldap_server':
mod_auth_ldap.c:364: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'set_ldap_deref':
mod_auth_ldap.c:403: warning: initialization makes pointer from integer
without a cast
mod_auth_ldap.c: In function 'set_base_dn':
mod_auth_ldap.c:445: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'set_sub_dn':
mod_auth_ldap.c:453: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'set_bind_dn':
mod_auth_ldap.c:461: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'set_bind_pass':
mod_auth_ldap.c:469: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'set_ca_cert_db_path':
mod_auth_ldap.c:491: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'set_uid_attr':
mod_auth_ldap.c:501: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'set_uid_attr_alt':
mod_auth_ldap.c:509: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'set_group_attr':
mod_auth_ldap.c:517: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'set_ldapauthoritative':
mod_auth_ldap.c:525: warning: initialization makes pointer from integer
without a cast
mod_auth_ldap.c: At top level:
mod_auth_ldap.c:558: error: expected expression before
'ldap_auth_config_rec'
mod_auth_ldap.c:558: error: initializer element is not constant
mod_auth_ldap.c:558: error: (near initialization for
'ldap_auth_cmds[0].cmd_data')
mod_auth_ldap.c:631: error: expected expression before
'ldap_auth_config_rec'
mod_auth_ldap.c:631: error: initializer element is not constant
mod_auth_ldap.c:631: error: (near initialization for
'ldap_auth_cmds[14].cmd_data')
mod_auth_ldap.c:635: error: expected expression before
'ldap_auth_config_rec'
mod_auth_ldap.c:635: error: initializer element is not constant
mod_auth_ldap.c:635: error: (near initialization for
'ldap_auth_cmds[15].cmd_data')
mod_auth_ldap.c:652: error: expected expression before
'ldap_auth_config_rec'
mod_auth_ldap.c:652: error: initializer element is not constant
mod_auth_ldap.c:652: error: (near initialization for
'ldap_auth_cmds[17].cmd_data')
mod_auth_ldap.c:656: error: expected expression before
'ldap_auth_config_rec'
mod_auth_ldap.c:656: error: initializer element is not constant
mod_auth_ldap.c:656: error: (near initialization for
'ldap_auth_cmds[18].cmd_data')
mod_auth_ldap.c: In function 'check_user_authentication':
mod_auth_ldap.c:1348: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c: In function 'check_user_authorization':
mod_auth_ldap.c:1751: error: 'ap_array_header_t' undeclared (first use in
this function)
mod_auth_ldap.c:1751: error: (Each undeclared identifier is reported only
once
mod_auth_ldap.c:1751: error: for each function it appears in.)
mod_auth_ldap.c:1751: error: expected expression before ')' token
mod_auth_ldap.c:1751: error: invalid operands to binary *
mod_auth_ldap.c:1751: error: called object '<erroneous-expression>' is not a
function
mod_auth_ldap.c:1751: warning: assignment from incompatible pointer type
mod_auth_ldap.c:1927: warning: assignment makes pointer from integer without
a cast
mod_auth_ldap.c:2035: warning: assignment makes pointer from integer without
a cast
apxs:Error: Command failed with rc=65536


Thank you for help.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message