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.