[Date Prev][Date Next]
Re: OpenLDAP 2.2.24 on AIX 5.3
Gehring, Andrew x66132 wrote:
servers/slapd/acl.cacl_get() appears to conflict with a function defined
in some system headers. Since it's only used inside you may work your
problem around by renaming it to, say, slapd_acl_get(). I suggest you
file an ITS, so that this renaming gets into the distribution.
I'm trying to compile OpenLDAP on AIX 5.3 using IBM's VisualAge.
./configure --enable-aci --enable-bdb --enable-bdb --enable-ldap
I'm getting the following error:
cc_r -g -I../../include -I./slapi -I../../include
-I/usr/local/BerkeleyDB/include -I/usr/local/ssl/include -c acl.c
"acl.c", line 79.22: 1506-343 (S) Redeclaration of acl_get differs from
previous declaration on line 86 of "/usr/include/sys/access.h".
"acl.c", line 79.22: 1506-050 (I) Return type "struct slap_acl*" in
redeclaration is not compatible with the previous return type "char*".
"acl.c", line 79.22: 1506-376 (I) Redeclaration of acl_get has a different
number of fixed parameters than the previous declaration.
"acl.c", line 79.22: 1506-377 (I) The type "struct slap_acl*" of parameter 1
differs from the previous type "char*".
I "see" whats wrong, but have no clue how to fix it.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497