From owner-freebsd-ports@FreeBSD.ORG Sat May 3 03:11:58 2003 Return-Path: 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 D6DC837B401 for ; Sat, 3 May 2003 03:11:57 -0700 (PDT) Received: from jerakeen.luon.net (node1fc31.a2000.nl [24.132.252.49]) by mx1.FreeBSD.org (Postfix) with SMTP id 247B443F3F for ; Sat, 3 May 2003 03:11:52 -0700 (PDT) (envelope-from auke@jerakeen.luon.net) Received: (qmail 98490 invoked by uid 1024); 3 May 2003 10:11:58 -0000 Date: Sat, 3 May 2003 12:11:58 +0200 From: Auke Folkerts To: ports@freebsd.org Message-ID: <20030503101158.GA98448@jerakeen.luon.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: net/Openldap20 configure failed: cannot locate posix threads X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 10:11:58 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! I would like to report that OpenLDAP20 (/usr/ports/net/openldap20) did not ./configure properly. The last lines of output are checking for pthread link with -lpthreads... no configure: error: could not locate usable POSIX Threads ===> Script "configure" failed unexpectedly. Please report the problem to ports@FreeBSD.org [maintainer] and attach the "/usr/ports/net/openldap20/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 `ls /var/db/pkg`). *** Error code 1 I have attached the config.log of this port. I hope this is enough information to help you fix this bug. Thanks for the effort! If you need more information, or if I could do anything, please let me know. Kind regards, Auke -- Auke Folkerts PS: output of 'ls /var/db/pkg': AbiWord2-gnome-1.9.0 Hermes-1.3.2 ImageMagick-5.5.5 Mesa-3.4.2_2 ORBit-0.5.17 ORBit2-2.6.1 XFree86-4.3.0,1 XFree86-FontServer-4.3.0 XFree86-Server-4.3.0_3 XFree86-clients-4.3.0_1 XFree86-documents-4.3.0 XFree86-font100dpi-4.3.0 XFree86-font75dpi-4.3.0 XFree86-fontCyrillic-4.3.0 XFree86-fontDefaultBitmaps-4.3.0 XFree86-fontEncodings-4.3.0 XFree86-fontScalable-4.3.0 XFree86-libraries-4.3.0_1 Xft-2.1_7 aalib-1.4.r5_1 acme-2.0.3 arts-1.1.1,1 artwiz-fonts-1.0 aspell-0.50.3_1 at-spi-1.1.8 aterm-0.4.2 atk-1.2.3 atomix-0.4.3 aumix-gtk-2.8 autoconf-2.53_1 autoconf213-2.13.000227_5 automake-1.5,1 automake14-1.4.5_9 autotrace-0.31.1 balsa2-2.0.10_1 bash-2.05b.004 bison-1.75 bitstream-vera-1.10 bombermaze-0.6.6 bonobo-1.0.22 bonobo-activation-2.2.1.1,1 bugbuddy2-2.2.103 cabextract-0.6 checkpassword-0.90 cscope-15.4 cups-1.1.18.0_4 cups-base-1.1.18.0_4 cups-lpr-1.1.18.0_4 cups-pstoraster-7.05.6 curl-7.10.4 cvsup-16.1f cvsupit-3.1 db3-3.3.11,1 dia-0.91 djbfft-0.76 docbook-1.2 docbook-241 docbook-3.0 docbook-3.1 docbook-4.0 docbook-4.1 docbook-sk-4.1.2 docbook-xml-4.2 docbook-xsl-1.59.1 e2fsprogs-1.27 eel2-2.2.3.1 eject-1.4 eog2-2.2.1 esound-0.2.29 eterm-0.9.2 expat-1.95.6_1 fam-2.6.9_2 fileroller-2.2.3,1 fontconfig-2.2.0 fontilus-0.4 freetype-1.3.1_2 freetype2-2.1.4_1 fribidi-0.10.4_1 frontline-0.5.4 fsck_ext2fs-2.8 gabber-0.8.7_1 gail-1.2.0 gaim-0.61 gal-0.24 gal2-1.99.3 galeon2-1.3.4 gcalctool-4.2.77 gconf-1.0.9_2 gconf-editor-0.4.0 gconf2-2.2.0 gdbm-1.8.3 gdk-pixbuf-0.22.0 gdm2-2.4.1.3_1 gedit2-2.2.1 gettext-0.11.5_1 ggv2-2.0.0 ghex2-2.2.1 ghostscript-gnu-7.05_5 gimp-1.2.3_2,1 gimp-1.3.14,1 gimp-print-4.2.5 glade2-2.0.0 gle-3.0.3 glib-1.2.10_9 glib-2.2.1_1 glimmer-1.2.1_1 gmake-3.80 gnet-1.1.8 gnome-icon-theme-1.0.2 gnome-pkgview-0.0.8 gnome-themes-2.2.1 gnome2-2.2.1 gnomeapplets2-2.2.1 gnomeaudio-1.4.0 gnomecanvas-0.22.0 gnomecontrolcenter2-2.2.1 gnomedb-0.2.96_1 gnomedesktop-2.2.1_1 gnomegames2-2.2.1 gnomehier-1.0_8 gnomeicu2-0.99 gnomelibs-1.4.2_1 gnomemedia2-2.2.1.1_1 gnomemeeting-0.96.1 gnomemimedata-2.2.0_1 gnomemm-1.2.4 gnomepanel-2.2.1 gnomepilot2-2.0.5 gnomeprint-0.37 gnomesession-2.2.1 gnomesystemmonitor-2.0.4_1 gnometerminal-2.2.1 gnomeuserdocs2-2.0.6_1 gnomeutils2-2.2.1,1 gnomevfs-1.0.5_4 gnomevfs2-2.2.4 gnumeric2-1.1.16_2 gnupg-1.2.1 gob-1.0.12 gob2-2.0.5_1 gok-0.7.0 gpgme-0.3.14 grub-0.92 gstreamer-0.6.0 gstreamer-plugins-0.6.0_1 gtetrinet-0.7.0 gthumb2-2.1.0_1 gtk-1.2.10_9 gtk-2.2.1 gtk-engines2-2.2.0 gtk-thinice-engine-2.0.2 gtkglarea-1.2.2_1 gtkglarea-1.99.0_2 gtkmm-1.2.8_1 gtkmm-2.2.1 gtkspell2-2.0.2_2 gucharmap-gnome-0.4.0_1 guile-1.6.4_1 hdf-4.1r5 help2man-1.29 imake-4.3.0 imlib-1.9.14_1 imlib2-1.0.6_1 imwheel-0.9.9 intltool-0.25 iso8879-1986 ispell-3.2.06_3 jade-1.2.1_1 jasper-1.600.0 jbigkit-1.4 jmk-x11-fonts-3.0 jpeg-6b_1 jpilot-0.99.5 kde-3.1.1 kdebase-3.1.1a kdegames-3.1.1 kdegraphics-3.1.1 kdelibs-3.1.1a kdemultimedia-3.1.1 kdenetwork-3.1.1 kdeutils-3.1.1 koffice-1.2.1,1 ksh93-20030422 lcms-1.09 lftp-2.6.5 lha-1.14i libIDL-0.8.0_2 liba52-0.7.4 libao-esound-0.8.3_1 libart_lgpl2-2.3.11 libast-0.5 libaudiofile-0.2.3 libbonobo-2.2.1 libbonoboui-2.2.0.1 libcapplet-1.4.0.5 libdvdcss-1.2.5 libdvdread-0.9.4 libesmtp-1.0_1,1 libfpx-1.2.0.8 libgail-gnome-1.0.2_1 libgda-0.2.96_1 libgda2-0.11.0 libglade-0.17_2 libglade2-2.0.1_1 libgnome-2.2.0.1 libgnomecanvas-2.2.0.2 libgnomedb-0.11.0 libgnomeprint-2.2.1.2 libgnomeprintui-2.2.1.2 libgnomeui-2.2.0.1 libgnugetopt-1.2 libgsf-1.7.2 libgtkhtml-2.2.1 libgtop2-2.0.1_3 libiconv-1.8_2 libijs-0.34 libmikmod-esound-3.1.10 libmng-1.0.5 libmpeg2-0.3.1_1 libmrproject-0.9.1_1 libogg-1.0_1,3 librep-0.16.1_1 librsvg2-2.2.5 libsigc++-1.0.4 libsigc++-1.2.4 libslang-1.4.8 libtool-1.3.4_4 libungif-4.1.0b1 libunicode-0.4_3 libvorbis-1.0_1,3 libwmf-0.2.8 libwnck-2.2.1 libxine-1.0.b10 libxml-1.8.17_1 libxml2-2.5.7 libxslt-1.0.29 libzvt-2.0.1_6 linc-1.0.1 links-2.0_1,1 linux-flashplugin-6.0r69 linux_base-7.1_3 linuxdoc-1.1 linuxthreads-2.2.3_11 lzo-1.08_1 lzop-1.01 m4-1.4_1 mad-esound-0.14.2b_2 malsync-2.10 man2html-3.0.1_1 mc-4.6.0_2 mergeant-0.11.0 metacity-2.4.34 metacity-setup-0.7.1_2 ming-0.2a_1 mkcatalog-1.1 mozilla-1.3_1 mozilla-headers-1.3_1,2 mpg123-esound-0.59r_9 mplayer-fonts-0.50 mplayer-gtk-esound-0.90.0.110 mrproject-0.9.1_1 mutt-1.4.1_1 nasm-0.98.35,1 nautilus-media-0.2.1 nautilus2-2.2.3.1 netpbm-10.14 ngpt-1.0.1 nmap-3.27 oaf-0.6.10_1 oidentd-2.0.5 open-motif-2.2.2_1 openbox-1.2.4 openldap20-2.0.25_3 openssl-0.9.7b_1 pan2-0.13.93 pango-1.2.1_3 pcre-3.9 pilot-link-0.11.7_1 pkgconfig-0.15.0 pkgdb.db plotutils-2.4.1 plucker-1.2_1 png-1.2.5_2 popt-1.6.4 portupgrade-20030427 ppmtoTbmp-1.1 pstoedit-3.33 pth-2.0.0 pwm-1.0_1 py-gtk-0.6.10 py22-expat-2.2.2_2 py22-numeric-21.0 python-2.2.2_2 qmail-1.03_1 qmail-conf-0.60_1 qt-3.1.1_5 rdesktop-1.2.0 rdist-6.1.5 regexxer-0.4 rep-gtk2-0.17_1,1 rpm-3.0.6_6 rsync-2.5.6_1 ruby-1.6.8.2003.04.19 ruby-bdb1-0.1.9 ruby-rdoc-0.0.0.b2 ruby-shim-ruby18-1.8.0.p2.2003.04.19 sawfish2-esound-1.3,2 screen-3.9.15 scrollkeeper-0.3.11_8,1 sdl-1.2.5_1 sdocbook-xml-4.1.2.5 seahorse-0.7.2_1 sgmlformat-1.7_2 sodipodi-0.31 sox-12.17.3_1 ssmtp-2.60.3 startup-notification-0.5_1 stickynotes_applet-1.0.11 streamtuner-0.9.1 sudo-1.6.7.4 svgalib-1.4.2_1 tcl-8.3.5_2 tiff-3.5.7 tk-8.3.5_1 totem-0.95.1_2 tsclient-0.104_1 ttmkfdir-0.0_1 ucspi-tcp-0.88 unzip-5.50 urwfonts-1.0 uulib-0.5.18 vim-6.1.365 vorbis-tools-1.0_2,3 vte-0.10.26_1 waimea-0.4.0_1 wampager-0.9.1 webfonts-0.21_1 win32-codecs-011002.2.0.90.p7 wrapper-1.0_2 xanim-2.92.0 xboard-4.2.6 xchat2-2.0.1 xloadimage-4.1.10 xmms-esound-1.2.7_3 xscreensaver-gnome-4.09 yelp-2.2.0 zenity-1.0_1 zip-2.3_1 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii 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: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 -march=pentiumpro -L/usr/local/lib) works configure:2581: cc -o conftest -O -pipe -march=pentiumpro -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 -march=pentiumpro -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.12.1 [FreeBSD] 2002-07-20 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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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.12.1 [FreeBSD] 2002-07-20 ltconfig:1635: checking if global_symbol_pipe works ltconfig:1636: cc -c -O -pipe -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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/ccfXuBE4.o: In function `main': /tmp/ccfXuBE4.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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 /tmp/ccZxGY01.o: In function `main': /tmp/ccZxGY01.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 -march=pentiumpro -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 /tmp/ccFrI0q6.o: In function `main': /tmp/ccFrI0q6.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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 /tmp/ccIGfwmy.o: In function `main': /tmp/ccIGfwmy.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:7160: checking for pthread_create in default libraries configure:7346: cc -o conftest -O -pipe -march=pentiumpro -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c 1>&5 /tmp/ccsPKWsa.o: In function `main': /tmp/ccsPKWsa.o(.text+0x22): undefined reference to `pthread_attr_init' /tmp/ccsPKWsa.o(.text+0x4a): undefined reference to `pthread_attr_setdetachstate' /tmp/ccsPKWsa.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 -march=pentiumpro -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/ccmK1RgY.o: In function `main': /tmp/ccmK1RgY.o(.text+0x22): undefined reference to `pthread_attr_init' /tmp/ccmK1RgY.o(.text+0x4a): undefined reference to `pthread_attr_setdetachstate' /tmp/ccmK1RgY.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 -march=pentiumpro -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 -march=pentiumpro -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/ccgEXU7r.o: In function `main': /tmp/ccgEXU7r.o(.text+0x22): undefined reference to `pthread_attr_init' /tmp/ccgEXU7r.o(.text+0x4a): undefined reference to `pthread_attr_setdetachstate' /tmp/ccgEXU7r.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 -march=pentiumpro -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 -march=pentiumpro -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/ccBLb34f.o: In function `main': /tmp/ccBLb34f.o(.text+0x22): undefined reference to `pthread_attr_init' /tmp/ccBLb34f.o(.text+0x4a): undefined reference to `pthread_attr_setdetachstate' /tmp/ccBLb34f.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 -march=pentiumpro -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 -lmach 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 -march=pentiumpro -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 -lmach 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 -march=pentiumpro -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 '-woff' /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 -march=pentiumpro -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -L/usr/local/lib conftest.c -lpthread 1>&5 /usr/local/lib/libpthread.so: undefined reference to `_atomic_lock' /usr/local/lib/libpthread.so: undefined reference to `__sys_write' 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 -march=pentiumpro -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 -march=pentiumpro -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/ccMasNLp.o: In function `main': /tmp/ccMasNLp.o(.text+0x22): undefined reference to `pthread_attr_init' /tmp/ccMasNLp.o(.text+0x4a): undefined reference to `pthread_attr_setdetachstate' /tmp/ccMasNLp.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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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 -march=pentiumpro -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; } --NzB8fVQJ5HfG6fxh--