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

Solaris 10 Install error during Make



Hi,

Am attempting to install OpenLDAP version 2.4.9 on Solaris 10 (kernel Generic_127111-05) with gcc 3.4.6.  The configure and the make depend both seem to work well.  The make crashes during the make of the libldap (everything beforehand seems fine):

  Entering subdirectory libldap
make[2]: Entering directory `/home/openldap-2.4.9/libraries/libldap'
rm -f version.c
../../build/mkversion -v "2.4.9" libldap.la > version.c
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c bind.c
mkdir .libs
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c bind.c  -fPIC -DPIC -o .libs/bind.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c bind.c -o bind.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c open.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c open.c  -fPIC -DPIC -o .libs/open.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c open.c -o open.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c result.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c result.c  -fPIC -DPIC -o .libs/result.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c result.c -o result.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c error.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c error.c  -fPIC -DPIC -o .libs/error.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c error.c -o error.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c compare.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c compare.c  -fPIC -DPIC -o .libs/compare.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c compare.c -o compare.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c search.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c search.c  -fPIC -DPIC -o .libs/search.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c search.c -o search.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c controls.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c controls.c  -fPIC -DPIC -o .libs/controls.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c controls.c -o controls.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c messages.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c messages.c  -fPIC -DPIC -o .libs/messages.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c messages.c -o messages.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c references.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c references.c  -fPIC -DPIC -o .libs/references.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c references.c -o references.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c extended.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c extended.c  -fPIC -DPIC -o .libs/extended.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c extended.c -o extended.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c cyrus.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c cyrus.c  -fPIC -DPIC -o .libs/cyrus.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c cyrus.c -o cyrus.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c modify.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c modify.c  -fPIC -DPIC -o .libs/modify.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c modify.c -o modify.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c add.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c add.c  -fPIC -DPIC -o .libs/add.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c add.c -o add.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c modrdn.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c modrdn.c  -fPIC -DPIC -o .libs/modrdn.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c modrdn.c -o modrdn.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c delete.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c delete.c  -fPIC -DPIC -o .libs/delete.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c delete.c -o delete.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c abandon.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c abandon.c  -fPIC -DPIC -o .libs/abandon.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c abandon.c -o abandon.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c sasl.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c sasl.c  -fPIC -DPIC -o .libs/sasl.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c sasl.c -o sasl.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c sbind.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c sbind.c  -fPIC -DPIC -o .libs/sbind.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c sbind.c -o sbind.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c unbind.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c unbind.c  -fPIC -DPIC -o .libs/unbind.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c unbind.c -o unbind.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c cancel.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c cancel.c  -fPIC -DPIC -o .libs/cancel.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c cancel.c -o cancel.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c filter.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c filter.c  -fPIC -DPIC -o .libs/filter.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c filter.c -o filter.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c free.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c free.c  -fPIC -DPIC -o .libs/free.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c free.c -o free.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c sort.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c sort.c  -fPIC -DPIC -o .libs/sort.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c sort.c -o sort.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c passwd.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c passwd.c  -fPIC -DPIC -o .libs/passwd.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c passwd.c -o passwd.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c whoami.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c whoami.c  -fPIC -DPIC -o .libs/whoami.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c whoami.c -o whoami.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c getdn.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c getdn.c  -fPIC -DPIC -o .libs/getdn.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c getdn.c -o getdn.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c getentry.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c getentry.c  -fPIC -DPIC -o .libs/getentry.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c getentry.c -o getentry.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c getattr.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c getattr.c  -fPIC -DPIC -o .libs/getattr.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c getattr.c -o getattr.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c getvalues.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c getvalues.c  -fPIC -DPIC -o .libs/getvalues.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c getvalues.c -o getvalues.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c addentry.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c addentry.c  -fPIC -DPIC -o .libs/addentry.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c addentry.c -o addentry.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c request.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c request.c  -fPIC -DPIC -o .libs/request.o
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c request.c -o request.o >/dev/null 2>&1
/bin/sh ../..//libtool  --mode=compile gcc -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c os-ip.c
 gcc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c os-ip.c  -fPIC -DPIC -o .libs/os-ip.o
os-ip.c: In function `ldap_pvt_is_socket_ready':
os-ip.c:197: error: storage size of 'sin' isn't known
os-ip.c: In function `ldap_pvt_inet_aton':
os-ip.c:417: error: dereferencing pointer to incomplete type
os-ip.c: In function `ldap_connect_to_host':
os-ip.c:436: error: storage size of 'hints' isn't known
os-ip.c:449: error: `SOCK_STREAM' undeclared (first use in this function)
os-ip.c:449: error: (Each undeclared identifier is reported only once
os-ip.c:449: error: for each function it appears in.)
os-ip.c:454: error: `SOCK_DGRAM' undeclared (first use in this function)
os-ip.c:471: error: `ldap_int_inet4or6' undeclared (first use in this function)
os-ip.c:493: error: dereferencing pointer to incomplete type
os-ip.c:494: error: dereferencing pointer to incomplete type
os-ip.c:501: error: dereferencing pointer to incomplete type
os-ip.c:511: error: dereferencing pointer to incomplete type
os-ip.c:522: error: `AF_INET' undeclared (first use in this function)
os-ip.c:525: error: dereferencing pointer to incomplete type
os-ip.c:533: error: dereferencing pointer to incomplete type
os-ip.c:533: error: dereferencing pointer to incomplete type
os-ip.c: In function `ldap_host_connected_to':
os-ip.c:629: error: storage size of 'sabuf' isn't known
os-ip.c:648: error: dereferencing pointer to incomplete type
os-ip.c:650: error: `AF_LOCAL' undeclared (first use in this function)
os-ip.c:665: error: `AF_INET' undeclared (first use in this function)
os-ip.c:667: error: storage size of 'localhost' isn't known
os-ip.c:668: error: `INADDR_ANY' undeclared (first use in this function)
os-ip.c:670: error: dereferencing pointer to incomplete type
os-ip.c:679: error: dereferencing pointer to incomplete type
make[2]: *** [os-ip.lo] Error 1
make[2]: Leaving directory `/home/openldap-2.4.9/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/openldap-2.4.9/libraries'
make: *** [all-common] Error 1


Sorry for the newbie question but am I missing an additional application or something.

Cheers and thanks

Paul