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

problems with latest



Two problems with the current ldap:

1. On Sparc-Solaris-2.5 (2.5.1 should have this problem too), the call to
   gethostbyname_r has an incorrect number of arguments in
   in servers/slapd/util-int.c.

   The prototype on 2.5/2.5.1 from the man pages is:

     struct hostent *gethostbyname_r(const char *name,
          struct hostent *result, char *buffer, int buflen,
          int *h_errnop);


2. On X86-Solaris-2.6 with recommended patches installed,
   I get
	./configure --enable-shared --with-gcc
	loading cache ./config.cache
	checking for a BSD compatible install... build/install.sh -c
	checking whether build environment is sane... yes
	checking whether make sets ${MAKE}... yes
	checking for working aclocal... missing
	checking for working autoconf... found
	checking for working automake... missing
	checking for working autoheader... found
	checking for working makeinfo... missing
	checking configure arguments... done
	checking host system type... i386-pc-solaris2.6
	checking for a BSD compatible install... build/install.sh -c
	checking for ranlib... ranlib
	checking for gcc... gcc
	checking whether the C compiler (gcc  ) works... yes
	checking whether the C compiler (gcc  ) is a cross-compiler... no
	checking whether we are using GNU C... yes
	checking whether gcc accepts -g... yes
	checking for ld used by GCC... /usr/ccs/bin/ld
	checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
	checking for BSD-compatible nm... /usr/ccs/bin/nm -p
	checking whether ln -s works... yes
	checking for gcc option to produce PIC... -fPIC
	checking if gcc PIC flag -fPIC works... yes
	checking if gcc static flag -static works... -static
	checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
	checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
	checking command to parse /usr/ccs/bin/nm -p output... yes
	checking how to hardcode library paths into programs... immediate
	checking for /usr/ccs/bin/ld option to reload object files... -r
	checking dynamic linker characteristics... solaris2.6 ld.so
	checking if libtool supports shared libraries... yes
	checking whether to build shared libraries... yes
	checking whether to build static libraries... yes
	checking for objdir... .libs
	creating libtool
	checking for sendmail... /usr/lib/sendmail
	checking for vi... /usr/bin/vi
	checking for finger... /usr/bin/finger
	checking how to run the C preprocessor... gcc -E
	checking for AIX... no
	checking for POSIXized ISC... no
	checking for minix/config.h... no
	checking for gcc option to accept ANSI C... none needed
	checking for socket... no
	checking for main in -lsocket... yes
	checking for main in -lnet... no
	checking for main in -lnsl_s... no
	checking for main in -lnsl... yes
	checking for socket in -linet... no
	checking for main in -lgen... yes
	checking for res_search in -lresolv... yes
	checking for sigset in -lV3... no
	checking for kerberosIV/krb.h... no
	checking for kerberosIV/des.h... no
	checking for krb.h... no
	checking for des.h... no
	checking for pthread.h... yes
	checking for sched.h... yes
	checking POSIX thread version... final
	checking for LinuxThreads... no
	checking for pthread_create... yes
	checking for sched_yield... no
	checking for pthread_yield... no
	checking for sched_yield in -lrt... no
	checking for sched_yield in -lposix4... yes
	checking for pthread_kill... yes
	checking for pthread_attr_create... no
	checking for pthread_attr_init... yes
	checking for pthread_attr_destroy... yes
	checking for pthread_attr_delete... no
	checking for pthread_attr_setdetachstate... yes
	checking for pthread_attr_setdetach_np... no
	checking for pthread_setconcurrency... no
	checking for thr_setconcurrency... yes
	checking if pthread_create() works... no
	configure: error: pthread.h and pthread_create are not compatible

Don't have any more time for more personal investigation on this right now,
so just a heads up.

Randy