[Date Prev][Date Next] [Chronological] [Thread] [Top]

help:the libldap of openldap2.2.20 make failed in HP11.0

"./configure --prefix=/export/home/pldap/pldap_run --sysconfdir=/export/home/pldap/pldap_run/config --enable-proxycache --enable-ldap --enable-syslog ..." and make depend  pass.but make failed.
I have noticed http://www.openldap.org/its/index.cgi/Build?id=2763
You said that you have updated the code,but I find it didn't work.
And I can't find libbind* and libresolv* in HP11.0
config info:
checking for res_query... yes
checking for getaddrinfo... no
checking for getnameinfo... no
error info:
cc -g -I/export/home/pldap/pldap_run/include -I../../include -I../../include -g -I/export/home/pldap/pldap_run/
include -DLDAP_LIBRARY -c os-local.c  +Z -DPIC -o .libs/os-local.lo
cc: "os-local.c", line 143: warning 604: Pointers are not assignment-compatible.
cc: "os-local.c", line 143: warning 563: Argument #3 is not the correct type.
cc -g -I/export/home/pldap/pldap_run/include -I../../include -I../../include -g -I/export/home/pldap/pldap_run/
include -DLDAP_LIBRARY -c os-local.c -o os-local.o >/dev/null 2>&1
mv -f .libs/os-local.lo os-local.lo
/bin/sh /export/home/pldap/src/libtool  --mode=compile cc -g -I/export/home/pldap/pldap_run/include -I../../inc
lude        -I../../include   -g -I/export/home/pldap/pldap_run/include   -DLDAP_LIBRARY -c dnssrv.c
rm -f .libs/dnssrv.lo
cc -g -I/export/home/pldap/pldap_run/include -I../../include -I../../include -g -I/export/home/pldap/pldap_run/
include -DLDAP_LIBRARY -c dnssrv.c  +Z -DPIC -o .libs/dnssrv.lo
cc: "dnssrv.c", line 222: error 1588: "C_IN" undefined.
cc: "dnssrv.c", line 242: error 1588: "HEADER" undefined.
cc: "dnssrv.c", line 242: error 1594: The sizeof operator cannot be applied to types with unknown size.
make[2]: *** [dnssrv.lo] Error 1
make[2]: Leaving directory `/export/home/pldap/src/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/export/home/pldap/src/libraries'
make: *** [all-common] Error 1