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

-devel build failure on sunos4



After correcting a few other bugs, `make' on sunos4 ends with

make[4]: Entering directory `/usit/sauron/u1/hbf/src/devel/ldap/servers/slapd'
rm -f version.c
(u=${USER-root} v=`cat ../../build/version` d=`pwd` h=`uname -n` \
t=`date`; sed -e "s|%WHEN%|${t}|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
-e "s|%VERSION%|${v}|" \
< ./Version.c > version.c)
gcc -g -O2 -I../../include -I../../include   -I/usit/morgoth/katalog/ldap/include -DHAVE_CONFIG_H     -c version.c -o version.o
gcc  -o slapd main.o daemon.o connection.o search.o filter.o add.o charray.o attr.o entry.o config.o backend.o result.o operation.o dn.o compare.o modify.o delete.o modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o abandon.o filterentry.o phonetic.o acl.o str2filter.o aclparse.o init.o repl.o lock.o suffixalias.o schema.o schemaparse.o monitor.o configinfo.o version.o -L../../libraries -lldif -lldap -llber libbackends.a -lavl -lldbm  -llthread  -llutil  -L/usit/morgoth/katalog/ldap/lib -lresolv -lregex
collect2: ld returned 2 exit status
ld: Undefined symbol
   _cv_wait
   _cv_create
   ___ThreadNull
   _mon_enter
   _lwp_yield
   _mon_destroy
   _mon_exit
   _lwp_create
   _cv_broadcast
   _cv_destroy
   _mon_create
   _cv_notify
   _mon_cond_enter
   _lwp_join
   _lwp_destroy
make[4]: *** [slapd] Error 1


Here is config.log, built with LIBS=-lregex..


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:595: checking configure arguments
configure:1256: checking whether ln -s works
configure:1287: checking for a BSD compatible install
configure:1339: checking for ranlib
configure:1366: checking whether make sets ${MAKE}
configure:1396: checking for sendmail
configure:1428: checking for vi
configure:1460: checking for finger
configure:1493: checking for gcc
configure:1570: checking whether the C compiler (gcc  -L/usit/morgoth/katalog/ldap/lib) works
configure:1584: gcc -o conftest  -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lregex 1>&5
configure:1604: checking whether the C compiler (gcc  -L/usit/morgoth/katalog/ldap/lib) is a cross-compiler
configure:1609: checking whether we are using GNU C
configure:1618: gcc -E conftest.c
configure:1633: checking whether gcc accepts -g
configure:1674: checking how to run the C preprocessor
configure:1695: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:1737: checking for AIX
configure:1761: checking for POSIXized ISC
configure:1783: checking for minix/config.h
configure:1793: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:1789: minix/config.h: No such file or directory
configure: failed program was:
#line 1788 "configure"
#include "confdefs.h"
#include <minix/config.h>
configure:1834: checking for socket
configure:1862: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lregex 1>&5
configure:2147: checking for res_search in -lresolv
configure:2166: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv  -lregex 1>&5
configure:2195: checking for sigset in -lV3
configure:2214: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lV3  -lresolv -lregex 1>&5
collect2: ld returned 4 exit status
ld: -lV3: No such file or directory
configure: failed program was:
#line 2203 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sigset();

int main() {
sigset()
; return 0; }
configure:2462: checking for kerberosIV/krb.h
configure:2472: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:2468: kerberosIV/krb.h: No such file or directory
configure: failed program was:
#line 2467 "configure"
#include "confdefs.h"
#include <kerberosIV/krb.h>
configure:2462: checking for kerberosIV/des.h
configure:2472: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:2468: kerberosIV/des.h: No such file or directory
configure: failed program was:
#line 2467 "configure"
#include "confdefs.h"
#include <kerberosIV/des.h>
configure:2556: checking for krb.h
configure:2566: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:2562: krb.h: No such file or directory
configure: failed program was:
#line 2561 "configure"
#include "confdefs.h"
#include <krb.h>
configure:2556: checking for des.h
configure:2566: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:2562: des.h: No such file or directory
configure: failed program was:
#line 2561 "configure"
#include "confdefs.h"
#include <des.h>
configure:2652: checking for pthread.h
configure:2662: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:2658: pthread.h: No such file or directory
configure: failed program was:
#line 2657 "configure"
#include "confdefs.h"
#include <pthread.h>
configure:2652: checking for sched.h
configure:2662: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:2658: sched.h: No such file or directory
configure: failed program was:
#line 2657 "configure"
#include "confdefs.h"
#include <sched.h>
configure:3574: checking for mach/cthreads.h
configure:3584: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:3580: mach/cthreads.h: No such file or directory
configure: failed program was:
#line 3579 "configure"
#include "confdefs.h"
#include <mach/cthreads.h>
configure:3724: checking for thread.h
configure:3734: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:3730: thread.h: No such file or directory
configure: failed program was:
#line 3729 "configure"
#include "confdefs.h"
#include <thread.h>
configure:3724: checking for synch.h
configure:3734: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:3730: synch.h: No such file or directory
configure: failed program was:
#line 3729 "configure"
#include "confdefs.h"
#include <synch.h>
configure:3820: checking for lwp/lwp.h
configure:3830: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:3858: checking for lwp_create in -llwp
configure:3877: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -llwp  -lresolv -lregex 1>&5
configure:4176: checking for thread specific errno
configure:4193: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:4239: checking for DB2 library
configure:4245: checking for db_open in -ldb
configure:4264: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -ldb  -lresolv -lregex 1>&5
collect2: ld returned 4 exit status
ld: -ldb: No such file or directory
configure: failed program was:
#line 4253 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char db_open();

int main() {
db_open()
; return 0; }
configure:4295: checking for db.h
configure:4305: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:4301: db.h: No such file or directory
configure: failed program was:
#line 4300 "configure"
#include "confdefs.h"
#include <db.h>
configure:4371: checking for Berkeley DB2
configure:4417: checking for Berkeley DB library
configure:4423: checking for dbopen
configure:4451: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol 
   _dbopen 
configure: failed program was:
#line 4428 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char dbopen(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbopen();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_dbopen) || defined (__stub___dbopen)
choke me
#else
dbopen();
#endif

; return 0; }
configure:4470: checking for dbopen in -ldb
configure:4489: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -ldb  -lresolv -lregex 1>&5
collect2: ld returned 4 exit status
ld: -ldb: No such file or directory
configure: failed program was:
#line 4478 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbopen();

int main() {
dbopen()
; return 0; }
configure:4524: checking for db_185.h
configure:4534: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:4530: db_185.h: No such file or directory
configure: failed program was:
#line 4529 "configure"
#include "confdefs.h"
#include <db_185.h>
configure:4570: checking for Berkeley DB
configure:4668: checking for GDBM library
configure:4674: checking for gdbm_open
configure:4702: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol 
   _gdbm_open 
configure: failed program was:
#line 4679 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gdbm_open(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gdbm_open();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_gdbm_open) || defined (__stub___gdbm_open)
choke me
#else
gdbm_open();
#endif

; return 0; }
configure:4721: checking for gdbm_open in -lgdbm
configure:4740: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lgdbm  -lresolv -lregex 1>&5
configure:4775: checking for gdbm.h
configure:4785: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:4781: gdbm.h: No such file or directory
configure: failed program was:
#line 4780 "configure"
#include "confdefs.h"
#include <gdbm.h>
configure:4812: checking for db
configure:4846: checking for NDBM library
configure:4852: checking for dbm_open
configure:4880: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:4994: checking for ndbm.h
configure:5004: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5031: checking for db
configure:5144: checking for termcap.h
configure:5154: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5150: termcap.h: No such file or directory
configure: failed program was:
#line 5149 "configure"
#include "confdefs.h"
#include <termcap.h>
configure:5144: checking for ncurses.h
configure:5154: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5150: ncurses.h: No such file or directory
configure: failed program was:
#line 5149 "configure"
#include "confdefs.h"
#include <ncurses.h>
configure:5183: checking for tputs in -ltermcap
configure:5202: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -ltermcap  -lresolv -lregex 1>&5
configure:5296: checking for crypt
configure:5324: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:5406: checking for setproctitle
configure:5434: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol 
   _setproctitle 
configure: failed program was:
#line 5411 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setproctitle(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char setproctitle();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_setproctitle) || defined (__stub___setproctitle)
choke me
#else
setproctitle();
#endif

; return 0; }
configure:5453: checking for setproctitle in -lutil
configure:5472: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lutil  -lresolv -lregex 1>&5
collect2: ld returned 4 exit status
ld: -lutil: No such file or directory
configure: failed program was:
#line 5461 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char setproctitle();

int main() {
setproctitle()
; return 0; }
configure:5507: checking for ANSI C header files
configure:5520: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5620: checking for dirent.h that defines DIR
configure:5633: gcc -c -g -O2 -I/usit/morgoth/katalog/ldap/include conftest.c 1>&5
configure:5658: checking for opendir in -ldir
configure:5677: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -ldir  -lresolv -lregex 1>&5
collect2: ld returned 4 exit status
ld: -ldir: No such file or directory
configure: failed program was:
#line 5666 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:5741: checking for sys/wait.h that is POSIX.1 compatible
configure:5762: gcc -c -g -O2 -I/usit/morgoth/katalog/ldap/include conftest.c 1>&5
configure:5816: checking for crypt.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5822: crypt.h: No such file or directory
configure: failed program was:
#line 5821 "configure"
#include "confdefs.h"
#include <crypt.h>
configure:5816: checking for errno.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for fcntl.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for filio.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5822: filio.h: No such file or directory
configure: failed program was:
#line 5821 "configure"
#include "confdefs.h"
#include <filio.h>
configure:5816: checking for getopt.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5822: getopt.h: No such file or directory
configure: failed program was:
#line 5821 "configure"
#include "confdefs.h"
#include <getopt.h>
configure:5816: checking for libutil.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5822: libutil.h: No such file or directory
configure: failed program was:
#line 5821 "configure"
#include "confdefs.h"
#include <libutil.h>
configure:5816: checking for limits.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for malloc.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for memory.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for regex.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for pwd.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sgtty.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for stdarg.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for stddef.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for string.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for strings.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sys/file.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sys/filio.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sys/errno.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sys/ioctl.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sys/param.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sys/resource.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sys/socket.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sys/syslog.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sys/time.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for sys/types.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for syslog.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for termios.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5816: checking for unistd.h
configure:5826: gcc -E -I/usit/morgoth/katalog/ldap/include conftest.c >/dev/null 2>conftest.out
configure:5854: checking for uid_t in sys/types.h
configure:5888: checking type of array argument to getgroups
configure:5921: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure: failed program was:
#line 5896 "configure"
#include "confdefs.h"

/* Thanks to Mike Rendell for this test.  */
#include <sys/types.h>
#define NGID 256
#undef MAX
#define MAX(x, y) ((x) > (y) ? (x) : (y))
main()
{
  gid_t gidset[NGID];
  int i, n;
  union { gid_t gval; long lval; }  val;

  val.lval = -1;
  for (i = 0; i < NGID; i++)
    gidset[i] = val.gval;
  n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
                 gidset);
  /* Exit non-zero if getgroups seems to require an array of ints.  This
     happens when gid_t is short but getgroups modifies an array of ints.  */
  exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
}

configure:5959: checking for mode_t
configure:5992: checking for off_t
configure:6025: checking for pid_t
configure:6058: checking return type of signal handlers
configure:6080: gcc -c -g -O2 -I/usit/morgoth/katalog/ldap/include conftest.c 1>&5
configure:6099: checking for size_t
configure:6132: checking for uid_t in sys/types.h
configure:6166: checking for st_blksize in struct stat
configure:6179: gcc -c -g -O2 -I/usit/morgoth/katalog/ldap/include conftest.c 1>&5
configure:6200: checking whether time.h and sys/time.h may both be included
configure:6214: gcc -c -g -O2 -I/usit/morgoth/katalog/ldap/include conftest.c 1>&5
configure:6235: checking whether struct tm is in sys/time.h or time.h
configure:6248: gcc -c -g -O2 -I/usit/morgoth/katalog/ldap/include conftest.c 1>&5
configure:6271: checking if toupper() requires islower()
configure:6292: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6315: checking for working const
configure:6369: gcc -c -g -O2 -I/usit/morgoth/katalog/ldap/include conftest.c 1>&5
configure:6397: checking whether byte ordering is bigendian
configure:6415: gcc -c -g -O2 -I/usit/morgoth/katalog/ldap/include conftest.c 1>&5
configure: In function `main':
configure:6410: `bogus' undeclared (first use this function)
configure:6410: (Each undeclared identifier is reported only once
configure:6410: for each function it appears in.)
configure:6410: parse error before `endian'
configure: failed program was:
#line 6404 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 bogus endian macros
#endif
; return 0; }
configure:6463: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure: failed program was:
#line 6450 "configure"
#include "confdefs.h"
main () {
  /* Are we little or big endian?  From Harbison&Steele.  */
  union
  {
    long l;
    char c[sizeof (long)];
  } u;
  u.l = 1;
  exit (u.c[sizeof (long) - 1] == 1);
}
configure:6487: checking size of short
configure:6506: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6526: checking size of int
configure:6545: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6565: checking size of long
configure:6584: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6606: checking for 8-bit clean memcmp
configure:6624: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure: failed program was:
#line 6614 "configure"
#include "confdefs.h"

main()
{
  char c0 = 0x40, c1 = 0x80, c2 = 0x81;
  exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
}

configure:6642: checking for strftime
configure:6670: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6738: checking for vprintf
configure:6766: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6847: checking for vsnprintf
configure:6875: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol 
   _vsnprintf 
configure: failed program was:
#line 6852 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char vsnprintf(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char vsnprintf();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
choke me
#else
vsnprintf();
#endif

; return 0; }
configure:6902: checking for wait3 that fills in rusage
configure:6941: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for bcopy
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for flock
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for getdtablesize
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for gethostname
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for getpwuid
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for gettimeofday
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for lockf
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for memcpy
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:7010: warning: conflicting types for built-in function `memcpy'
configure:6998: checking for memmove
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol 
   _memmove 
configure: failed program was:
#line 7003 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char memmove(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char memmove();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_memmove) || defined (__stub___memmove)
choke me
#else
memmove();
#endif

; return 0; }
configure:6998: checking for mkstemp
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for mktime
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for res_search
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for select
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for setpwfile
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for setsid
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for signal
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for sigset
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol 
   _sigset 
configure: failed program was:
#line 7003 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sigset(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sigset();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sigset) || defined (__stub___sigset)
choke me
#else
sigset();
#endif

; return 0; }
configure:6998: checking for snprintf
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol 
   _snprintf 
configure: failed program was:
#line 7003 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char snprintf(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char snprintf();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_snprintf) || defined (__stub___snprintf)
choke me
#else
snprintf();
#endif

; return 0; }
configure:6998: checking for socket
configure:6998: checking for strerror
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol 
   _strerror 
configure: failed program was:
#line 7003 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strerror(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strerror();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strerror) || defined (__stub___strerror)
choke me
#else
strerror();
#endif

; return 0; }
configure:6998: checking for strpbrk
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for strrchr
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for strsep
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol 
   _strsep 
configure: failed program was:
#line 7003 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strsep(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strsep();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strsep) || defined (__stub___strsep)
choke me
#else
strsep();
#endif

; return 0; }
configure:6998: checking for strstr
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for strtod
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for strtok
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for strtol
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for strtoul
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol 
   _strtoul 
configure: failed program was:
#line 7003 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strtoul(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strtoul();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strtoul) || defined (__stub___strtoul)
choke me
#else
strtoul();
#endif

; return 0; }
configure:6998: checking for sysconf
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:6998: checking for waitpid
configure:7026: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:7054: checking for getopt
configure:7082: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:7054: checking for strdup
configure:7082: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:7054: checking for tempnam
configure:7082: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure:7112: checking declaration of sys_errlist
configure:7128: gcc -c -g -O2 -I/usit/morgoth/katalog/ldap/include conftest.c 1>&5
configure: In function `main':
configure:7125: `sys_errlist' undeclared (first use this function)
configure:7125: (Each undeclared identifier is reported only once
configure:7125: for each function it appears in.)
configure: failed program was:
#line 7118 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <sys/types.h>
#include <errno.h> 
int main() {
char *c = (char *) *sys_errlist
; return 0; }
configure:7149: checking existence of sys_errlist
configure:7162: gcc -o conftest -g -O2 -I/usit/morgoth/katalog/ldap/include -L/usit/morgoth/katalog/ldap/lib conftest.c -lresolv -lregex 1>&5
configure: In function `main':
configure:7159: `sys_errlist' undeclared (first use this function)
configure:7159: (Each undeclared identifier is reported only once
configure:7159: for each function it appears in.)
configure: failed program was:
#line 7155 "configure"
#include "confdefs.h"
#include <errno.h>
int main() {
char *c = (char *) *sys_errlist
; return 0; }