From owner-freebsd-ports Tue Oct 22 9:41:46 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FF8437B401 for ; Tue, 22 Oct 2002 09:41:00 -0700 (PDT) Received: from fantomas.sk (fantomas.fantomas.sk [195.168.6.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66BAE43E42 for ; Tue, 22 Oct 2002 09:40:54 -0700 (PDT) (envelope-from uhlar@fantomas.sk) Received: from fantomas.fantomas.sk (uhlar@localhost [127.0.0.1]) by fantomas.sk (8.12.6/8.12.6/Debian-6Woody) with ESMTP id g9MGeYmY021164 for ; Tue, 22 Oct 2002 18:40:35 +0200 Received: (from uhlar@localhost) by fantomas.fantomas.sk (8.12.6/8.12.6/Debian-6Woody) id g9MGeXug021163 for ports@FreeBSD.org; Tue, 22 Oct 2002 18:40:33 +0200 Date: Tue, 22 Oct 2002 18:40:33 +0200 From: "Matus \"fantomas\" Uhlar" To: ports@FreeBSD.org Subject: problem compiling openldap2 in ports Message-ID: <20021022164033.GA20971@fantomas.sk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Echelon: nuclear bomb plane crash terrorist attack djihad spy echelon sucks Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Hello, the subject says it I hope. config.log attached. ### ports version: # $FreeBSD: ports/net/openldap2/Makefile,v 1.57 2002/09/19 21:49:55 ijliao Exp $ ### Environment: # uname -a FreeBSD w01 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #0: Thu Oct 3 13:04:30 CEST 2002 zero@tic:/usr/src/sys/compile/i386-scsi-isa-ata-pci-ahc-sym-dc-fxp-xl i386 ### error message: configure: error: could not locate usable POSIX Threads ===> Script "configure" failed unexpectedly. Please report the problem to ports@FreeBSD.org [maintainer] and attach the "/shared1/rw/ports/net/openldap2/work/openldap-2.0.25/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an s /var/db/pkg). *** Error code 1 ...The funny thing is, that the program configure claimed to fail, was compiled manually without any problem... ### the pkg listing (just for sure, i think it's useless): httpdata@[w01 /usr/ports/net/openldap2] > ls /var/db/pkg apache+mod_ssl-1.3.27+2.8.11 libiconv-1.8_1 autoconf-2.53_1 libmcrypt-2.5.3 autoconf213-2.13.000227_4 libtool-1.3.4_4 cclient-2001a,1 m4-1.4_1 daemontools-0.76_2 mhash-0.8.14 db3-3.3.11,1 mm-1.2.1 expat-1.95.5 mysql-client-3.23.52 freetype2-2.1.2 png-1.2.5 gd-2.0.1_3 postgresql-7.2.3 gettext-0.11.5_1 proftpd-1.2.6 gmake-3.80 qmail-1.03_1 help2man-1.26 qmailanalog-0.70 joe-2.8_4 rsync-2.5.5_1 jpeg-6b_1 sed_inplace-2002.06.28 libgnugetopt-1.2 ucspi-tcp-0.88 -- Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/ Warning: I don't wish to receive spam to this address. Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu. 42.7 percent of all statistics are made up on the spot. --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: attachment; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:708: checking host system type configure:729: checking target system type configure:747: checking build system type configure:782: checking for a BSD compatible install configure:835: checking whether build environment is sane configure:896: checking for mawk configure:896: checking for gawk configure:896: checking for nawk configure:896: checking for awk configure:926: checking whether make sets ${MAKE} configure:966: checking for working aclocal configure:979: checking for working autoconf configure:992: checking for working automake configure:1005: checking for working autoheader configure:1018: checking for working makeinfo configure:1038: checking for gnutar configure:1038: checking for gtar configure:1038: checking for tar configure:1087: checking configure arguments configure:2364: checking for ar configure:2422: checking for ranlib configure:2452: checking for gcc configure:2565: checking whether the C compiler (cc -O -pipe -L/usr/local/lib) works configure:2581: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:2607: checking whether the C compiler (cc -O -pipe -L/usr/local/lib) is a cross-compiler configure:2612: checking whether we are using GNU C configure:2621: cc -E conftest.c configure:2640: checking whether cc accepts -g configure:2683: checking for ld used by GCC configure:2745: checking if the linker (/usr/libexec/elf/ld) is GNU ld GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD]) configure:2761: checking for BSD-compatible nm configure:2797: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 ltconfig:629: checking for executable suffix ltconfig:630: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 ltconfig:776: checking if cc PIC flag -fPIC works ltconfig:777: cc -c -O -pipe -fPIC -DPIC -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 ltconfig:829: checking if cc supports -c -o file.o ltconfig:830: cc -c -O -pipe -o out/conftest2.o -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 ltconfig:862: checking if cc supports -c -o file.lo ltconfig:863: cc -c -O -pipe -c -o conftest.lo -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 ltconfig:914: checking if cc supports -fno-rtti -fno-exceptions ltconfig:915: cc -c -O -pipe -fno-rtti -fno-exceptions -c conftest.c -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 ltconfig:958: checking if cc static flag -static works ltconfig:959: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib -static conftest.c 1>&5 GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD]) ltconfig:1635: checking if global_symbol_pipe works ltconfig:1636: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1691: cc -o conftest -O -pipe -fno-builtin -fno-rtti -fno-exceptions -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c conftstm.o 1>&5 ltconfig:2212: checking for dlopen in -ldl ltconfig:2233: cc -o conftest -O -pipe -fno-builtin -fno-rtti -fno-exceptions -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -ldl 1>&5 /usr/libexec/elf/ld: cannot find -ldl ltconfig: failed program was: #line 2220 "ltconfig" /* 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. */ #ifdef __cplusplus extern "C" #endif char dlopen(); int main() { dlopen() ; return 0; } ltconfig:2252: checking for dlopen ltconfig:2282: cc -o conftest -O -pipe -fno-builtin -fno-rtti -fno-exceptions -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 ltconfig:2452: checking for dlfcn.h ltconfig:2462: cc -c -O -pipe -fno-builtin -fno-rtti -fno-exceptions -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 >/dev/null 2>conftest.out ltconfig:2490: checking whether a program can dlopen itself ltconfig:2544: cc -o conftest -O -pipe -fno-builtin -fno-rtti -fno-exceptions -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -DHAVE_DLFCN_H -L/usr/local/lib -Wl,--export-dynamic conftest.c 1>&5 ltconfig:2563: checking whether a statically linked program can dlopen itself ltconfig:2617: cc -o conftest -O -pipe -fno-builtin -fno-rtti -fno-exceptions -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -DHAVE_DLFCN_H -L/usr/local/lib -Wl,--export-dynamic -static conftest.c 1>&5 ltconfig: failed program was: #line 2571 "ltconfig" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LTDL_GLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LTDL_GLOBAL DL_GLOBAL # else # define LTDL_GLOBAL 0 # endif #endif /* We may have to define LTDL_LAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LTDL_LAZY_OR_NOW # ifdef RTLD_LAZY # define LTDL_LAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LTDL_LAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LTDL_LAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LTDL_LAZY_OR_NOW DL_NOW # else # define LTDL_LAZY_OR_NOW 0 # endif # endif # endif # endif #endif fnord() { int i=42;} main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW); if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord"); if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); } configure:3143: checking for mawk configure:3174: checking whether ln works configure:3197: checking whether ln -s works configure:3225: checking for sendmail configure:3261: checking for vi configure:3297: checking for finger configure:3332: checking how to run the C preprocessor configure:3353: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:3425: checking for AIX configure:3449: checking for POSIXized ISC configure:3471: checking for minix/config.h configure:3481: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:3477: minix/config.h: No such file or directory configure: failed program was: #line 3476 "configure" #include "confdefs.h" #include configure:3520: checking for Cygwin environment configure:3536: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 configure: In function `main': configure:3532: `__CYGWIN32__' undeclared (first use in this function) configure:3532: (Each undeclared identifier is reported only once configure:3532: for each function it appears in.) configure: failed program was: #line 3525 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:3553: checking for mingw32 environment configure:3565: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 configure: In function `main': configure:3561: `__MINGW32__' undeclared (first use in this function) configure:3561: (Each undeclared identifier is reported only once configure:3561: for each function it appears in.) configure: failed program was: #line 3558 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:3584: checking for executable suffix configure:3594: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:3615: checking for object suffix configure:3621: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 configure:3645: checking for be_app in -lbe configure:3664: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lbe -lroot -lnet 1>&5 /usr/libexec/elf/ld: cannot find -lbe configure: failed program was: #line 3653 "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 be_app(); int main() { be_app() ; return 0; } configure:3690: checking for cc option to accept ANSI C configure:3744: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 configure:3778: checking for cc depend flag configure:3788: cc -M conftest.c configure:3821: checking for afopen in -ls configure:3840: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -ls 1>&5 /usr/libexec/elf/ld: cannot find -ls configure: failed program was: #line 3829 "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 afopen(); int main() { afopen() ; return 0; } configure:3977: checking for EBCDIC configure:3992: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:3986: __ASCII__/generate_error.h: No such file or directory configure: failed program was: #line 3983 "configure" #include "confdefs.h" #if !('M' == 0xd4) #include <__ASCII__/generate_error.h> #endif configure:4016: checking for ANSI C header files configure:4029: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4103: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:4137: checking for dirent.h that defines DIR configure:4150: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 configure:4175: checking for opendir in -ldir configure:4194: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -ldir 1>&5 /usr/libexec/elf/ld: cannot find -ldir configure: failed program was: #line 4183 "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:4258: checking for sys/wait.h that is POSIX.1 compatible configure:4279: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 configure:4300: checking POSIX termios configure:4315: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:4331: checking whether use of TIOCGWINSZ requires sys/ioctl.h configure:4443: checking for arpa/inet.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for arpa/nameser.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for assert.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for conio.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4449: conio.h: No such file or directory configure: failed program was: #line 4448 "configure" #include "confdefs.h" #include configure:4443: checking for crypt.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4449: crypt.h: No such file or directory configure: failed program was: #line 4448 "configure" #include "confdefs.h" #include configure:4443: checking for direct.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4449: direct.h: No such file or directory configure: failed program was: #line 4448 "configure" #include "confdefs.h" #include configure:4443: checking for errno.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for fcntl.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for filio.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4449: filio.h: No such file or directory configure: failed program was: #line 4448 "configure" #include "confdefs.h" #include configure:4443: checking for getopt.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for grp.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for io.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4449: io.h: No such file or directory configure: failed program was: #line 4448 "configure" #include "confdefs.h" #include configure:4443: checking for libutil.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for limits.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for locale.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for netinet/tcp.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for malloc.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out In file included from configure:4449: /usr/include/malloc.h:2: warning: #warning "this file includes which is deprecated, use instead" configure: failed program was: #line 4448 "configure" #include "confdefs.h" #include configure:4443: checking for memory.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for psap.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4449: psap.h: No such file or directory configure: failed program was: #line 4448 "configure" #include "confdefs.h" #include configure:4443: checking for pwd.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for process.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4449: process.h: No such file or directory configure: failed program was: #line 4448 "configure" #include "confdefs.h" #include configure:4443: checking for resolv.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sgtty.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for shadow.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4449: shadow.h: No such file or directory configure: failed program was: #line 4448 "configure" #include "confdefs.h" #include configure:4443: checking for stddef.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for string.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for strings.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sysexits.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/file.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/filio.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/errno.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/ioctl.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/param.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/resource.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/select.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/socket.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/syslog.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/time.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for sys/types.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for syslog.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for termios.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for unistd.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4443: checking for winsock.h configure:4453: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:4449: winsock.h: No such file or directory configure: failed program was: #line 4448 "configure" #include "confdefs.h" #include configure:4483: checking for dlopen configure:4511: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:4579: checking for sigset in -lV3 configure:4598: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lV3 1>&5 /usr/libexec/elf/ld: cannot find -lV3 configure: failed program was: #line 4587 "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:4673: checking for socket configure:4701: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:4986: checking for select configure:5014: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:5037: checking types of arguments for select() configure:5070: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 configure:5115: checking for regex.h configure:5125: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:5155: checking for regfree configure:5183: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:5206: checking for compatible POSIX regex configure:5241: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:5263: checking for res_query configure:5291: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:5584: checking for getaddrinfo configure:5612: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:5584: checking for gai_strerror configure:5612: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:5584: checking for inet_ntop configure:5612: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:5644: checking INET6_ADDRSTRLEN configure:5685: checking for sys/un.h configure:5695: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:6305: checking for openssl/ssl.h configure:6315: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:6305: checking for ssl.h configure:6315: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:6311: ssl.h: No such file or directory configure: failed program was: #line 6310 "configure" #include "confdefs.h" #include configure:6344: checking for SSLeay_add_ssl_algorithms in -lssl configure:6363: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lssl -lcrypto 1>&5 /tmp/cch6gpZV.o: In function `main': /tmp/cch6gpZV.o(.text+0x7): undefined reference to `SSLeay_add_ssl_algorithms' configure: failed program was: #line 6352 "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 SSLeay_add_ssl_algorithms(); int main() { SSLeay_add_ssl_algorithms() ; return 0; } configure:6388: checking for SSL_library_init in -lssl configure:6407: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lssl -lcrypto 1>&5 configure:6522: checking for ctime_r configure:6550: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 configure:6522: checking for gethostbyname_r configure:6550: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 /tmp/ccQHGAPy.o: In function `main': /tmp/ccQHGAPy.o(.text+0x7): undefined reference to `gethostbyname_r' configure: failed program was: #line 6527 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostbyname_r(); below. */ #include /* 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 gethostbyname_r(); 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_gethostbyname_r) || defined (__stub___gethostbyname_r) choke me #else gethostbyname_r(); #endif ; return 0; } configure:6522: checking for gethostbyaddr_r configure:6550: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 /tmp/cc0X8OsZ.o: In function `main': /tmp/cc0X8OsZ.o(.text+0x7): undefined reference to `gethostbyaddr_r' configure: failed program was: #line 6527 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostbyaddr_r(); below. */ #include /* 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 gethostbyaddr_r(); 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_gethostbyaddr_r) || defined (__stub___gethostbyaddr_r) choke me #else gethostbyaddr_r(); #endif ; return 0; } configure:6579: checking number of arguments of ctime_r configure:6591: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 configure: In function `main': configure:6587: too many arguments to function `ctime_r' configure: failed program was: #line 6584 "configure" #include "confdefs.h" #include int main() { time_t ti; char *buffer; ctime_r(&ti,buffer,32); ; return 0; } configure:6610: cc -c -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c 1>&5 configure:6851: checking for _beginthread configure:6879: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 /tmp/ccg4X6Al.o: In function `main': /tmp/ccg4X6Al.o(.text+0x7): undefined reference to `_beginthread' configure: failed program was: #line 6856 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _beginthread(); below. */ #include /* 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 _beginthread(); 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__beginthread) || defined (__stub____beginthread) choke me #else _beginthread(); #endif ; return 0; } configure:6934: checking for pthread.h configure:6944: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:6973: checking POSIX thread version configure:7054: checking for LinuxThreads pthread.h configure:7086: checking for GNU Pth pthread.h configure:7120: checking for sched.h configure:7130: cc -E -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 conftest.c >/dev/null 2>conftest.out configure:7160: checking for pthread_create in default libraries configure:7346: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 /tmp/ccTCW2B4.o: In function `main': /tmp/ccTCW2B4.o(.text+0x22): undefined reference to `pthread_attr_init' /tmp/ccTCW2B4.o(.text+0x4a): undefined reference to `pthread_attr_setdetachstate' /tmp/ccTCW2B4.o(.text+0x65): undefined reference to `pthread_create' configure: failed program was: #line 7260 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:7371: checking for pthread link with -kthread configure:7561: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -kthread 1>&5 cc: unrecognized option `-kthread' /tmp/cchA8pnx.o: In function `main': /tmp/cchA8pnx.o(.text+0x22): undefined reference to `pthread_attr_init' /tmp/cchA8pnx.o(.text+0x4a): undefined reference to `pthread_attr_setdetachstate' /tmp/cchA8pnx.o(.text+0x65): undefined reference to `pthread_create' configure: failed program was: #line 7475 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:7591: checking for pthread link with -pthread configure:7781: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -pthread 1>&5 configure: failed program was: #line 7695 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:7811: checking for pthread link with -pthreads configure:8001: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -pthreads 1>&5 cc: unrecognized option `-pthreads' /tmp/ccFTzcrE.o: In function `main': /tmp/ccFTzcrE.o(.text+0x22): undefined reference to `pthread_attr_init' /tmp/ccFTzcrE.o(.text+0x4a): undefined reference to `pthread_attr_setdetachstate' /tmp/ccFTzcrE.o(.text+0x65): undefined reference to `pthread_create' configure: failed program was: #line 7915 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:8031: checking for pthread link with -mthreads configure:8221: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -mthreads 1>&5 cc1: Invalid option `threads' configure: failed program was: #line 8135 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:8251: checking for pthread link with -thread configure:8441: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -thread 1>&5 cc: unrecognized option `-thread' /tmp/ccY5cWVW.o: In function `main': /tmp/ccY5cWVW.o(.text+0x22): undefined reference to `pthread_attr_init' /tmp/ccY5cWVW.o(.text+0x4a): undefined reference to `pthread_attr_setdetachstate' /tmp/ccY5cWVW.o(.text+0x65): undefined reference to `pthread_create' configure: failed program was: #line 8355 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:8472: checking for pthread link with -lpthread -lmach -lexc -lc_r configure:8662: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lpthread -lmach -lexc -lc_r 1>&5 /usr/libexec/elf/ld: cannot find -lpthread configure: failed program was: #line 8576 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:8692: checking for pthread link with -lpthread -lmach -lexc configure:8882: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lpthread -lmach -lexc 1>&5 /usr/libexec/elf/ld: cannot find -lpthread configure: failed program was: #line 8796 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:8913: checking for pthread link with -lpthread -Wl,-woff,85 configure:9103: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lpthread -Wl,-woff,85 1>&5 /usr/libexec/elf/ld: unrecognized option '--library=pthread' /usr/libexec/elf/ld: use the --help option for usage information configure: failed program was: #line 9017 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:9134: checking for pthread link with -lpthread configure:9324: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lpthread 1>&5 /usr/libexec/elf/ld: cannot find -lpthread configure: failed program was: #line 9238 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:9354: checking for pthread link with -lc_r configure:9544: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lc_r 1>&5 /usr/lib/libc.so: WARNING! setkey(3) not present in the system! /usr/lib/libc.so: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: WARNING! des_setkey(3) not present in the system! /usr/lib/libc.so: WARNING! encrypt(3) not present in the system! /usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: warning: this program uses f_prealloc(), which is not recommended. /usr/lib/libc.so: WARNING! des_cipher(3) not present in the system! /usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp() configure: failed program was: #line 9458 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:9575: checking for pthread link with -threads configure:9765: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -threads 1>&5 cc: unrecognized option `-threads' /tmp/cc9LNkzo.o: In function `main': /tmp/cc9LNkzo.o(.text+0x22): undefined reference to `pthread_attr_init' /tmp/cc9LNkzo.o(.text+0x4a): undefined reference to `pthread_attr_setdetachstate' /tmp/cc9LNkzo.o(.text+0x65): undefined reference to `pthread_create' configure: failed program was: #line 9679 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:9796: checking for pthread link with -lpthreads -lmach -lexc -lc_r configure:9986: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lpthreads -lmach -lexc -lc_r 1>&5 /usr/libexec/elf/ld: cannot find -lpthreads configure: failed program was: #line 9900 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:10016: checking for pthread link with -lpthreads -lmach -lexc configure:10206: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lpthreads -lmach -lexc 1>&5 /usr/libexec/elf/ld: cannot find -lpthreads configure: failed program was: #line 10120 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:10236: checking for pthread link with -lpthreads -lexc configure:10426: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lpthreads -lexc 1>&5 /usr/libexec/elf/ld: cannot find -lpthreads configure: failed program was: #line 10340 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } configure:10457: checking for pthread link with -lpthreads configure:10647: cc -o conftest -O -pipe -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lpthreads 1>&5 /usr/libexec/elf/ld: cannot find -lpthreads configure: failed program was: #line 10561 "configure" #include "confdefs.h" /* pthread test headers */ #include #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } int main(argc, argv) int argc; char **argv; { /* pthread test function */ pthread_t t; int status; int detach = 1; #ifdef HAVE_PTHREADS_FINAL /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if defined( PTHREAD_CREATE_JOINABLE ) || defined( PTHREAD_UNDETACHED ) if( !detach ) { #if defined( PTHREAD_CREATE_JOINABLE ) status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); #else status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_UNDETACHED); #endif #ifdef PTHREAD_CREATE_DETACHED } else { status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); #endif } if( status ) return status; #endif status = pthread_create( &t, &attr, task, NULL ); if( status ) return status; #if !defined( PTHREAD_CREATE_JOINABLE ) && !defined( PTHREAD_UNDETACHED ) if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( t ); if( status ) return status; } #endif #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return status; if( detach ) { /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return status; } #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; } --zYM0uCDKw75PZbzx-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message