This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by sysbench configure 0.4.8, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --enable-largefile --with-mysql --with-pgsql=no --prefix=/usr/local i386-unknown-gnu ## --------- ## ## Platform. ## ## --------- ## hostname = darwintel uname -m = x86 uname -r = 8.0.1 uname -s = Darwin uname -v = Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = Mach kernel version: Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 Kernel configured for up to 4 processors. 4 processors are physically available. Processor type: pentpro (Intel Pentium Pro) Processors active: 0 1 2 3 Primary memory available: 1023.00 megabytes Default processor set: 140 tasks, 194 threads, 4 processors Load average: 1.72, Mach factor: 2.27 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /var/root/usr/local/bin PATH: /var/root/usr/bin PATH: /var/root/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1556: checking build system type configure:1574: result: i386-unknown-gnu configure:1582: checking host system type configure:1596: result: i386-unknown-gnu configure:1604: checking target system type configure:1618: result: i386-unknown-gnu configure:1646: checking for a BSD-compatible install configure:1701: result: /usr/bin/install -c -o root -g wheel configure:1712: checking whether build environment is sane configure:1755: result: yes configure:1820: checking for gawk configure:1836: found /usr/local/bin/gawk configure:1846: result: gawk configure:1856: checking whether make sets $(MAKE) configure:1876: result: yes configure:2060: checking whether to compile with MySQL support configure:2067: result: yes configure:2080: checking whether to compile with Oracle support configure:2087: result: no configure:2100: checking whether to compile with PostgreSQL support configure:2107: result: no configure:2133: checking for style of include used by make configure:2161: result: GNU configure:2194: checking for i386-unknown-gnu-gcc configure:2220: result: cc configure:2502: checking for C compiler version configure:2505: cc --version &5 cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2508: $? = 0 configure:2510: cc -v &5 Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) configure:2513: $? = 0 configure:2515: cc -V &5 cc: `-V' option must have argument configure:2518: $? = 1 configure:2541: checking for C compiler default output file name configure:2544: cc -fno-common conftest.c >&5 configure:2547: $? = 0 configure:2593: result: a.out configure:2598: checking whether the C compiler works configure:2604: ./a.out configure:2607: $? = 0 configure:2624: result: yes configure:2631: checking whether we are cross compiling configure:2633: result: no configure:2636: checking for suffix of executables configure:2638: cc -o conftest -fno-common conftest.c >&5 configure:2641: $? = 0 configure:2666: result: configure:2672: checking for suffix of object files configure:2693: cc -c -fno-common conftest.c >&5 configure:2696: $? = 0 configure:2718: result: configure:2722: checking whether we are using the GNU C compiler configure:2746: cc -c -fno-common conftest.c >&5 configure:2752: $? = 0 configure:2756: test -z || test ! -s conftest.err configure:2759: $? = 0 configure:2762: test -s conftest. configure:2765: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:2778: result: no configure:2784: checking whether cc accepts -g configure:2805: cc -c -g conftest.c >&5 configure:2811: $? = 0 configure:2815: test -z || test ! -s conftest.err configure:2818: $? = 0 configure:2821: test -s conftest. configure:2824: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2835: result: no configure:2852: checking for cc option to accept ANSI C configure:2922: cc -c -fno-common conftest.c >&5 configure:2928: $? = 0 configure:2932: test -z || test ! -s conftest.err configure:2935: $? = 0 configure:2938: test -s conftest. configure:2941: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2922: cc -qlanglvl=ansi -c -fno-common conftest.c >&5 cc: unrecognized option `-qlanglvl=ansi' configure:2928: $? = 0 configure:2932: test -z || test ! -s conftest.err configure:2935: $? = 0 configure:2938: test -s conftest. configure:2941: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2922: cc -std1 -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std1' configure:2928: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2922: cc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2928: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2922: cc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2928: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2922: cc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 cc: unrecognized option `-Xc' configure:2928: $? = 0 configure:2932: test -z || test ! -s conftest.err configure:2935: $? = 0 configure:2938: test -s conftest. configure:2941: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2959: result: none needed configure:2977: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2983: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:3118: checking dependency style of cc configure:3208: result: gcc3 configure:3226: checking whether SHM_HUGETLB is declared configure:3254: cc -c -fno-common conftest.c >&5 conftest.c: In function `main': conftest.c:20: error: `SHM_HUGETLB' undeclared (first use in this function) conftest.c:20: error: (Each undeclared identifier is reported only once conftest.c:20: error: for each function it appears in.) configure:3260: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | /* end confdefs.h. */ | | #include | | | | int | main () | { | #ifndef SHM_HUGETLB | char *p = (char *) SHM_HUGETLB; | #endif | | ; | return 0; | } configure:3284: result: no configure:3323: checking whether O_SYNC is declared configure:3351: cc -c -fno-common conftest.c >&5 configure:3357: $? = 0 configure:3361: test -z || test ! -s conftest.err configure:3364: $? = 0 configure:3367: test -s conftest. configure:3370: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | /* end confdefs.h. */ | | #include | | | | int | main () | { | #ifndef O_SYNC | char *p = (char *) O_SYNC; | #endif | | ; | return 0; | } configure:3381: result: no configure:3413: checking for i386-unknown-gnu-gcc configure:3439: result: cc configure:3721: checking for C compiler version configure:3724: cc --version &5 cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3727: $? = 0 configure:3729: cc -v &5 Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) configure:3732: $? = 0 configure:3734: cc -V &5 cc: `-V' option must have argument configure:3737: $? = 1 configure:3740: checking whether we are using the GNU C compiler configure:3796: result: no configure:3802: checking whether cc accepts -g configure:3853: result: no configure:3870: checking for cc option to accept ANSI C configure:3977: result: none needed configure:3995: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:4001: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:4136: checking dependency style of cc configure:4226: result: gcc3 configure:4315: checking for a sed that does not truncate output configure:4369: result: /usr/local/bin/sed configure:4372: checking for egrep configure:4382: result: grep -E configure:4431: checking for non-GNU ld configure:4465: result: /usr/bin/ld configure:4474: checking if the linker (/usr/bin/ld) is GNU ld configure:4489: result: no configure:4494: checking for /usr/bin/ld option to reload object files configure:4501: result: -r configure:4519: checking for BSD-compatible nm configure:4568: result: /usr/bin/nm -p configure:4572: checking whether ln -s works configure:4576: result: yes configure:4583: checking how to recognise dependent libraries configure:4759: result: pass_all configure:4995: checking how to run the C preprocessor configure:5030: cc -E conftest.c configure:5036: $? = 0 configure:5068: cc -E conftest.c conftest.c:14:28: ac_nonexistent.h: No such file or directory configure:5074: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include configure:5113: result: cc -E configure:5137: cc -E conftest.c configure:5143: $? = 0 configure:5175: cc -E conftest.c conftest.c:14:28: ac_nonexistent.h: No such file or directory configure:5181: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include configure:5225: checking for ANSI C header files configure:5250: cc -c -fno-common conftest.c >&5 configure:5256: $? = 0 configure:5260: test -z || test ! -s conftest.err configure:5263: $? = 0 configure:5266: test -s conftest. configure:5269: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #include | #include | #include | | int | main () | { | | ; | return 0; | } configure:5378: result: no configure:5402: checking for sys/types.h configure:5418: cc -c -fno-common conftest.c >&5 configure:5424: $? = 0 configure:5428: test -z || test ! -s conftest.err configure:5431: $? = 0 configure:5434: test -s conftest. configure:5437: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:5448: result: no configure:5402: checking for sys/stat.h configure:5418: cc -c -fno-common conftest.c >&5 configure:5424: $? = 0 configure:5428: test -z || test ! -s conftest.err configure:5431: $? = 0 configure:5434: test -s conftest. configure:5437: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:5448: result: no configure:5402: checking for stdlib.h configure:5418: cc -c -fno-common conftest.c >&5 configure:5424: $? = 0 configure:5428: test -z || test ! -s conftest.err configure:5431: $? = 0 configure:5434: test -s conftest. configure:5437: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:5448: result: no configure:5402: checking for string.h configure:5418: cc -c -fno-common conftest.c >&5 configure:5424: $? = 0 configure:5428: test -z || test ! -s conftest.err configure:5431: $? = 0 configure:5434: test -s conftest. configure:5437: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:5448: result: no configure:5402: checking for memory.h configure:5418: cc -c -fno-common conftest.c >&5 configure:5424: $? = 0 configure:5428: test -z || test ! -s conftest.err configure:5431: $? = 0 configure:5434: test -s conftest. configure:5437: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:5448: result: no configure:5402: checking for strings.h configure:5418: cc -c -fno-common conftest.c >&5 configure:5424: $? = 0 configure:5428: test -z || test ! -s conftest.err configure:5431: $? = 0 configure:5434: test -s conftest. configure:5437: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:5448: result: no configure:5402: checking for inttypes.h configure:5418: cc -c -fno-common conftest.c >&5 configure:5424: $? = 0 configure:5428: test -z || test ! -s conftest.err configure:5431: $? = 0 configure:5434: test -s conftest. configure:5437: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:5448: result: no configure:5402: checking for stdint.h configure:5418: cc -c -fno-common conftest.c >&5 configure:5424: $? = 0 configure:5428: test -z || test ! -s conftest.err configure:5431: $? = 0 configure:5434: test -s conftest. configure:5437: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:5448: result: no configure:5402: checking for unistd.h configure:5418: cc -c -fno-common conftest.c >&5 configure:5424: $? = 0 configure:5428: test -z || test ! -s conftest.err configure:5431: $? = 0 configure:5434: test -s conftest. configure:5437: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:5448: result: no configure:5474: checking dlfcn.h usability configure:5486: cc -c -fno-common conftest.c >&5 configure:5492: $? = 0 configure:5496: test -z || test ! -s conftest.err configure:5499: $? = 0 configure:5502: test -s conftest. configure:5505: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:5515: result: no configure:5519: checking dlfcn.h presence configure:5529: cc -E conftest.c configure:5535: $? = 0 configure:5555: result: yes configure:5568: WARNING: dlfcn.h: present but cannot be compiled configure:5570: WARNING: dlfcn.h: check for missing prerequisite headers? configure:5572: WARNING: dlfcn.h: see the Autoconf documentation configure:5574: WARNING: dlfcn.h: section "Present But Cannot Be Compiled" configure:5576: WARNING: dlfcn.h: proceeding with the preprocessor's result configure:5578: WARNING: dlfcn.h: in the future, the compiler will take precedence configure:5590: checking for dlfcn.h configure:5597: result: yes configure:5620: checking for i386-unknown-gnu-g++ configure:5646: result: c++ configure:5704: checking for C++ compiler version configure:5707: c++ --version &5 c++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:5710: $? = 0 configure:5712: c++ -v &5 Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) configure:5715: $? = 0 configure:5717: c++ -V &5 c++: `-V' option must have argument configure:5720: $? = 1 configure:5723: checking whether we are using the GNU C++ compiler configure:5747: c++ -c -fno-common conftest.cc >&5 configure:5753: $? = 0 configure:5757: test -z || test ! -s conftest.err configure:5760: $? = 0 configure:5763: test -s conftest. configure:5766: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:5779: result: no configure:5785: checking whether c++ accepts -g configure:5806: c++ -c -g conftest.cc >&5 configure:5812: $? = 0 configure:5816: test -z || test ! -s conftest.err configure:5819: $? = 0 configure:5822: test -s conftest. configure:5825: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5836: result: no configure:5878: c++ -c -fno-common conftest.cc >&5 configure:5884: $? = 0 configure:5888: test -z || test ! -s conftest.err configure:5891: $? = 0 configure:5894: test -s conftest. configure:5897: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | #include | int | main () | { | exit (42); | ; | return 0; | } configure:5878: c++ -c -fno-common conftest.cc >&5 configure:5884: $? = 0 configure:5888: test -z || test ! -s conftest.err configure:5891: $? = 0 configure:5894: test -s conftest. configure:5897: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | extern "C" void std::exit (int) throw (); using std::exit; | #include | int | main () | { | exit (42); | ; | return 0; | } configure:5878: c++ -c -fno-common conftest.cc >&5 configure:5884: $? = 0 configure:5888: test -z || test ! -s conftest.err configure:5891: $? = 0 configure:5894: test -s conftest. configure:5897: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | extern "C" void std::exit (int); using std::exit; | #include | int | main () | { | exit (42); | ; | return 0; | } configure:5878: c++ -c -fno-common conftest.cc >&5 In file included from conftest.cc:16: /usr/include/stdlib.h:158: error: declaration of `void exit(int)' throws different exceptions conftest.cc:15: error: than previous declaration `void exit(int) throw ()' configure:5884: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | extern "C" void exit (int) throw (); | #include | int | main () | { | exit (42); | ; | return 0; | } configure:5878: c++ -c -fno-common conftest.cc >&5 configure:5884: $? = 0 configure:5888: test -z || test ! -s conftest.err configure:5891: $? = 0 configure:5894: test -s conftest. configure:5897: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | extern "C" void exit (int); | #include | int | main () | { | exit (42); | ; | return 0; | } configure:5878: c++ -c -fno-common conftest.cc >&5 In file included from conftest.cc:16: conftest.cc:15: error: previous declaration of `void exit(int)' with C++ linkage /usr/include/stdlib.h:158: error: conflicts with new declaration with C linkage configure:5884: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | void exit (int); | #include | int | main () | { | exit (42); | ; | return 0; | } configure:5967: checking dependency style of c++ configure:6057: result: gcc3 configure:6084: checking how to run the C++ preprocessor configure:6115: c++ -E conftest.cc configure:6121: $? = 0 configure:6153: c++ -E conftest.cc conftest.cc:18:28: ac_nonexistent.h: No such file or directory configure:6159: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include configure:6198: result: c++ -E configure:6222: c++ -E conftest.cc configure:6228: $? = 0 configure:6260: c++ -E conftest.cc conftest.cc:18:28: ac_nonexistent.h: No such file or directory configure:6266: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include configure:6321: checking for i386-unknown-gnu-g77 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-f77 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-xlf configure:6350: result: no configure:6321: checking for i386-unknown-gnu-frt configure:6350: result: no configure:6321: checking for i386-unknown-gnu-pgf77 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-fort77 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-fl32 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-af77 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-f90 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-xlf90 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-pgf90 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-epcf90 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-f95 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-fort configure:6350: result: no configure:6321: checking for i386-unknown-gnu-xlf95 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-ifc configure:6350: result: no configure:6321: checking for i386-unknown-gnu-efc configure:6350: result: no configure:6321: checking for i386-unknown-gnu-pgf95 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-lf95 configure:6350: result: no configure:6321: checking for i386-unknown-gnu-gfortran configure:6350: result: no configure:6363: checking for g77 configure:6392: result: no configure:6363: checking for f77 configure:6379: found /usr/local/bin/f77 configure:6389: result: f77 configure:6407: checking for Fortran 77 compiler version configure:6407: f77 --version &5 sh: -c: line 1: syntax error near unexpected token `|' sh: -c: line 1: `/usr/local/bin/f77 -1 < | f2c -f | /usr/local/bin/f77 -2 > /tmp/' cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:6410: $? = 0 configure:6412: f77 -v &5 sh: -c: line 1: syntax error near unexpected token `|' sh: -c: line 1: `/usr/local/bin/f77 -1 < | f2c -f | /usr/local/bin/f77 -2 > /tmp/' Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) cc: /tmp/: linker input file unused because linking not done configure:6415: $? = 0 configure:6417: f77 -V &5 sh: -c: line 1: syntax error near unexpected token `|' sh: -c: line 1: `/usr/local/bin/f77 -1 < | f2c -f | /usr/local/bin/f77 -2 > /tmp/' cc: `-V' must come at the start of the command line configure:6420: $? = 0 configure:6428: checking whether we are using the GNU Fortran 77 compiler configure:6442: f77 -c conftest.F >&5 Error on line 2: Bad # line: "#ifndef __GNUC__" Error on line 4: Bad # line: "#endif" Error on line 3: unclassifiable statement (starts "chokeme") cc: /tmp/conftest.F: Fortran compiler not installed on this system configure:6448: $? = 0 configure:6452: test -z || test ! -s conftest.err configure:6455: $? = 0 configure:6458: test -s conftest. configure:6461: $? = 1 configure: failed program was: | program main | #ifndef __GNUC__ | choke me | #endif | | end configure:6474: result: no configure:6480: checking whether f77 accepts -g configure:6492: f77 -c -g conftest.f >&5 configure:6498: $? = 0 configure:6502: test -z || test ! -s conftest.err configure:6505: $? = 0 configure:6508: test -s conftest. configure:6511: $? = 1 configure: failed program was: | program main | | end configure:6523: result: no configure:6553: checking the maximum length of command line arguments configure:6662: result: configure:6673: checking command to parse /usr/bin/nm -p output from cc object configure:6778: cc -c -fno-common conftest.c >&5 configure:6781: $? = 0 configure:6785: /usr/bin/nm -p conftest. \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm /usr/bin/nm: can't open file: conftest. (No such file or directory) configure:6788: $? = 0 cannot run sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' configure:6778: cc -c -fno-common conftest.c >&5 configure:6781: $? = 0 configure:6785: /usr/bin/nm -p conftest. \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' \> conftest.nm /usr/bin/nm: can't open file: conftest. (No such file or directory) configure:6788: $? = 0 cannot run sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' configure:6878: result: failed configure:6885: checking for objdir configure:6900: result: .libs configure:6952: checking for i386-unknown-gnu-ar configure:6981: result: no configure:6990: checking for ar configure:7006: found /usr/bin/ar configure:7017: result: ar configure:7032: checking for i386-unknown-gnu-ranlib configure:7061: result: no configure:7070: checking for ranlib configure:7086: found /usr/bin/ranlib configure:7097: result: ranlib configure:7112: checking for i386-unknown-gnu-strip configure:7141: result: no configure:7150: checking for strip configure:7166: found /usr/bin/strip configure:7177: result: strip configure:7400: checking for correct ltmain.sh version configure:7450: result: yes configure:7560: checking for cc option to produce PIC configure:7770: result: configure:7841: checking if cc static flag works configure:7869: result: yes configure:7879: checking if cc supports -c -o file.o configure:7903: cc -c -fno-common -o out/conftest2.o conftest.c >&5 configure:7907: $? = 0 configure:7926: result: yes configure:7952: checking whether the cc linker (/usr/bin/ld) supports shared libraries configure:8910: result: no configure:8977: checking dynamic linker characteristics configure:9602: result: gnu ld.so configure:9611: checking how to hardcode library paths into programs configure:9636: result: unsupported configure:9650: checking whether stripping libraries is possible configure:9671: result: no configure:10489: checking if libtool supports shared libraries configure:10491: result: no configure:10494: checking whether to build shared libraries configure:10515: result: no configure:10518: checking whether to build static libraries configure:10522: result: yes configure:10614: creating libtool configure:11344: checking whether the c++ linker (/usr/bin/ld) supports shared libraries configure:12282: result: yes configure:12300: c++ -c -fno-common conftest.cpp >&5 configure:12303: $? = 0 configure:12422: checking for c++ option to produce PIC configure:12696: result: configure:12767: checking if c++ static flag works configure:12795: result: yes configure:12805: checking if c++ supports -c -o file.o configure:12829: c++ -c -fno-common -o out/conftest2.o conftest.cpp >&5 configure:12833: $? = 0 configure:12852: result: yes configure:12878: checking whether the c++ linker (/usr/bin/ld) supports shared libraries configure:12903: result: yes configure:12970: checking dynamic linker characteristics configure:13595: result: gnu ld.so configure:13604: checking how to hardcode library paths into programs configure:13629: result: unsupported configure:14155: checking if libtool supports shared libraries configure:14157: result: no configure:14160: checking whether to build shared libraries configure:14180: result: no configure:14183: checking whether to build static libraries configure:14187: result: yes configure:14197: checking for f77 option to produce PIC configure:14407: result: configure:14478: checking if f77 static flag works configure:14506: result: yes configure:14516: checking if f77 supports -c -o file.o configure:14540: f77 -c -o out/conftest2.o conftest.f >&5 configure:14544: $? = 0 configure:14563: result: yes configure:14589: checking whether the f77 linker (/usr/bin/ld) supports shared libraries configure:15527: result: no configure:15594: checking dynamic linker characteristics configure:16219: result: gnu ld.so configure:16228: checking how to hardcode library paths into programs configure:16253: result: unsupported configure:19878: checking for xsltproc configure:19894: found /usr/local/bin/xsltproc configure:19904: result: xsltproc configure:19913: checking whether xsltproc works configure:19931: result: no configure:20146: checking for the pthreads library -lpthreads configure:20184: cc -o conftest -fno-common conftest.c -lpthreads >&5 ld: can't locate file for: -lpthreads configure:20190: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:20217: result: no configure:20093: checking whether pthreads work without any flags configure:20184: cc -o conftest -fno-common conftest.c >&5 configure:20190: $? = 0 configure:20194: test -z || test ! -s conftest.err configure:20197: $? = 0 configure:20200: test -s conftest configure:20203: $? = 0 configure:20217: result: yes configure:20236: checking for joinable pthread attribute configure:20256: cc -o conftest -fno-common conftest.c >&5 configure:20262: $? = 0 configure:20266: test -z || test ! -s conftest.err configure:20269: $? = 0 configure:20272: test -s conftest configure:20275: $? = 0 configure:20286: result: PTHREAD_CREATE_JOINABLE configure:20296: checking if more special flags are required for pthreads configure:20303: result: no configure:20315: checking for cc_r configure:20342: result: cc configure:20378: checking for sqrt in -lm configure:20408: cc -o conftest -fno-common conftest.c -lm >&5 conftest.c:26: warning: conflicting types for built-in function `sqrt' configure:20414: $? = 0 configure:20418: test -z || test ! -s conftest.err configure:20421: $? = 0 configure:20424: test -s conftest configure:20427: $? = 0 configure:20440: result: yes configure:20532: checking for mysql_config configure:20550: found /usr/bin/mysql_config configure:20562: result: /usr/bin/mysql_config configure:20594: checking MySQL C flags configure:20597: result: -I/usr/include/mysql -fno-omit-frame-pointer -pipe -no-cpp-precomp configure:20602: checking MySQL linker flags configure:20606: result: -pipe -no-cpp-precomp -L/usr/lib/mysql -lmysqlclient_r -lz -lm configure:20810: checking libaio.h usability configure:20822: cc -c -fno-common conftest.c >&5 conftest.c:55:20: libaio.h: No such file or directory configure:20828: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:20851: result: no configure:20855: checking libaio.h presence configure:20865: cc -E conftest.c conftest.c:21:20: libaio.h: No such file or directory configure:20871: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | /* end confdefs.h. */ | #include configure:20891: result: no configure:20926: checking for libaio.h configure:20933: result: no configure:21108: checking for ANSI C header files configure:21261: result: no configure:21316: checking errno.h usability configure:21328: cc -c -fno-common conftest.c >&5 configure:21334: $? = 0 configure:21338: test -z || test ! -s conftest.err configure:21341: $? = 0 configure:21344: test -s conftest.o configure:21347: $? = 0 configure:21357: result: yes configure:21361: checking errno.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21432: checking for errno.h configure:21439: result: yes configure:21316: checking fcntl.h usability configure:21328: cc -c -fno-common conftest.c >&5 configure:21334: $? = 0 configure:21338: test -z || test ! -s conftest.err configure:21341: $? = 0 configure:21344: test -s conftest.o configure:21347: $? = 0 configure:21357: result: yes configure:21361: checking fcntl.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21432: checking for fcntl.h configure:21439: result: yes configure:21316: checking math.h usability configure:21328: cc -c -fno-common conftest.c >&5 configure:21334: $? = 0 configure:21338: test -z || test ! -s conftest.err configure:21341: $? = 0 configure:21344: test -s conftest.o configure:21347: $? = 0 configure:21357: result: yes configure:21361: checking math.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21432: checking for math.h configure:21439: result: yes configure:21316: checking pthread.h usability configure:21328: cc -c -fno-common conftest.c >&5 configure:21334: $? = 0 configure:21338: test -z || test ! -s conftest.err configure:21341: $? = 0 configure:21344: test -s conftest.o configure:21347: $? = 0 configure:21357: result: yes configure:21361: checking pthread.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21432: checking for pthread.h configure:21439: result: yes configure:21316: checking sched.h usability configure:21328: cc -c -fno-common conftest.c >&5 configure:21334: $? = 0 configure:21338: test -z || test ! -s conftest.err configure:21341: $? = 0 configure:21344: test -s conftest.o configure:21347: $? = 0 configure:21357: result: yes configure:21361: checking sched.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21432: checking for sched.h configure:21439: result: yes configure:21316: checking signal.h usability configure:21328: cc -c -fno-common conftest.c >&5 configure:21334: $? = 0 configure:21338: test -z || test ! -s conftest.err configure:21341: $? = 0 configure:21344: test -s conftest.o configure:21347: $? = 0 configure:21357: result: yes configure:21361: checking signal.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21432: checking for signal.h configure:21439: result: yes configure:21307: checking for stdlib.h configure:21312: result: no configure:21307: checking for string.h configure:21312: result: no configure:21316: checking sys/aio.h usability configure:21328: cc -c -fno-common conftest.c >&5 In file included from conftest.c:61: /usr/include/sys/aio.h:39: error: parse error before "off_t" /usr/include/sys/aio.h:45: error: parse error before '}' token /usr/include/sys/aio.h:186: error: parse error before "aio_return" configure:21334: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:21357: result: no configure:21361: checking sys/aio.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21410: WARNING: sys/aio.h: present but cannot be compiled configure:21412: WARNING: sys/aio.h: check for missing prerequisite headers? configure:21414: WARNING: sys/aio.h: see the Autoconf documentation configure:21416: WARNING: sys/aio.h: section "Present But Cannot Be Compiled" configure:21418: WARNING: sys/aio.h: proceeding with the preprocessor's result configure:21420: WARNING: sys/aio.h: in the future, the compiler will take precedence configure:21432: checking for sys/aio.h configure:21439: result: yes configure:21316: checking sys/ipc.h usability configure:21328: cc -c -fno-common conftest.c >&5 configure:21334: $? = 0 configure:21338: test -z || test ! -s conftest.err configure:21341: $? = 0 configure:21344: test -s conftest.o configure:21347: $? = 0 configure:21357: result: yes configure:21361: checking sys/ipc.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21432: checking for sys/ipc.h configure:21439: result: yes configure:21316: checking sys/time.h usability configure:21328: cc -c -fno-common conftest.c >&5 configure:21334: $? = 0 configure:21338: test -z || test ! -s conftest.err configure:21341: $? = 0 configure:21344: test -s conftest.o configure:21347: $? = 0 configure:21357: result: yes configure:21361: checking sys/time.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21432: checking for sys/time.h configure:21439: result: yes configure:21316: checking sys/mman.h usability configure:21328: cc -c -fno-common conftest.c >&5 configure:21334: $? = 0 configure:21338: test -z || test ! -s conftest.err configure:21341: $? = 0 configure:21344: test -s conftest.o configure:21347: $? = 0 configure:21357: result: yes configure:21361: checking sys/mman.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21432: checking for sys/mman.h configure:21439: result: yes configure:21316: checking sys/shm.h usability configure:21328: cc -c -fno-common conftest.c >&5 configure:21334: $? = 0 configure:21338: test -z || test ! -s conftest.err configure:21341: $? = 0 configure:21344: test -s conftest.o configure:21347: $? = 0 configure:21357: result: yes configure:21361: checking sys/shm.h presence configure:21371: cc -E conftest.c configure:21377: $? = 0 configure:21397: result: yes configure:21432: checking for sys/shm.h configure:21439: result: yes configure:21316: checking thread.h usability configure:21328: cc -c -fno-common conftest.c >&5 conftest.c:66:20: thread.h: No such file or directory configure:21334: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:21357: result: no configure:21361: checking thread.h presence configure:21371: cc -E conftest.c conftest.c:32:20: thread.h: No such file or directory configure:21377: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | /* end confdefs.h. */ | #include configure:21397: result: no configure:21432: checking for thread.h configure:21439: result: no configure:21307: checking for unistd.h configure:21312: result: no configure:21455: checking for inline configure:21476: cc -c -fno-common conftest.c >&5 configure:21482: $? = 0 configure:21486: test -z || test ! -s conftest.err configure:21489: $? = 0 configure:21492: test -s conftest.o configure:21495: $? = 0 configure:21507: result: inline configure:21526: checking for off_t configure:21550: cc -c -fno-common conftest.c >&5 conftest.c: In function `main': conftest.c:69: error: `off_t' undeclared (first use in this function) conftest.c:69: error: (Each undeclared identifier is reported only once conftest.c:69: error: for each function it appears in.) conftest.c:69: error: parse error before ')' token configure:21556: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | int | main () | { | if ((off_t *) 0) | return 0; | if (sizeof (off_t)) | return 0; | ; | return 0; | } configure:21580: result: no configure:21592: checking for size_t configure:21616: cc -c -fno-common conftest.c >&5 configure:21622: $? = 0 configure:21626: test -z || test ! -s conftest.err configure:21629: $? = 0 configure:21632: test -s conftest.o configure:21635: $? = 0 configure:21646: result: yes configure:21658: checking whether time.h and sys/time.h may both be included configure:21683: cc -c -fno-common conftest.c >&5 configure:21689: $? = 0 configure:21693: test -z || test ! -s conftest.err configure:21696: $? = 0 configure:21699: test -s conftest.o configure:21702: $? = 0 configure:21713: result: yes configure:21732: checking for special C compiler options needed for large files configure:21767: cc -c -fno-common conftest.c >&5 conftest.c:40: warning: left shift count >= width of type conftest.c:40: warning: left shift count >= width of type conftest.c:42: error: size of array `off_t_is_large' is negative configure:21773: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | /* end confdefs.h. */ | #include | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int | main () | { | | ; | return 0; | } configure:21797: cc -n32 -c -fno-common conftest.c >&5 cc: unrecognized option `-n32' conftest.c:40: warning: left shift count >= width of type conftest.c:40: warning: left shift count >= width of type conftest.c:42: error: size of array `off_t_is_large' is negative configure:21803: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | /* end confdefs.h. */ | #include | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int | main () | { | | ; | return 0; | } configure:21831: result: no configure:21837: checking for _FILE_OFFSET_BITS value needed for large files configure:21868: cc -c -fno-common conftest.c >&5 conftest.c:40: warning: left shift count >= width of type conftest.c:40: warning: left shift count >= width of type conftest.c:42: error: size of array `off_t_is_large' is negative configure:21874: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | /* end confdefs.h. */ | #include | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int | main () | { | | ; | return 0; | } configure:21921: cc -c -fno-common conftest.c >&5 conftest.c:41: warning: left shift count >= width of type conftest.c:41: warning: left shift count >= width of type conftest.c:43: error: size of array `off_t_is_large' is negative configure:21927: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | /* end confdefs.h. */ | #define _FILE_OFFSET_BITS 64 | #include | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int | main () | { | | ; | return 0; | } configure:21952: result: no configure:21962: checking for _LARGE_FILES value needed for large files configure:21993: cc -c -fno-common conftest.c >&5 conftest.c:40: warning: left shift count >= width of type conftest.c:40: warning: left shift count >= width of type conftest.c:42: error: size of array `off_t_is_large' is negative configure:21999: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | /* end confdefs.h. */ | #include | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int | main () | { | | ; | return 0; | } configure:22046: cc -c -fno-common conftest.c >&5 conftest.c:41: warning: left shift count >= width of type conftest.c:41: warning: left shift count >= width of type conftest.c:43: error: size of array `off_t_is_large' is negative configure:22052: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | /* end confdefs.h. */ | #define _LARGE_FILES 1 | #include | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int | main () | { | | ; | return 0; | } configure:22077: result: no configure:22091: checking for size_t configure:22145: result: yes configure:22148: checking size of size_t configure:22467: cc -o conftest -fno-common conftest.c -lm >&5 configure:22470: $? = 0 configure:22472: ./conftest configure:22475: $? = 0 configure:22498: result: 4 configure:22512: checking for stdlib.h configure:22517: result: no configure:22657: checking for GNU libc compatible malloc configure:22686: cc -o conftest -fno-common conftest.c -lm >&5 configure:22689: $? = 0 configure:22691: ./conftest configure:22694: $? = 0 configure:22708: result: yes configure:22744: checking for stdlib.h configure:22749: result: no configure:22744: checking for unistd.h configure:22749: result: no configure:22893: checking for getpagesize configure:22950: cc -o conftest -fno-common conftest.c -lm >&5 configure:22956: $? = 0 configure:22960: test -z || test ! -s conftest.err configure:22963: $? = 0 configure:22966: test -s conftest configure:22969: $? = 0 configure:22981: result: yes configure:22991: checking for working mmap configure:23133: cc -o conftest -fno-common conftest.c -lm >&5 configure:23136: $? = 0 configure:23138: ./conftest ./configure: line 1: 11076 Bus error ./conftest$ac_exeext configure:23141: $? = 138 configure: program exited with status 138 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | /* malloc might have been renamed as rpl_malloc. */ | #undef malloc | | /* Thanks to Mike Haertel and Jim Avera for this test. | Here is a matrix of mmap possibilities: | mmap private not fixed | mmap private fixed at somewhere currently unmapped | mmap private fixed at somewhere already mapped | mmap shared not fixed | mmap shared fixed at somewhere currently unmapped | mmap shared fixed at somewhere already mapped | For private mappings, we should verify that changes cannot be read() | back from the file, nor mmap's back from the file at a different | address. (There have been systems where private was not correctly | implemented like the infamous i386 svr4.0, and systems where the | VM page cache was not coherent with the file system buffer cache | like early versions of FreeBSD and possibly contemporary NetBSD.) | For shared mappings, we should conversely verify that changes get | propagated back to all the places they're supposed to be. | | Grep wants private fixed already mapped. | The main things grep needs to know about mmap are: | * does it exist and is it safe to write into the mmap'd area | * how to use it (BSD variants) */ | | #include | #include | | #if !STDC_HEADERS && !HAVE_STDLIB_H | char *malloc (); | #endif | | /* This mess was copied from the GNU getpagesize.h. */ | #if !HAVE_GETPAGESIZE | /* Assume that all systems that can run configure have sys/param.h. */ | # if !HAVE_SYS_PARAM_H | # define HAVE_SYS_PARAM_H 1 | # endif | | # ifdef _SC_PAGESIZE | # define getpagesize() sysconf(_SC_PAGESIZE) | # else /* no _SC_PAGESIZE */ | # if HAVE_SYS_PARAM_H | # include | # ifdef EXEC_PAGESIZE | # define getpagesize() EXEC_PAGESIZE | # else /* no EXEC_PAGESIZE */ | # ifdef NBPG | # define getpagesize() NBPG * CLSIZE | # ifndef CLSIZE | # define CLSIZE 1 | # endif /* no CLSIZE */ | # else /* no NBPG */ | # ifdef NBPC | # define getpagesize() NBPC | # else /* no NBPC */ | # ifdef PAGESIZE | # define getpagesize() PAGESIZE | # endif /* PAGESIZE */ | # endif /* no NBPC */ | # endif /* no NBPG */ | # endif /* no EXEC_PAGESIZE */ | # else /* no HAVE_SYS_PARAM_H */ | # define getpagesize() 8192 /* punt totally */ | # endif /* no HAVE_SYS_PARAM_H */ | # endif /* no _SC_PAGESIZE */ | | #endif /* no HAVE_GETPAGESIZE */ | | int | main () | { | char *data, *data2, *data3; | int i, pagesize; | int fd; | | pagesize = getpagesize (); | | /* First, make a file with some known garbage in it. */ | data = (char *) malloc (pagesize); | if (!data) | exit (1); | for (i = 0; i < pagesize; ++i) | *(data + i) = rand (); | umask (0); | fd = creat ("conftest.mmap", 0600); | if (fd < 0) | exit (1); | if (write (fd, data, pagesize) != pagesize) | exit (1); | close (fd); | | /* Next, try to mmap the file at a fixed address which already has | something else allocated at it. If we can, also make sure that | we see the same garbage. */ | fd = open ("conftest.mmap", O_RDWR); | if (fd < 0) | exit (1); | data2 = (char *) malloc (2 * pagesize); | if (!data2) | exit (1); | data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | exit (1); | for (i = 0; i < pagesize; ++i) | if (*(data + i) != *(data2 + i)) | exit (1); | | /* Finally, make sure that changes to the mapped area do not | percolate back to the file as seen by read(). (This is a bug on | some variants of i386 svr4.0.) */ | for (i = 0; i < pagesize; ++i) | *(data2 + i) = *(data2 + i) + 1; | data3 = (char *) malloc (pagesize); | if (!data3) | exit (1); | if (read (fd, data3, pagesize) != pagesize) | exit (1); | for (i = 0; i < pagesize; ++i) | if (*(data + i) != *(data3 + i)) | exit (1); | close (fd); | exit (0); | } configure:23155: result: no configure:23166: checking whether strerror_r is declared configure:23190: cc -c -fno-common conftest.c >&5 conftest.c: In function `main': conftest.c:75: error: `strerror_r' undeclared (first use in this function) conftest.c:75: error: (Each undeclared identifier is reported only once conftest.c:75: error: for each function it appears in.) configure:23196: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | int | main () | { | #ifndef strerror_r | char *p = (char *) strerror_r; | #endif | | ; | return 0; | } configure:23220: result: no configure:23242: checking for strerror_r configure:23299: cc -o conftest -fno-common conftest.c -lm >&5 configure:23305: $? = 0 configure:23309: test -z || test ! -s conftest.err configure:23312: $? = 0 configure:23315: test -s conftest configure:23318: $? = 0 configure:23330: result: yes configure:23340: checking whether strerror_r returns char * configure:23425: cc -o conftest -fno-common conftest.c -lm >&5 configure:23428: $? = 0 configure:23430: ./conftest ./configure: line 1: 11449 Bus error ./conftest$ac_exeext configure:23433: $? = 138 configure: program exited with status 138 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_DECL_STRERROR_R 0 | #define HAVE_STRERROR_R 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | extern char *strerror_r (); | int | main () | { | char buf[100]; | char x = *strerror_r (0, buf, sizeof buf); | exit (!isalpha (x)); | ; | return 0; | } configure:23447: result: no configure:23458: checking whether clock_gettime is declared configure:23487: cc -c -fno-common conftest.c >&5 conftest.c: In function `main': conftest.c:49: error: `clock_gettime' undeclared (first use in this function) conftest.c:49: error: (Each undeclared identifier is reported only once conftest.c:49: error: for each function it appears in.) configure:23493: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_DECL_STRERROR_R 0 | #define HAVE_STRERROR_R 1 | /* end confdefs.h. */ | | #define _XOPEN_SOURCE 500 | #include | | | | int | main () | { | #ifndef clock_gettime | char *p = (char *) clock_gettime; | #endif | | ; | return 0; | } configure:23517: result: no configure:23527: checking for library containing clock_gettime configure:23557: cc -o conftest -fno-common conftest.c -lm >&5 ld: Undefined symbols: _clock_gettime configure:23563: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_DECL_STRERROR_R 0 | #define HAVE_STRERROR_R 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char clock_gettime (); | int | main () | { | clock_gettime (); | ; | return 0; | } configure:23612: cc -o conftest -fno-common conftest.c -lrt -lm >&5 ld: can't locate file for: -lrt configure:23618: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_DECL_STRERROR_R 0 | #define HAVE_STRERROR_R 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char clock_gettime (); | int | main () | { | clock_gettime (); | ; | return 0; | } configure:23646: result: no configure:23678: checking for fdatasync configure:23735: cc -o conftest -fno-common conftest.c -lm >&5 ld: Undefined symbols: _fdatasync configure:23741: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_DECL_STRERROR_R 0 | #define HAVE_STRERROR_R 1 | /* end confdefs.h. */ | /* Define fdatasync to an innocuous variant, in case declares fdatasync. | For example, HP-UX 11i declares gettimeofday. */ | #define fdatasync innocuous_fdatasync | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char fdatasync (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef fdatasync | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char fdatasync (); | /* 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_fdatasync) || defined (__stub___fdatasync) | choke me | #else | char (*f) () = fdatasync; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != fdatasync; | ; | return 0; | } configure:23766: result: no configure:23678: checking for gettimeofday configure:23735: cc -o conftest -fno-common conftest.c -lm >&5 configure:23741: $? = 0 configure:23745: test -z || test ! -s conftest.err configure:23748: $? = 0 configure:23751: test -s conftest configure:23754: $? = 0 configure:23766: result: yes configure:23678: checking for memalign configure:23735: cc -o conftest -fno-common conftest.c -lm >&5 ld: Undefined symbols: _memalign configure:23741: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_DECL_STRERROR_R 0 | #define HAVE_STRERROR_R 1 | #define HAVE_GETTIMEOFDAY 1 | /* end confdefs.h. */ | /* Define memalign to an innocuous variant, in case declares memalign. | For example, HP-UX 11i declares gettimeofday. */ | #define memalign innocuous_memalign | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char memalign (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef memalign | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char memalign (); | /* 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_memalign) || defined (__stub___memalign) | choke me | #else | char (*f) () = memalign; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != memalign; | ; | return 0; | } configure:23766: result: no configure:23678: checking for memset configure:23735: cc -o conftest -fno-common conftest.c -lm >&5 conftest.c:64: warning: conflicting types for built-in function `memset' configure:23741: $? = 0 configure:23745: test -z || test ! -s conftest.err configure:23748: $? = 0 configure:23751: test -s conftest configure:23754: $? = 0 configure:23766: result: yes configure:23678: checking for posix_memalign configure:23735: cc -o conftest -fno-common conftest.c -lm >&5 ld: Undefined symbols: _posix_memalign configure:23741: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_DECL_STRERROR_R 0 | #define HAVE_STRERROR_R 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MEMSET 1 | /* end confdefs.h. */ | /* Define posix_memalign to an innocuous variant, in case declares posix_memalign. | For example, HP-UX 11i declares gettimeofday. */ | #define posix_memalign innocuous_posix_memalign | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char posix_memalign (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef posix_memalign | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char posix_memalign (); | /* 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_posix_memalign) || defined (__stub___posix_memalign) | choke me | #else | char (*f) () = posix_memalign; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != posix_memalign; | ; | return 0; | } configure:23766: result: no configure:23678: checking for pthread_yield configure:23735: cc -o conftest -fno-common conftest.c -lm >&5 ld: Undefined symbols: _pthread_yield configure:23741: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_DECL_STRERROR_R 0 | #define HAVE_STRERROR_R 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MEMSET 1 | /* end confdefs.h. */ | /* Define pthread_yield to an innocuous variant, in case declares pthread_yield. | For example, HP-UX 11i declares gettimeofday. */ | #define pthread_yield innocuous_pthread_yield | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char pthread_yield (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef pthread_yield | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char pthread_yield (); | /* 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_pthread_yield) || defined (__stub___pthread_yield) | choke me | #else | char (*f) () = pthread_yield; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != pthread_yield; | ; | return 0; | } configure:23766: result: no configure:23678: checking for sqrt configure:23735: cc -o conftest -fno-common conftest.c -lm >&5 conftest.c:65: warning: conflicting types for built-in function `sqrt' configure:23741: $? = 0 configure:23745: test -z || test ! -s conftest.err configure:23748: $? = 0 configure:23751: test -s conftest configure:23754: $? = 0 configure:23766: result: yes configure:23678: checking for strdup configure:23735: cc -o conftest -fno-common conftest.c -lm >&5 configure:23741: $? = 0 configure:23745: test -z || test ! -s conftest.err configure:23748: $? = 0 configure:23751: test -s conftest configure:23754: $? = 0 configure:23766: result: yes configure:23678: checking for thr_setconcurrency configure:23735: cc -o conftest -fno-common conftest.c -lm >&5 ld: Undefined symbols: _thr_setconcurrency configure:23741: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sysbench" | #define PACKAGE_TARNAME "sysbench" | #define PACKAGE_VERSION "0.4.8" | #define PACKAGE_STRING "sysbench 0.4.8" | #define PACKAGE_BUGREPORT "alexeyk@mysql.com" | #define PACKAGE "sysbench" | #define VERSION "0.4.8" | #define HAVE_DECL_SHM_HUGETLB 0 | #define HAVE_DECL_O_SYNC 0 | #define O_SYNC O_FSYNC | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_PTHREAD 1 | #define HAVE_LIBM 1 | #define USE_MYSQL 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MATH_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_AIO_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_SHM_H 1 | #define off_t long | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_SIZE_T 4 | #define HAVE_MALLOC 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_DECL_STRERROR_R 0 | #define HAVE_STRERROR_R 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MEMSET 1 | #define HAVE_SQRT 1 | #define HAVE_STRDUP 1 | /* end confdefs.h. */ | /* Define thr_setconcurrency to an innocuous variant, in case declares thr_setconcurrency. | For example, HP-UX 11i declares gettimeofday. */ | #define thr_setconcurrency innocuous_thr_setconcurrency | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char thr_setconcurrency (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef thr_setconcurrency | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* 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 (); | /* 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 | char (*f) () = thr_setconcurrency; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != thr_setconcurrency; | ; | return 0; | } configure:23766: result: no configure:23678: checking for valloc configure:23735: cc -o conftest -fno-common conftest.c -lm >&5 configure:23741: $? = 0 configure:23745: test -z || test ! -s conftest.err configure:23748: $? = 0 configure:23751: test -s conftest configure:23754: $? = 0 configure:23766: result: yes configure:23951: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by sysbench config.status 0.4.8, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on darwintel config.status:764: creating Makefile config.status:764: creating doc/xsl/catalog.xml config.status:764: creating doc/Makefile config.status:764: creating scripts/Makefile config.status:764: creating sysbench/Makefile config.status:764: creating sysbench/drivers/Makefile config.status:764: creating sysbench/drivers/mysql/Makefile config.status:764: creating sysbench/drivers/oracle/Makefile config.status:764: creating sysbench/drivers/pgsql/Makefile config.status:764: creating sysbench/tests/Makefile config.status:764: creating sysbench/tests/cpu/Makefile config.status:764: creating sysbench/tests/fileio/Makefile config.status:764: creating sysbench/tests/memory/Makefile config.status:764: creating sysbench/tests/threads/Makefile config.status:764: creating sysbench/tests/mutex/Makefile config.status:764: creating sysbench/tests/oltp/Makefile config.status:868: creating config/config.h config.status:1194: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-unknown-gnu ac_cv_build_alias=i386-unknown-gnu ac_cv_c_compiler_gnu=no ac_cv_c_inline=inline ac_cv_cxx_compiler_gnu=no ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=-fno-common ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value=-fno-common ac_cv_env_CXX_set=set ac_cv_env_CXX_value=c++ ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i386-unknown-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i386-unknown-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=i386-unknown-gnu ac_cv_exeext= ac_cv_f77_compiler_gnu=no ac_cv_func_fdatasync=no ac_cv_func_getpagesize=yes ac_cv_func_gettimeofday=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memalign=no ac_cv_func_memset=yes ac_cv_func_mmap_fixed_mapped=no ac_cv_func_posix_memalign=no ac_cv_func_pthread_yield=no ac_cv_func_sqrt=yes ac_cv_func_strdup=yes ac_cv_func_strerror_r=yes ac_cv_func_strerror_r_char_p=no ac_cv_func_thr_setconcurrency=no ac_cv_func_valloc=yes ac_cv_have_decl_O_SYNC=no ac_cv_have_decl_SHM_HUGETLB=no ac_cv_have_decl_clock_gettime=no ac_cv_have_decl_strerror_r=no ac_cv_header_dlfcn_h=yes ac_cv_header_errno_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_inttypes_h=no ac_cv_header_libaio_h=no ac_cv_header_math_h=yes ac_cv_header_memory_h=no ac_cv_header_pthread_h=yes ac_cv_header_sched_h=yes ac_cv_header_signal_h=yes ac_cv_header_stdc=no ac_cv_header_stdint_h=no ac_cv_header_stdlib_h=no ac_cv_header_string_h=no ac_cv_header_strings_h=no ac_cv_header_sys_aio_h=yes ac_cv_header_sys_ipc_h=yes ac_cv_header_sys_mman_h=yes ac_cv_header_sys_shm_h=yes ac_cv_header_sys_stat_h=no ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=no ac_cv_header_thread_h=no ac_cv_header_time=yes ac_cv_header_unistd_h=no ac_cv_host=i386-unknown-gnu ac_cv_host_alias=i386-unknown-gnu ac_cv_lib_m_sqrt=yes ac_cv_objext= ac_cv_path_mysqlconfig=/usr/bin/mysql_config ac_cv_prog_AWK=gawk ac_cv_prog_CC=cc ac_cv_prog_CPP='cc -E' ac_cv_prog_CXX=c++ ac_cv_prog_CXXCPP='c++ -E' ac_cv_prog_PTHREAD_CC=cc ac_cv_prog_XSLTPROC=xsltproc ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_F77=f77 ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_g=no ac_cv_prog_cc_stdc=no ac_cv_prog_cxx_g=no ac_cv_prog_egrep='grep -E' ac_cv_prog_f77_g=no ac_cv_prog_make_make_set=yes ac_cv_search_clock_gettime=no ac_cv_sizeof_size_t=4 ac_cv_sys_file_offset_bits=no ac_cv_sys_large_files=no ac_cv_sys_largefile_CC=no ac_cv_target=i386-unknown-gnu ac_cv_target_alias=i386-unknown-gnu ac_cv_type_off_t=no ac_cv_type_size_t=yes ac_cv_use_mysql=yes ac_cv_use_oracle=no ac_cv_use_pgsql=no am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX= lt_cv_path_NM='/usr/bin/nm -p' lt_cv_path_SED=/usr/local/bin/sed lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_c_o_F77=yes lt_cv_prog_gnu_ld=no lt_cv_prog_gnu_ldcxx= lt_cv_sys_global_symbol_pipe= lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl= lt_cv_sys_max_cmd_len= lt_lt_cv_prog_compiler_c_o='"yes"' lt_lt_cv_prog_compiler_c_o_CXX='"yes"' lt_lt_cv_prog_compiler_c_o_F77='"yes"' lt_lt_cv_sys_global_symbol_pipe='""' lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' lt_lt_cv_sys_global_symbol_to_cdecl='""' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /mnt/gmirror/ports/benchmarks/sysbench/work/sysbench-0.4.8/config/missing --run aclocal-1.9' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /mnt/gmirror/ports/benchmarks/sysbench/work/sysbench-0.4.8/config/missing --run tar' AM_CFLAGS=' ' AM_CPPFLAGS='-D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE' AM_LDFLAGS='' AR='ar' AUTOCONF='${SHELL} /mnt/gmirror/ports/benchmarks/sysbench/work/sysbench-0.4.8/config/missing --run autoconf' AUTOHEADER='${SHELL} /mnt/gmirror/ports/benchmarks/sysbench/work/sysbench-0.4.8/config/missing --run autoheader' AUTOMAKE='${SHELL} /mnt/gmirror/ports/benchmarks/sysbench/work/sysbench-0.4.8/config/missing --run automake-1.9' AWK='gawk' CAT_ENTRY_END='' CAT_ENTRY_START='' CC='cc' CCDEPMODE='depmode=gcc3' CFLAGS='-fno-common' CPP='cc -E' CPPFLAGS='' CXX='c++' CXXCPP='c++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-fno-common' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DOCBOOK_ROOT='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EXEEXT='' F77='f77' FFLAGS='' INSTALL_DATA='install -o root -g wheel -m 444' INSTALL_PROGRAM='install -s -o root -g wheel -m 555' INSTALL_SCRIPT='install -o root -g wheel -m 555' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='-lm ' LIBTOOL='$(SHELL) /usr/local/bin/libtool' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /mnt/gmirror/ports/benchmarks/sysbench/work/sysbench-0.4.8/config/missing --run makeinfo' MYSQL_CFLAGS='-I/usr/include/mysql -fno-omit-frame-pointer -pipe -no-cpp-precomp' MYSQL_LIBS='-pipe -no-cpp-precomp -L/usr/lib/mysql -lmysqlclient_r -lz -lm' OBJEXT='' ORA_CFLAGS='' ORA_LIBS='' PACKAGE='sysbench' PACKAGE_BUGREPORT='alexeyk@mysql.com' PACKAGE_NAME='sysbench' PACKAGE_STRING='sysbench 0.4.8' PACKAGE_TARNAME='sysbench' PACKAGE_VERSION='0.4.8' PATH_SEPARATOR=':' PGSQL_CFLAGS='' PGSQL_LIBS='' PTHREAD_CC='cc' PTHREAD_CFLAGS='' PTHREAD_LIBS='' RANLIB='ranlib' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' USE_AIO_FALSE='' USE_AIO_TRUE='#' USE_MYSQL_FALSE='#' USE_MYSQL_TRUE='' USE_ORACLE_FALSE='' USE_ORACLE_TRUE='#' USE_PGSQL_FALSE='' USE_PGSQL_TRUE='#' VERSION='0.4.8' XML_CATALOG='' XSLTPROC='xsltproc' XSLTPROC_FLAGS='' ac_ct_AR='ar' ac_ct_CC='' ac_ct_CXX='' ac_ct_F77='f77' ac_ct_RANLIB='ranlib' ac_ct_STRIP='strip' acx_pthread_config='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i386-unknown-gnu' build_alias='i386-unknown-gnu' build_cpu='i386' build_os='gnu' build_vendor='unknown' datadir='${prefix}/share' exec_prefix='${prefix}' have_xsltproc_FALSE='' have_xsltproc_TRUE='#' host='i386-unknown-gnu' host_alias='i386-unknown-gnu' host_cpu='i386' host_os='gnu' host_vendor='unknown' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/mnt/gmirror/ports/benchmarks/sysbench/work/sysbench-0.4.8/config/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' mkdir_p='mkdir -p --' mysqlconfig='/usr/bin/mysql_config' oldincludedir='/usr/include' pgconfig='' prefix='' program_transform_name='s,^,i386-unknown-gnu-,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i386-unknown-gnu' target_alias='i386-unknown-gnu' target_cpu='i386' target_os='gnu' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_DECL_O_SYNC 0 #define HAVE_DECL_SHM_HUGETLB 0 #define HAVE_DECL_STRERROR_R 0 #define HAVE_DLFCN_H 1 #define HAVE_ERRNO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_LIBM 1 #define HAVE_MALLOC 1 #define HAVE_MATH_H 1 #define HAVE_MEMSET 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_H 1 #define HAVE_SCHED_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_SQRT 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR_R 1 #define HAVE_SYS_AIO_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_VALLOC 1 #define O_SYNC O_FSYNC #define PACKAGE "sysbench" #define PACKAGE_BUGREPORT "alexeyk@mysql.com" #define PACKAGE_NAME "sysbench" #define PACKAGE_STRING "sysbench 0.4.8" #define PACKAGE_TARNAME "sysbench" #define PACKAGE_VERSION "0.4.8" #define SIZEOF_SIZE_T 4 #define TIME_WITH_SYS_TIME 1 #define USE_MYSQL 1 #define VERSION "0.4.8" #define off_t long #endif #ifdef __cplusplus void exit (int); configure: exit 0