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

Error in Make



Hi,
I am trying to build OpenLdap-2.04. I am getting following error in Make.
Any help is appreciated.
---------------------------------------------------------------------
  Entering subdirectory libldap
make[2]: Entering directory `/usr/ldap/openldap-2.0.4/libraries/libldap'
/bin/sh /usr/ldap/openldap-2.0.4/libtool   --mode=compile cc -g -O2 
-I../../include        -I../../include      -c os-ip.c
rm -f .libs/os-ip.lo
cc -g -O2 -I../../include -I../../include -c  -fPIC -DPIC os-ip.c -o 
.libs/os-ip.lo
os-ip.c: In function `ldap_connect_to_host':
os-ip.c:325: `INET6_ADDRSTRLEN' undeclared (first use this function)
os-ip.c:325: (Each undeclared identifier is reported only once
os-ip.c:325: for each function it appears in.)
os-ip.c:327: dereferencing pointer to incomplete type
os-ip.c:334: `INET_ADDRSTRLEN' undeclared (first use this function)
make[2]: *** [os-ip.lo] Error 1
make[2]: Leaving directory `/usr/ldap/openldap-2.0.4/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/usr/ldap/openldap-2.0.4/libraries'
make: *** [all-common] Error 1
-------------------------------------------------------------------
 
Thanks in advance, 
Anandi 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anandi Dattatraya Herlekar
MTech Student
CSE Dept, IITB , Powai, Mumbai, India
Hostel No 11, Room No 55
Mail : anandi@cse.iitb.ernet.in
Home : http://www.cse.iitb.ernet.in/~anandi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~