Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 19215 Details for
Bug 31037
OpenLDAP does not compile due to LDBM backend problem
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
config.log for openldap-2.0.27-r4
config.log (text/plain), 43.32 KB, created by
Gualter Barbas Baptista
on 2003-10-14 03:14:44 UTC
(
hide
)
Description:
config.log for openldap-2.0.27-r4
Filename:
MIME Type:
Creator:
Gualter Barbas Baptista
Created:
2003-10-14 03:14:44 UTC
Size:
43.32 KB
patch
obsolete
>This file contains any messages produced by compilers while >running configure, to aid debugging if configure makes a mistake. > >configure:675: checking host system type >configure:716: checking target system type >configure:756: checking build system type >configure:833: checking for a BSD compatible install >configure:890: checking whether build environment is sane >configure:951: checking for mawk >configure:951: checking for gawk >configure:981: checking whether make sets ${MAKE} >configure:1021: checking for working aclocal >configure:1034: checking for working autoconf >configure:1047: checking for working automake >configure:1060: checking for working autoheader >configure:1073: checking for working makeinfo >configure:1093: checking for gnutar >configure:1093: checking for gtar >configure:1093: checking for tar >configure:1142: checking configure arguments >configure:2419: checking for ar >configure:2477: checking for ranlib >configure:2507: checking for gcc >configure:2620: checking whether the C compiler (gcc -O3 -mcpu=pentium3 -pipe ) works >configure:2636: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:2662: checking whether the C compiler (gcc -O3 -mcpu=pentium3 -pipe ) is a cross-compiler >configure:2667: checking whether we are using GNU C >configure:2676: gcc -E conftest.c >configure:2695: checking whether gcc accepts -g >configure:2738: checking for ld used by GCC >configure:2800: checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld >GNU ld version 2.14.90.0.6 20030820 >configure:2816: checking for BSD-compatible nm >configure:2852: checking whether ln -s works >ltconfig:603: checking for object suffix >ltconfig:604: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >ltconfig:629: checking for executable suffix >ltconfig:630: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >ltconfig:776: checking if gcc PIC flag -fPIC works >ltconfig:777: gcc -c -O3 -mcpu=pentium3 -pipe -fPIC -DPIC conftest.c 1>&5 >ltconfig:829: checking if gcc supports -c -o file.o >ltconfig:830: gcc -c -O3 -mcpu=pentium3 -pipe -o out/conftest2.o conftest.c 1>&5 >ltconfig:862: checking if gcc supports -c -o file.lo >ltconfig:863: gcc -c -O3 -mcpu=pentium3 -pipe -c -o conftest.lo conftest.c 1>&5 >ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions >ltconfig:915: gcc -c -O3 -mcpu=pentium3 -pipe -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5 >ltconfig:958: checking if gcc static flag -static works >ltconfig:959: gcc -o conftest -O3 -mcpu=pentium3 -pipe -static conftest.c 1>&5 >GNU ld version 2.14.90.0.6 20030820 >ltconfig:1653: checking if global_symbol_pipe works >ltconfig:1654: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >ltconfig:1657: 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:1709: gcc -o conftest -O3 -mcpu=pentium3 -pipe -fno-builtin -fno-rtti -fno-exceptions conftest.c conftstm.o 1>&5 >ltconfig:2248: checking for dlopen in -ldl >ltconfig:2269: gcc -o conftest -O3 -mcpu=pentium3 -pipe -fno-builtin -fno-rtti -fno-exceptions conftest.c -ldl 1>&5 >ltconfig:2488: checking for dlfcn.h >ltconfig:2498: gcc -c -O3 -mcpu=pentium3 -pipe -fno-builtin -fno-rtti -fno-exceptions conftest.c 1>&5 >/dev/null 2>conftest.out >ltconfig:2526: checking whether a program can dlopen itself >ltconfig:2580: gcc -o conftest -O3 -mcpu=pentium3 -pipe -fno-builtin -fno-rtti -fno-exceptions -DHAVE_DLFCN_H -Wl,--export-dynamic conftest.c -ldl 1>&5 >ltconfig:2599: checking whether a statically linked program can dlopen itself >ltconfig:2653: gcc -o conftest -O3 -mcpu=pentium3 -pipe -fno-builtin -fno-rtti -fno-exceptions -DHAVE_DLFCN_H -Wl,--export-dynamic -static conftest.c -ldl 1>&5 >ltconfig: failed program was: >#line 2607 "ltconfig" > >#if HAVE_DLFCN_H >#include <dlfcn.h> >#endif > >#include <stdio.h> > >#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:3198: checking for mawk >configure:3229: checking whether ln works >configure:3252: checking whether ln -s works >configure:3280: checking for sendmail >configure:3316: checking for vi >configure:3352: checking for finger >configure:3387: checking how to run the C preprocessor >configure:3408: gcc -E conftest.c >/dev/null 2>conftest.out >configure:3480: checking for AIX >configure:3504: checking for POSIXized ISC >configure:3526: checking for minix/config.h >configure:3536: gcc -E conftest.c >/dev/null 2>conftest.out >configure:3532:26: minix/config.h: No such file or directory >configure: failed program was: >#line 3531 "configure" >#include "confdefs.h" >#include <minix/config.h> >configure:3575: checking for Cygwin environment >configure:3591: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure: In function `main': >configure:3587: `__CYGWIN32__' undeclared (first use in this function) >configure:3587: (Each undeclared identifier is reported only once >configure:3587: for each function it appears in.) >configure: failed program was: >#line 3580 "configure" >#include "confdefs.h" > >int main() { > >#ifndef __CYGWIN__ >#define __CYGWIN__ __CYGWIN32__ >#endif >return __CYGWIN__; >; return 0; } >configure:3607: checking for mingw32 environment >configure:3619: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure: In function `main': >configure:3615: `__MINGW32__' undeclared (first use in this function) >configure:3615: (Each undeclared identifier is reported only once >configure:3615: for each function it appears in.) >configure: failed program was: >#line 3612 "configure" >#include "confdefs.h" > >int main() { >return __MINGW32__; >; return 0; } >configure:3635: checking for EMX OS/2 environment >configure:3647: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure: In function `main': >configure:3643: `__EMX__' undeclared (first use in this function) >configure:3643: (Each undeclared identifier is reported only once >configure:3643: for each function it appears in.) >configure: failed program was: >#line 3640 "configure" >#include "confdefs.h" > >int main() { >return __EMX__; >; return 0; } >configure:3666: checking for executable suffix >configure:3676: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:3697: checking for object suffix >configure:3703: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:3727: checking for be_app in -lbe >configure:3746: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lbe -lroot -lnet 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lbe >collect2: ld returned 1 exit status >configure: failed program was: >#line 3735 "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:3772: checking for gcc option to accept ANSI C >configure:3826: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:3860: checking for gcc depend flag >configure:3870: gcc -M conftest.c >configure:3903: checking for afopen in -ls >configure:3922: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ls 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ls >collect2: ld returned 1 exit status >configure: failed program was: >#line 3911 "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:3956: checking for ltdl.h >configure:3966: gcc -E conftest.c >/dev/null 2>conftest.out >configure:3998: checking for lt_dlinit in -lltdl >configure:4017: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lltdl 1>&5 >configure:4059: checking for EBCDIC >configure:4074: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4068:38: __ASCII__/generate_error.h: No such file or directory >configure: failed program was: >#line 4065 "configure" >#include "confdefs.h" > >#if !('M' == 0xd4) >#include <__ASCII__/generate_error.h> >#endif > >configure:4098: checking for ANSI C header files >configure:4111: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4185: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:4219: checking for dirent.h that defines DIR >configure:4232: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:4257: checking for opendir in -ldir >configure:4276: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldir 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldir >collect2: ld returned 1 exit status >configure: failed program was: >#line 4265 "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:4340: checking for sys/wait.h that is POSIX.1 compatible >configure:4361: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:4382: checking POSIX termios >configure:4397: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:4413: checking whether use of TIOCGWINSZ requires sys/ioctl.h >configure:4525: checking for arpa/inet.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for arpa/nameser.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for assert.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for conio.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4531:19: conio.h: No such file or directory >configure: failed program was: >#line 4530 "configure" >#include "confdefs.h" >#include <conio.h> >configure:4525: checking for crypt.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for direct.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4531:20: direct.h: No such file or directory >configure: failed program was: >#line 4530 "configure" >#include "confdefs.h" >#include <direct.h> >configure:4525: checking for errno.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for fcntl.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for filio.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4531:19: filio.h: No such file or directory >configure: failed program was: >#line 4530 "configure" >#include "confdefs.h" >#include <filio.h> >configure:4525: checking for getopt.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for grp.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for io.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4531:16: io.h: No such file or directory >configure: failed program was: >#line 4530 "configure" >#include "confdefs.h" >#include <io.h> >configure:4525: checking for libutil.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4531:21: libutil.h: No such file or directory >configure: failed program was: >#line 4530 "configure" >#include "confdefs.h" >#include <libutil.h> >configure:4525: checking for limits.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for locale.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for netinet/tcp.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for malloc.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for memory.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for psap.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4531:18: psap.h: No such file or directory >configure: failed program was: >#line 4530 "configure" >#include "confdefs.h" >#include <psap.h> >configure:4525: checking for pwd.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for process.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4531:21: process.h: No such file or directory >configure: failed program was: >#line 4530 "configure" >#include "confdefs.h" >#include <process.h> >configure:4525: checking for resolv.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sgtty.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for shadow.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for stddef.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for string.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for strings.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sysexits.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sys/file.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sys/filio.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4531:23: sys/filio.h: No such file or directory >configure: failed program was: >#line 4530 "configure" >#include "confdefs.h" >#include <sys/filio.h> >configure:4525: checking for sys/errno.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sys/ioctl.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sys/param.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sys/resource.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sys/select.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sys/socket.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sys/syslog.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sys/time.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for sys/types.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for syslog.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for termios.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for unistd.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4525: checking for winsock.h >configure:4535: gcc -E conftest.c >/dev/null 2>conftest.out >configure:4531:21: winsock.h: No such file or directory >configure: failed program was: >#line 4530 "configure" >#include "confdefs.h" >#include <winsock.h> >configure:4565: checking for dlopen >configure:4594: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >/var/tmp/portage/openldap-2.0.27-r4/temp/ccxPCuhb.o(.text+0x2): In function `main': >: undefined reference to `dlopen' >collect2: ld returned 1 exit status >configure: failed program was: >#line 4570 "configure" >#include "confdefs.h" >/* System header to define __stub macros and hopefully few prototypes, > which can conflict with char dlopen(); below. */ >#include <assert.h> >/* Override any gcc2 internal prototype to avoid an error. */ >/* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ >char dlopen(); >char (*f)(); > >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_dlopen) || defined (__stub___dlopen) >choke me >#else >f = dlopen; >#endif > >; return 0; } >configure:4612: checking for dlopen in -ldl >configure:4631: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldl 1>&5 >configure:4662: checking for sigset in -lV3 >configure:4681: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lV3 -ldl 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lV3 >collect2: ld returned 1 exit status >configure: failed program was: >#line 4670 "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:4756: checking for socket >configure:4785: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldl 1>&5 >configure:5070: checking for select >configure:5099: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldl 1>&5 >configure:5122: checking types of arguments for select() >configure:5155: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:5200: checking for regex.h >configure:5210: gcc -E conftest.c >/dev/null 2>conftest.out >configure:5240: checking for regfree >configure:5269: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldl 1>&5 >configure:5292: checking for compatible POSIX regex >configure:5327: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldl 1>&5 >configure:5349: checking for res_query >configure:5378: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldl 1>&5 >/var/tmp/portage/openldap-2.0.27-r4/temp/ccwwEKx0.o(.text+0x2): In function `main': >: undefined reference to `res_query' >collect2: ld returned 1 exit status >configure: failed program was: >#line 5354 "configure" >#include "confdefs.h" >/* System header to define __stub macros and hopefully few prototypes, > which can conflict with char res_query(); below. */ >#include <assert.h> >/* Override any gcc2 internal prototype to avoid an error. */ >/* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ >char res_query(); >char (*f)(); > >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_res_query) || defined (__stub___res_query) >choke me >#else >f = res_query; >#endif > >; return 0; } >configure:5399: checking for __res_query >configure:5428: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldl 1>&5 >/var/tmp/portage/openldap-2.0.27-r4/temp/ccGZIudh.o(.text+0x2): In function `main': >: undefined reference to `__res_query' >collect2: ld returned 1 exit status >configure: failed program was: >#line 5404 "configure" >#include "confdefs.h" >/* System header to define __stub macros and hopefully few prototypes, > which can conflict with char __res_query(); below. */ >#include <assert.h> >/* Override any gcc2 internal prototype to avoid an error. */ >/* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ >char __res_query(); >char (*f)(); > >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___res_query) || defined (__stub_____res_query) >choke me >#else >f = __res_query; >#endif > >; return 0; } >configure:5452: checking for res_query in -lbind >configure:5471: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lbind -ldl 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lbind >collect2: ld returned 1 exit status >configure: failed program was: >#line 5460 "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 res_query(); > >int main() { >res_query() >; return 0; } >configure:5503: checking for __res_query in -lbind >configure:5522: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lbind -ldl 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lbind >collect2: ld returned 1 exit status >configure: failed program was: >#line 5511 "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 __res_query(); > >int main() { >__res_query() >; return 0; } >configure:5554: checking for res_query in -lresolv >configure:5573: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >configure:5672: checking for getaddrinfo >configure:5701: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >configure:5672: checking for gai_strerror >configure:5701: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >configure:5672: checking for inet_ntop >configure:5701: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >configure:5774: checking for sys/un.h >configure:5784: gcc -E conftest.c >/dev/null 2>conftest.out >configure:6394: checking for openssl/ssl.h >configure:6404: gcc -E conftest.c >/dev/null 2>conftest.out >configure:6394: checking for ssl.h >configure:6404: gcc -E conftest.c >/dev/null 2>conftest.out >configure:6400:17: ssl.h: No such file or directory >configure: failed program was: >#line 6399 "configure" >#include "confdefs.h" >#include <ssl.h> >configure:6433: checking for SSLeay_add_ssl_algorithms in -lssl >configure:6452: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lssl -lcrypto -lresolv -ldl 1>&5 >/var/tmp/portage/openldap-2.0.27-r4/temp/ccQHRbwh.o(.text+0xa): In function `main': >: undefined reference to `SSLeay_add_ssl_algorithms' >collect2: ld returned 1 exit status >configure: failed program was: >#line 6441 "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:6477: checking for SSL_library_init in -lssl >configure:6496: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lssl -lcrypto -lresolv -ldl 1>&5 >configure:6611: checking for ctime_r >configure:6640: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >configure:6611: checking for gethostbyname_r >configure:6640: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >configure:6611: checking for gethostbyaddr_r >configure:6640: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >configure:6669: checking number of arguments of ctime_r >configure:6681: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure: In function `main': >configure:6677: too many arguments to function `ctime_r' >configure: failed program was: >#line 6674 "configure" >#include "confdefs.h" >#include <time.h> >int main() { >time_t ti; char *buffer; ctime_r(&ti,buffer,32); >; return 0; } >configure:6700: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:6740: checking number of arguments of gethostbyname_r >configure:6759: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure: In function `main': >configure:6755: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type >configure:6755: too few arguments to function `gethostbyname_r' >configure: failed program was: >#line 6745 "configure" >#include "confdefs.h" >#include <sys/types.h> >#include <sys/socket.h> >#include <netinet/in.h> >#include <netdb.h> >#define BUFSIZE (sizeof(struct hostent)+10) >int main() { >struct hostent hent; char buffer[BUFSIZE]; > int bufsize=BUFSIZE;int h_errno; > (void)gethostbyname_r("segovia.cs.purdue.edu", &hent, > buffer, bufsize, &h_errno); >; return 0; } >configure:6786: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:6827: checking number of arguments of gethostbyaddr_r >configure:6848: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure: In function `main': >configure:6844: warning: passing arg 7 of `gethostbyaddr_r' from incompatible pointer type >configure:6844: too few arguments to function `gethostbyaddr_r' >configure: failed program was: >#line 6832 "configure" >#include "confdefs.h" >#include <sys/types.h> >#include <sys/socket.h> >#include <netinet/in.h> >#include <netdb.h> >#define BUFSIZE (sizeof(struct hostent)+10) >int main() { >struct hostent hent; char buffer[BUFSIZE]; > struct in_addr add; > size_t alen=sizeof(struct in_addr); > int bufsize=BUFSIZE;int h_errno; > (void)gethostbyaddr_r( (void *)&(add.s_addr), > alen, AF_INET, &hent, buffer, bufsize, &h_errno); >; return 0; } >configure:6878: gcc -c -O3 -mcpu=pentium3 -pipe conftest.c 1>&5 >configure:6941: checking for _beginthread >configure:6970: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >/var/tmp/portage/openldap-2.0.27-r4/temp/ccay9Nxr.o(.text+0x2): In function `main': >: undefined reference to `_beginthread' >collect2: ld returned 1 exit status >configure: failed program was: >#line 6946 "configure" >#include "confdefs.h" >/* System header to define __stub macros and hopefully few prototypes, > which can conflict with char _beginthread(); below. */ >#include <assert.h> >/* Override any gcc2 internal prototype to avoid an error. */ >/* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ >char _beginthread(); >char (*f)(); > >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 >f = _beginthread; >#endif > >; return 0; } >configure:7025: checking for pthread.h >configure:7035: gcc -E conftest.c >/dev/null 2>conftest.out >configure:7064: checking POSIX thread version >configure:7145: checking for LinuxThreads pthread.h >configure:7177: checking for GNU Pth pthread.h >configure:7211: checking for sched.h >configure:7221: gcc -E conftest.c >/dev/null 2>conftest.out >configure:7251: checking for pthread_create in default libraries >configure:7437: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >/var/tmp/portage/openldap-2.0.27-r4/temp/ccYIMlom.o(.text+0x51): In function `main': >: undefined reference to `pthread_create' >/var/tmp/portage/openldap-2.0.27-r4/temp/ccYIMlom.o(.text+0x5a): In function `main': >: undefined reference to `pthread_kill_other_threads_np' >collect2: ld returned 1 exit status >configure: failed program was: >#line 7351 "configure" >#include "confdefs.h" >/* pthread test headers */ >#include <pthread.h> >#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:7462: checking for pthread link with -kthread >configure:7652: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -kthread -lresolv -ldl 1>&5 >gcc: unrecognized option `-kthread' >/var/tmp/portage/openldap-2.0.27-r4/temp/ccIOUBHG.o(.text+0x51): In function `main': >: undefined reference to `pthread_create' >/var/tmp/portage/openldap-2.0.27-r4/temp/ccIOUBHG.o(.text+0x5a): In function `main': >: undefined reference to `pthread_kill_other_threads_np' >collect2: ld returned 1 exit status >configure: failed program was: >#line 7566 "configure" >#include "confdefs.h" >/* pthread test headers */ >#include <pthread.h> >#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:7682: checking for pthread link with -pthread >configure:7872: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure:10780: checking for sched_yield >configure:10809: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure:10780: checking for pthread_yield >configure:10809: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure:10951: checking for pthread_kill >configure:10980: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure:10951: checking for pthread_rwlock_destroy >configure:10980: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure:11006: checking for pthread_detach with <pthread.h> >configure:11024: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure: In function `main': >configure:11020: warning: passing arg 1 of `pthread_detach' makes integer from pointer without a cast >configure:11056: checking for pthread_setconcurrency >configure:11085: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure:11056: checking for pthread_getconcurrency >configure:11085: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure:11056: checking for thr_setconcurrency >configure:11085: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >/var/tmp/portage/openldap-2.0.27-r4/temp/ccpyOFh5.o(.text+0x2): In function `main': >: undefined reference to `thr_setconcurrency' >collect2: ld returned 1 exit status >configure: failed program was: >#line 11061 "configure" >#include "confdefs.h" >/* System header to define __stub macros and hopefully few prototypes, > which can conflict with char thr_setconcurrency(); below. */ >#include <assert.h> >/* Override any gcc2 internal prototype to avoid an error. */ >/* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ >char thr_setconcurrency(); >char (*f)(); > >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_thr_setconcurrency) || defined (__stub___thr_setconcurrency) >choke me >#else >f = thr_setconcurrency; >#endif > >; return 0; } >configure:11056: checking for thr_getconcurrency >configure:11085: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >/var/tmp/portage/openldap-2.0.27-r4/temp/ccNRhFWb.o(.text+0x2): In function `main': >: undefined reference to `thr_getconcurrency' >collect2: ld returned 1 exit status >configure: failed program was: >#line 11061 "configure" >#include "confdefs.h" >/* System header to define __stub macros and hopefully few prototypes, > which can conflict with char thr_getconcurrency(); below. */ >#include <assert.h> >/* Override any gcc2 internal prototype to avoid an error. */ >/* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ >char thr_getconcurrency(); >char (*f)(); > >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_thr_getconcurrency) || defined (__stub___thr_getconcurrency) >choke me >#else >f = thr_getconcurrency; >#endif > >; return 0; } >configure:11114: checking for pthread_kill_other_threads_np >configure:11143: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure:11168: checking for LinuxThreads implementation >configure:11181: checking for LinuxThreads consistency >configure:11206: checking if pthread_create() works >configure:11301: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure:11323: checking if select yields when using pthreads >configure:11408: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -pthread -lresolv -ldl 1>&5 >configure: failed program was: >#line 11332 "configure" >#include "confdefs.h" > >#include <sys/types.h> >#include <sys/time.h> >#include <unistd.h> >#include <pthread.h> >#ifndef NULL >#define NULL (void*) 0 >#endif > >static int fildes[2]; > >static void *task(p) > void *p; >{ > int i; > struct timeval tv; > > fd_set rfds; > > tv.tv_sec=10; > tv.tv_usec=0; > > FD_ZERO(&rfds); > FD_SET(fildes[0], &rfds); > > /* we're not interested in any fds */ > i = select(FD_SETSIZE, &rfds, NULL, NULL, &tv); > > if(i < 0) { > perror("select"); > exit(10); > } > > exit(0); /* if we exit here, the select blocked the whole process */ >} > >int main(argc, argv) > int argc; > char **argv; >{ > pthread_t t; > > /* create a pipe to select */ > if(pipe(&fildes[0])) { > perror("select"); > exit(1); > } > >#ifdef HAVE_PTHREAD_SETCONCURRENCY > (void) pthread_setconcurrency(2); >#else >#ifdef HAVE_THR_SETCONCURRENCY > /* Set Solaris LWP concurrency to 2 */ > thr_setconcurrency(2); >#endif >#endif > >#if HAVE_PTHREADS_D4 > pthread_create(&t, pthread_attr_default, task, NULL); >#else > pthread_create(&t, NULL, task, NULL); >#endif > >#if HAVE_SCHED_YIELD > sched_yield(); /* make sure task runs first */ >#else >#ifdef HAVE_PTHREAD_YIELD > pthread_yield(); /* make sure task runs first */ >#endif >#endif > > exit(2); >} >configure:12317: checking for thread specific errno >configure:12330: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >configure:12346: checking for thread specific h_errno >configure:12359: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >configure:12996: checking for db3/db.h >configure:13006: gcc -E conftest.c >/dev/null 2>conftest.out >configure:13036: checking for Berkeley DB link (default) >configure:13093: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -lresolv -ldl 1>&5 >/var/tmp/portage/openldap-2.0.27-r4/temp/cc26JEew.o(.text+0x1e): In function `main': >: undefined reference to `db_version' >/var/tmp/portage/openldap-2.0.27-r4/temp/cc26JEew.o(.text+0x66): In function `main': >: undefined reference to `db_env_create' >collect2: ld returned 1 exit status >configure: failed program was: >#line 13046 "configure" >#include "confdefs.h" > >#ifdef HAVE_DB_185_H ># include <db_185.h> >#else ># include <db3/db.h> >#endif > >#ifndef DB_VERSION_MAJOR ># define DB_VERSION_MAJOR 1 >#endif > >#ifndef NULL >#define NULL ((void*)0) >#endif > >int main() { > >#if DB_VERSION_MAJOR > 1 > { > char *version; > int major, minor, patch; > > version = db_version( &major, &minor, &patch ); > > if( major != DB_VERSION_MAJOR || > minor < DB_VERSION_MINOR ) > { > printf("Berkeley DB version mismatch\n" > "\texpected: %s\n\tgot: %s\n", > DB_VERSION_STRING, version); > return 1; > } > } >#endif > >#if DB_VERSION_MAJOR > 2 > db_env_create( NULL, 0 ); >#elif DB_VERSION_MAJOR > 1 > db_appexit( NULL ); >#else > (void) dbopen( NULL, 0, 0, 0, NULL); >#endif > >; return 0; } >configure:13117: checking for Berkeley DB link (-ldb-3) >configure:13174: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldb-3 -lresolv -ldl 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb-3 >collect2: ld returned 1 exit status >configure: failed program was: >#line 13127 "configure" >#include "confdefs.h" > >#ifdef HAVE_DB_185_H ># include <db_185.h> >#else ># include <db3/db.h> >#endif > >#ifndef DB_VERSION_MAJOR ># define DB_VERSION_MAJOR 1 >#endif > >#ifndef NULL >#define NULL ((void*)0) >#endif > >int main() { > >#if DB_VERSION_MAJOR > 1 > { > char *version; > int major, minor, patch; > > version = db_version( &major, &minor, &patch ); > > if( major != DB_VERSION_MAJOR || > minor < DB_VERSION_MINOR ) > { > printf("Berkeley DB version mismatch\n" > "\texpected: %s\n\tgot: %s\n", > DB_VERSION_STRING, version); > return 1; > } > } >#endif > >#if DB_VERSION_MAJOR > 2 > db_env_create( NULL, 0 ); >#elif DB_VERSION_MAJOR > 1 > db_appexit( NULL ); >#else > (void) dbopen( NULL, 0, 0, 0, NULL); >#endif > >; return 0; } >configure:13198: checking for Berkeley DB link (-ldb4) >configure:13255: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldb4 -lresolv -ldl 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb4 >collect2: ld returned 1 exit status >configure: failed program was: >#line 13208 "configure" >#include "confdefs.h" > >#ifdef HAVE_DB_185_H ># include <db_185.h> >#else ># include <db3/db.h> >#endif > >#ifndef DB_VERSION_MAJOR ># define DB_VERSION_MAJOR 1 >#endif > >#ifndef NULL >#define NULL ((void*)0) >#endif > >int main() { > >#if DB_VERSION_MAJOR > 1 > { > char *version; > int major, minor, patch; > > version = db_version( &major, &minor, &patch ); > > if( major != DB_VERSION_MAJOR || > minor < DB_VERSION_MINOR ) > { > printf("Berkeley DB version mismatch\n" > "\texpected: %s\n\tgot: %s\n", > DB_VERSION_STRING, version); > return 1; > } > } >#endif > >#if DB_VERSION_MAJOR > 2 > db_env_create( NULL, 0 ); >#elif DB_VERSION_MAJOR > 1 > db_appexit( NULL ); >#else > (void) dbopen( NULL, 0, 0, 0, NULL); >#endif > >; return 0; } >configure:13279: checking for Berkeley DB link (-ldb3) >configure:13336: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldb3 -lresolv -ldl 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb3 >collect2: ld returned 1 exit status >configure: failed program was: >#line 13289 "configure" >#include "confdefs.h" > >#ifdef HAVE_DB_185_H ># include <db_185.h> >#else ># include <db3/db.h> >#endif > >#ifndef DB_VERSION_MAJOR ># define DB_VERSION_MAJOR 1 >#endif > >#ifndef NULL >#define NULL ((void*)0) >#endif > >int main() { > >#if DB_VERSION_MAJOR > 1 > { > char *version; > int major, minor, patch; > > version = db_version( &major, &minor, &patch ); > > if( major != DB_VERSION_MAJOR || > minor < DB_VERSION_MINOR ) > { > printf("Berkeley DB version mismatch\n" > "\texpected: %s\n\tgot: %s\n", > DB_VERSION_STRING, version); > return 1; > } > } >#endif > >#if DB_VERSION_MAJOR > 2 > db_env_create( NULL, 0 ); >#elif DB_VERSION_MAJOR > 1 > db_appexit( NULL ); >#else > (void) dbopen( NULL, 0, 0, 0, NULL); >#endif > >; return 0; } >configure:13360: checking for Berkeley DB link (-ldb2) >configure:13417: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldb2 -lresolv -ldl 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb2 >collect2: ld returned 1 exit status >configure: failed program was: >#line 13370 "configure" >#include "confdefs.h" > >#ifdef HAVE_DB_185_H ># include <db_185.h> >#else ># include <db3/db.h> >#endif > >#ifndef DB_VERSION_MAJOR ># define DB_VERSION_MAJOR 1 >#endif > >#ifndef NULL >#define NULL ((void*)0) >#endif > >int main() { > >#if DB_VERSION_MAJOR > 1 > { > char *version; > int major, minor, patch; > > version = db_version( &major, &minor, &patch ); > > if( major != DB_VERSION_MAJOR || > minor < DB_VERSION_MINOR ) > { > printf("Berkeley DB version mismatch\n" > "\texpected: %s\n\tgot: %s\n", > DB_VERSION_STRING, version); > return 1; > } > } >#endif > >#if DB_VERSION_MAJOR > 2 > db_env_create( NULL, 0 ); >#elif DB_VERSION_MAJOR > 1 > db_appexit( NULL ); >#else > (void) dbopen( NULL, 0, 0, 0, NULL); >#endif > >; return 0; } >configure:13441: checking for Berkeley DB link (-ldb1) >configure:13498: gcc -o conftest -O3 -mcpu=pentium3 -pipe conftest.c -ldb1 -lresolv -ldl 1>&5 >/var/tmp/portage/openldap-2.0.27-r4/temp/cc8UPnoS.o(.text+0x1e): In function `main': >: undefined reference to `db_version' >/var/tmp/portage/openldap-2.0.27-r4/temp/cc8UPnoS.o(.text+0x66): In function `main': >: undefined reference to `db_env_create' >collect2: ld returned 1 exit status >configure: failed program was: >#line 13451 "configure" >#include "confdefs.h" > >#ifdef HAVE_DB_185_H ># include <db_185.h> >#else ># include <db3/db.h> >#endif > >#ifndef DB_VERSION_MAJOR ># define DB_VERSION_MAJOR 1 >#endif > >#ifndef NULL >#define NULL ((void*)0) >#endif > >int main() { > >#if DB_VERSION_MAJOR > 1 > { > char *version; > int major, minor, patch; > > version = db_version( &major, &minor, &patch ); > > if( major != DB_VERSION_MAJOR || > minor < DB_VERSION_MINOR ) > { > printf("Berkeley DB version mismatch\n" > "\texpected: %s\n\tgot: %s\n", > DB_VERSION_STRING, version); > return 1; > } > } >#endif > >#if DB_VERSION_MAJOR > 2 > db_env_create( NULL, 0 ); >#elif DB_VERSION_MAJOR > 1 > db_appexit( NULL ); >#else > (void) dbopen( NULL, 0, 0, 0, NULL); >#endif > >; return 0; }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 31037
: 19215