eblake wrote: > > On 08/07/2012 12:20 PM, Inge Henriksen wrote: > ... >> Any ideas why AC_CHECK_SIZEOF returns 0 on CentOS? > > Not without seeing the config.log snippets corresponding to those tests > getting the wrong results. > ... > -- > Eric Blake ebl...@redhat.com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org >
Here you go Eric. This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by src/odbcdriver.cpp configure 0.2.0, which was generated by GNU Autoconf 2.63. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = localhost.localdomain uname -m = i686 uname -r = 2.6.32-279.2.1.el6.i686 uname -s = Linux uname -v = #1 SMP Thu Jul 19 23:10:02 UTC 2012 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/lib/qt-3.3/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/local/sbin PATH: /usr/sbin PATH: /sbin PATH: /home/ihenriksen/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2079: checking for C++ compilers configure:2139: checking for g++ configure:2155: found /usr/bin/g++ configure:2166: result: g++ configure:2193: checking for C++ compiler version configure:2201: g++ --version >&5 g++ (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4) Copyright (C) 2010 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:2205: $? = 0 configure:2212: g++ -v >&5 Using built-in specs. Target: i686-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux Thread model: posix gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) configure:2216: $? = 0 configure:2223: g++ -V >&5 g++: '-V' option must have argument configure:2227: $? = 1 configure:2250: checking for C++ compiler default output file name configure:2272: g++ conftest.cpp >&5 configure:2276: $? = 0 configure:2314: result: a.out configure:2333: checking whether the C++ compiler works configure:2343: ./a.out configure:2347: $? = 0 configure:2366: result: yes configure:2373: checking whether we are cross compiling configure:2375: result: no configure:2378: checking for suffix of executables configure:2385: g++ -o conftest conftest.cpp >&5 configure:2389: $? = 0 configure:2415: result: configure:2421: checking for suffix of object files configure:2447: g++ -c conftest.cpp >&5 configure:2451: $? = 0 configure:2476: result: o configure:2480: checking whether we are using the GNU C++ compiler configure:2509: g++ -c conftest.cpp >&5 configure:2516: $? = 0 configure:2533: result: yes configure:2542: checking whether g++ accepts -g configure:2572: g++ -c -g conftest.cpp >&5 configure:2579: $? = 0 configure:2680: result: yes configure:2771: checking build system type configure:2789: result: i686-pc-linux-gnu configure:2811: checking host system type configure:2826: result: i686-pc-linux-gnu configure:2896: checking for gcc configure:2912: found /usr/bin/gcc configure:2923: result: gcc configure:3155: checking for C compiler version configure:3163: gcc --version >&5 gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4) Copyright (C) 2010 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:3167: $? = 0 configure:3174: gcc -v >&5 Using built-in specs. Target: i686-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux Thread model: posix gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) configure:3178: $? = 0 configure:3185: gcc -V >&5 gcc: '-V' option must have argument configure:3189: $? = 1 configure:3192: checking whether we are using the GNU C compiler configure:3221: gcc -c conftest.c >&5 configure:3228: $? = 0 configure:3245: result: yes configure:3254: checking whether gcc accepts -g configure:3284: gcc -c -g conftest.c >&5 configure:3291: $? = 0 configure:3392: result: yes configure:3409: checking for gcc option to accept ISO C89 configure:3483: gcc -c -g -O2 conftest.c >&5 configure:3490: $? = 0 configure:3513: result: none needed configure:3531: checking for a sed that does not truncate output configure:3597: result: /bin/sed configure:3615: checking for grep that handles long lines and -e configure:3675: result: /bin/grep configure:3680: checking for egrep configure:3744: result: /bin/grep -E configure:3749: checking for fgrep configure:3813: result: /bin/grep -F configure:3848: checking for ld used by gcc configure:3915: result: /usr/bin/ld configure:3924: checking if the linker (/usr/bin/ld) is GNU ld configure:3939: result: yes configure:3951: checking for BSD- or MS-compatible name lister (nm) configure:4000: result: /usr/bin/nm -B configure:4118: checking the name lister (/usr/bin/nm -B) interface configure:4125: g++ -c -g -O2 conftest.cpp >&5 configure:4128: /usr/bin/nm -B "conftest.o" configure:4131: output 00000000 B some_variable configure:4138: result: BSD nm configure:4141: checking whether ln -s works configure:4145: result: yes configure:4153: checking the maximum length of command line arguments configure:4273: result: 1966080 configure:4290: checking whether the shell understands some XSI constructs configure:4300: result: yes configure:4304: checking whether the shell understands "+=" configure:4310: result: yes configure:4345: checking for /usr/bin/ld option to reload object files configure:4352: result: -r configure:4421: checking for objdump configure:4437: found /usr/bin/objdump configure:4448: result: objdump configure:4480: checking how to recognize dependent libraries configure:4676: result: pass_all configure:4736: checking for ar configure:4752: found /usr/bin/ar configure:4763: result: ar configure:4841: checking for strip configure:4857: found /usr/bin/strip configure:4868: result: strip configure:4940: checking for ranlib configure:4956: found /usr/bin/ranlib configure:4967: result: ranlib configure:5057: checking command to parse /usr/bin/nm -B output from gcc object configure:5175: g++ -c -g -O2 conftest.cpp >&5 configure:5178: $? = 0 configure:5182: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:5185: $? = 0 configure:5239: g++ -o conftest -g -O2 conftest.cpp conftstm.o >&5 configure:5242: $? = 0 configure:5280: result: ok configure:6147: checking how to run the C preprocessor configure:6187: gcc -E conftest.c configure:6194: $? = 0 configure:6225: gcc -E conftest.c conftest.c:8:28: error: ac_nonexistent.h: No such file or directory configure:6232: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6265: result: gcc -E configure:6294: gcc -E conftest.c configure:6301: $? = 0 configure:6332: gcc -E conftest.c conftest.c:8:28: error: ac_nonexistent.h: No such file or directory configure:6339: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6379: checking for ANSI C header files configure:6409: gcc -c -g -O2 conftest.c >&5 configure:6416: $? = 0 configure:6515: gcc -o conftest -g -O2 conftest.c >&5 configure:6519: $? = 0 configure:6525: ./conftest configure:6529: $? = 0 configure:6547: result: yes configure:6571: checking for sys/types.h configure:6592: gcc -c -g -O2 conftest.c >&5 configure:6599: $? = 0 configure:6616: result: yes configure:6571: checking for sys/stat.h configure:6592: gcc -c -g -O2 conftest.c >&5 configure:6599: $? = 0 configure:6616: result: yes configure:6571: checking for stdlib.h configure:6592: gcc -c -g -O2 conftest.c >&5 configure:6599: $? = 0 configure:6616: result: yes configure:6571: checking for string.h configure:6592: gcc -c -g -O2 conftest.c >&5 configure:6599: $? = 0 configure:6616: result: yes configure:6571: checking for memory.h configure:6592: gcc -c -g -O2 conftest.c >&5 configure:6599: $? = 0 configure:6616: result: yes configure:6571: checking for strings.h configure:6592: gcc -c -g -O2 conftest.c >&5 configure:6599: $? = 0 configure:6616: result: yes configure:6571: checking for inttypes.h configure:6592: gcc -c -g -O2 conftest.c >&5 configure:6599: $? = 0 configure:6616: result: yes configure:6571: checking for stdint.h configure:6592: gcc -c -g -O2 conftest.c >&5 configure:6599: $? = 0 configure:6616: result: yes configure:6571: checking for unistd.h configure:6592: gcc -c -g -O2 conftest.c >&5 configure:6599: $? = 0 configure:6616: result: yes configure:6634: checking for dlfcn.h configure:6655: gcc -c -g -O2 conftest.c >&5 configure:6662: $? = 0 configure:6679: result: yes configure:6806: checking for C++ compiler version configure:6814: g++ --version >&5 g++ (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4) Copyright (C) 2010 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:6818: $? = 0 configure:6825: g++ -v >&5 Using built-in specs. Target: i686-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux Thread model: posix gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) configure:6829: $? = 0 configure:6836: g++ -V >&5 g++: '-V' option must have argument configure:6840: $? = 1 configure:6843: checking whether we are using the GNU C++ compiler configure:6896: result: yes configure:6905: checking whether g++ accepts -g configure:7043: result: yes configure:7074: checking how to run the C++ preprocessor configure:7110: g++ -E conftest.cpp configure:7117: $? = 0 configure:7148: g++ -E conftest.cpp conftest.cpp:19:28: error: ac_nonexistent.h: No such file or directory configure:7155: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:7188: result: g++ -E configure:7217: g++ -E conftest.cpp configure:7224: $? = 0 configure:7255: g++ -E conftest.cpp conftest.cpp:19:28: error: ac_nonexistent.h: No such file or directory configure:7262: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:7476: checking for objdir configure:7491: result: .libs configure:7783: checking if gcc supports -fno-rtti -fno-exceptions configure:7801: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:7805: $? = 0 configure:7818: result: no configure:7838: checking for gcc option to produce PIC configure:8110: result: -fPIC -DPIC configure:8122: checking if gcc PIC flag -fPIC -DPIC works configure:8140: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:8144: $? = 0 configure:8157: result: yes configure:8181: checking if gcc static flag -static works configure:8209: result: no configure:8224: checking if gcc supports -c -o file.o configure:8245: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8249: $? = 0 configure:8271: result: yes configure:8279: checking if gcc supports -c -o file.o configure:8326: result: yes configure:8359: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:9433: result: yes configure:9470: checking whether -lc should be explicitly linked in configure:9475: gcc -c -g -O2 conftest.c >&5 configure:9478: $? = 0 configure:9493: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:9496: $? = 0 configure:9508: result: no configure:9672: checking dynamic linker characteristics configure:10115: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:10122: $? = 0 configure:10358: result: GNU/Linux ld.so configure:10460: checking how to hardcode library paths into programs configure:10485: result: immediate configure:11318: checking whether stripping libraries is possible configure:11323: result: yes configure:11358: checking if libtool supports shared libraries configure:11360: result: yes configure:11363: checking whether to build shared libraries configure:11384: result: yes configure:11387: checking whether to build static libraries configure:11391: result: yes configure:11541: checking for ld used by g++ configure:11608: result: /usr/bin/ld configure:11617: checking if the linker (/usr/bin/ld) is GNU ld configure:11632: result: yes configure:11687: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:12662: result: yes configure:12690: g++ -c -g -O2 conftest.cpp >&5 configure:12693: $? = 0 configure:12875: checking for g++ option to produce PIC configure:13192: result: -fPIC -DPIC configure:13201: checking if g++ PIC flag -fPIC -DPIC works configure:13219: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:13223: $? = 0 configure:13236: result: yes configure:13257: checking if g++ static flag -static works configure:13285: result: no configure:13297: checking if g++ supports -c -o file.o configure:13318: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:13322: $? = 0 configure:13344: result: yes configure:13349: checking if g++ supports -c -o file.o configure:13396: result: yes configure:13426: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:13452: result: yes configure:13589: checking dynamic linker characteristics configure:13980: g++ -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.cpp >&5 configure:13987: $? = 0 configure:14223: result: GNU/Linux ld.so configure:14274: checking how to hardcode library paths into programs configure:14299: result: immediate configure:14375: checking for a BSD-compatible install configure:14443: result: /usr/bin/install -c configure:14454: checking whether build environment is sane configure:14514: result: yes configure:14655: checking for a thread-safe mkdir -p configure:14694: result: /bin/mkdir -p configure:14707: checking for gawk configure:14723: found /usr/bin/gawk configure:14734: result: gawk configure:14745: checking whether make sets $(MAKE) configure:14767: result: yes configure:14797: checking for style of include used by make configure:14825: result: GNU configure:14903: checking dependency style of gcc configure:15013: result: gcc3 configure:15030: checking dependency style of g++ configure:15140: result: gcc3 configure:15165: checking for required libraries configure:15167: checking if the POSIX Threads library is installed configure:15170: checking for main in -lpthread configure:15199: g++ -o conftest -g -O2 conftest.cpp -lpthread >&5 configure:15206: $? = 0 configure:15227: result: yes configure:15243: checking if the unixodbc library is installed configure:15246: checking for main in -lodbc configure:15275: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:15282: $? = 0 configure:15303: result: yes configure:15321: checking for the 'malloc.h' header file configure:15340: checking malloc.h usability configure:15357: g++ -c -g -O2 conftest.cpp >&5 configure:15364: $? = 0 configure:15378: result: yes configure:15382: checking malloc.h presence configure:15397: g++ -E conftest.cpp configure:15404: $? = 0 configure:15418: result: yes configure:15446: checking for malloc.h configure:15455: result: yes configure:15486: checking sys/malloc.h usability configure:15503: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:56:24: error: sys/malloc.h: No such file or directory configure:15510: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <sys/malloc.h> configure:15524: result: no configure:15528: checking sys/malloc.h presence configure:15543: g++ -E conftest.cpp conftest.cpp:23:24: error: sys/malloc.h: No such file or directory configure:15550: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | #include <sys/malloc.h> configure:15564: result: no configure:15592: checking for sys/malloc.h configure:15601: result: no configure:15632: checking malloc/malloc.h usability configure:15649: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:56:27: error: malloc/malloc.h: No such file or directory configure:15656: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <malloc/malloc.h> configure:15670: result: no configure:15674: checking malloc/malloc.h presence configure:15689: g++ -E conftest.cpp conftest.cpp:23:27: error: malloc/malloc.h: No such file or directory configure:15696: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | #include <malloc/malloc.h> configure:15710: result: no configure:15738: checking for malloc/malloc.h configure:15747: result: no configure:15762: checking for the 'windows.h' header file configure:15780: checking windows.h usability configure:15797: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:56:21: error: windows.h: No such file or directory configure:15804: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <windows.h> configure:15818: result: no configure:15822: checking windows.h presence configure:15837: g++ -E conftest.cpp conftest.cpp:23:21: error: windows.h: No such file or directory configure:15844: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | #include <windows.h> configure:15858: result: no configure:15886: checking for windows.h configure:15895: result: no configure:15910: checking for networking header files configure:15928: checking Winsock2.h usability configure:15945: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp:56:22: error: Winsock2.h: No such file or directory configure:15952: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <Winsock2.h> configure:15966: result: no configure:15970: checking Winsock2.h presence configure:15985: g++ -E conftest.cpp conftest.cpp:23:22: error: Winsock2.h: No such file or directory configure:15992: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | #include <Winsock2.h> configure:16006: result: no configure:16034: checking for Winsock2.h configure:16043: result: no configure:16074: checking sys/socket.h usability configure:16091: g++ -c -g -O2 conftest.cpp >&5 configure:16098: $? = 0 configure:16112: result: yes configure:16116: checking sys/socket.h presence configure:16131: g++ -E conftest.cpp configure:16138: $? = 0 configure:16152: result: yes configure:16180: checking for sys/socket.h configure:16189: result: yes configure:16220: checking netinet/in.h usability configure:16237: g++ -c -g -O2 conftest.cpp >&5 configure:16244: $? = 0 configure:16258: result: yes configure:16262: checking netinet/in.h presence configure:16277: g++ -E conftest.cpp configure:16284: $? = 0 configure:16298: result: yes configure:16326: checking for netinet/in.h configure:16335: result: yes configure:16366: checking arpa/inet.h usability configure:16383: g++ -c -g -O2 conftest.cpp >&5 configure:16390: $? = 0 configure:16404: result: yes configure:16408: checking arpa/inet.h presence configure:16423: g++ -E conftest.cpp configure:16430: $? = 0 configure:16444: result: yes configure:16472: checking for arpa/inet.h configure:16481: result: yes configure:16496: checking for multithreading header files configure:16514: checking pthread.h usability configure:16531: g++ -c -g -O2 conftest.cpp >&5 configure:16538: $? = 0 configure:16552: result: yes configure:16556: checking pthread.h presence configure:16571: g++ -E conftest.cpp configure:16578: $? = 0 configure:16592: result: yes configure:16620: checking for pthread.h configure:16629: result: yes configure:16650: checking size of char configure:16955: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:16959: $? = 0 configure:16965: ./conftest configure:16969: $? = 0 configure:16995: result: 1 configure:17009: checking size of short configure:17314: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:17318: $? = 0 configure:17324: ./conftest configure:17328: $? = 0 configure:17354: result: 2 configure:17368: checking size of short int configure:17673: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:17677: $? = 0 configure:17683: ./conftest configure:17687: $? = 0 configure:17713: result: 2 configure:17727: checking size of int configure:18032: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:18036: $? = 0 configure:18042: ./conftest configure:18046: $? = 0 configure:18072: result: 4 configure:18086: checking size of long int configure:18391: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:18395: $? = 0 configure:18401: ./conftest configure:18405: $? = 0 configure:18431: result: 4 configure:18445: checking size of long long configure:18750: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:18754: $? = 0 configure:18760: ./conftest configure:18764: $? = 0 configure:18790: result: 8 configure:18804: checking size of long long int configure:19109: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:19113: $? = 0 configure:19119: ./conftest configure:19123: $? = 0 configure:19149: result: 8 configure:19163: checking size of long long long configure:19468: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 conftest.cpp: In function 'long int longval()': conftest.cpp:67: error: 'long long long' is too long for GCC conftest.cpp: In function 'long unsigned int ulongval()': conftest.cpp:68: error: 'long long long' is too long for GCC conftest.cpp: In function 'int main()': conftest.cpp:78: error: 'long long long' is too long for GCC conftest.cpp:81: error: 'long long long' is too long for GCC conftest.cpp:88: error: 'long long long' is too long for GCC configure:19472: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_PTHREAD_H 1 | #define SIZEOF_CHAR 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_SHORT_INT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG_INT 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_LONG_INT 8 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | static long int longval () { return (long int) (sizeof (long long long)); } | static unsigned long int ulongval () { return (long int) (sizeof (long long long)); } | #include <stdio.h> | #include <stdlib.h> | int | main () | { | | FILE *f = fopen ("conftest.val", "w"); | if (! f) | return 1; | if (((long int) (sizeof (long long long))) < 0) | { | long int i = longval (); | if (i != ((long int) (sizeof (long long long)))) | return 1; | fprintf (f, "%ld", i); | } | else | { | unsigned long int i = ulongval (); | if (i != ((long int) (sizeof (long long long)))) | return 1; | fprintf (f, "%lu", i); | } | /* Do not output a trailing newline, as this causes \r\n confusion | on some platforms. */ | return ferror (f) || fclose (f) != 0; | | ; | return 0; | } configure:19508: result: 0 configure:19522: checking size of int configure:19867: result: 4 configure:19888: checking size of long int configure:20233: result: 4 configure:20252: checking for 'bool' type definition configure:20254: checking for stdbool.h that conforms to C99 configure:20349: g++ -c -g -O2 conftest.cpp >&5 configure:20356: $? = 0 configure:20371: result: yes configure:20373: checking for _Bool configure:20401: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:73: error: '_Bool' was not declared in this scope configure:20408: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_PTHREAD_H 1 | #define SIZEOF_CHAR 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_SHORT_INT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG_INT 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_LONG_INT 8 | #define SIZEOF_LONG_LONG_LONG 0 | #define SIZEOF_INT 4 | #define SIZEOF_LONG_INT 4 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | if (sizeof (_Bool)) | return 0; | ; | return 0; | } configure:20465: result: no configure:20484: checking for 'const' definition configure:20486: checking for an ANSI C-conforming const configure:20561: g++ -c -g -O2 conftest.cpp >&5 configure:20568: $? = 0 configure:20583: result: yes configure:20593: checking for 'inline' definition configure:20595: checking for inline configure:20621: g++ -c -g -O2 conftest.cpp >&5 configure:20628: $? = 0 configure:20646: result: inline configure:20665: checking for 'size_t' type definition configure:20667: checking for size_t configure:20695: g++ -c -g -O2 conftest.cpp >&5 configure:20702: $? = 0 configure:20729: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:74: error: expected primary-expression before ')' token configure:20736: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_PTHREAD_H 1 | #define SIZEOF_CHAR 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_SHORT_INT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG_INT 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_LONG_INT 8 | #define SIZEOF_LONG_LONG_LONG 0 | #define SIZEOF_INT 4 | #define SIZEOF_LONG_INT 4 | #define HAVE_STDBOOL_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:20759: result: yes configure:20778: checking for stdlib.h configure:20785: result: yes configure:20919: checking for GNU libc compatible malloc configure:20953: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:20957: $? = 0 configure:20963: ./conftest configure:20967: $? = 0 configure:20984: result: yes configure:21012: checking for ANSI C header files configure:21180: result: yes configure:21194: checking for strftime configure:21250: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:21257: $? = 0 configure:21279: result: yes configure:21366: checking for working strtod configure:21417: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 conftest.cpp: In function 'int main()': conftest.cpp:84: warning: deprecated conversion from string constant to 'char*' conftest.cpp:95: warning: deprecated conversion from string constant to 'char*' configure:21421: $? = 0 configure:21427: ./conftest configure:21431: $? = 0 configure:21448: result: yes configure:21624: checking for memset configure:21680: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:21687: $? = 0 configure:21709: result: yes configure:21725: checking for malloc_usable_size configure:21781: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 configure:21788: $? = 0 configure:21810: result: yes configure:21826: checking for _fstat configure:21882: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5 /tmp/cc13LEt9.o: In function `main': /home/ihenriksen/dev/sparqldbms/Drivers/ODBC/conftest.cpp:78: undefined reference to `_fstat' collect2: ld returned 1 exit status configure:21889: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "src/odbcdriver.cpp" | #define PACKAGE_TARNAME "src-odbcdriver-cpp" | #define PACKAGE_VERSION "0.2.0" | #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBODBC 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_PTHREAD_H 1 | #define SIZEOF_CHAR 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_SHORT_INT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG_INT 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_LONG_INT 8 | #define SIZEOF_LONG_LONG_LONG 0 | #define SIZEOF_INT 4 | #define SIZEOF_LONG_INT 4 | #define HAVE_STDBOOL_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC 1 | #define STDC_HEADERS 1 | #define HAVE_STRFTIME 1 | #define HAVE_MEMSET 1 | #define HAVE_MALLOC_USABLE_SIZE 1 | /* end confdefs.h. */ | /* Define _fstat to an innocuous variant, in case <limits.h> declares _fstat. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define _fstat innocuous__fstat | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _fstat (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef _fstat | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _fstat (); | /* 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__fstat || defined __stub____fstat | choke me | #endif | | int | main () | { | return _fstat (); | ; | return 0; | } configure:21911: result: no configure:22058: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by src/odbcdriver.cpp config.status 0.2.0, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on localhost.localdomain config.status:1079: creating Makefile config.status:1079: creating src/Makefile config.status:1079: creating merodbcrdfdrv-0.2.0.pc config.status:1079: creating merodbcdrv_config.h config.status:1353: executing libtool commands config.status:1353: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= 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= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func__fstat=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_usable_size=yes ac_cv_func_memset=yes ac_cv_func_strftime=yes ac_cv_func_strtod=yes ac_cv_header_Winsock2_h=no ac_cv_header_arpa_inet_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_malloc_h=yes ac_cv_header_malloc_malloc_h=no ac_cv_header_memory_h=yes ac_cv_header_netinet_in_h=yes ac_cv_header_pthread_h=yes ac_cv_header_stdbool_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_malloc_h=no ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_header_windows_h=no ac_cv_host=i686-pc-linux-gnu ac_cv_lib_odbc_main=yes ac_cv_lib_pthread_main=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_sizeof_char=1 ac_cv_sizeof_int=4 ac_cv_sizeof_long_int=4 ac_cv_sizeof_long_long=8 ac_cv_sizeof_long_long_int=8 ac_cv_sizeof_long_long_long=0 ac_cv_sizeof_short=2 ac_cv_sizeof_short_int=2 ac_cv_type__Bool=no ac_cv_type_size_t=yes 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_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=no lt_cv_prog_compiler_static_works_CXX=no lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1966080 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/ihenriksen/dev/sparqldbms/Drivers/ODBC/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/ihenriksen/dev/sparqldbms/Drivers/ODBC/missing --run tar' AR='ar' AUTOCONF='${SHELL} /home/ihenriksen/dev/sparqldbms/Drivers/ODBC/missing --run autoconf' AUTOHEADER='${SHELL} /home/ihenriksen/dev/sparqldbms/Drivers/ODBC/missing --run autoheader' AUTOMAKE='${SHELL} /home/ihenriksen/dev/sparqldbms/Drivers/ODBC/missing --run automake-1.11' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DRIVER_LIBRARY_VERSION='0:0:0' DRIVER_RELEASE='0.2.0' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GENERIC_API_VERSION='0.2.0' GENERIC_LIBRARY_FULL_NAME='Meronymy RDF Database ODBC Driver' GENERIC_LIBRARY_NAME='merodbcrdfdrv' GENERIC_LIBRARY_VERSION='0.2.0' GENERIC_MAIN_SUBDIR='src' GENERIC_SUBDIRS='src' GENERIC_VERSION='0.2.0' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld' LDFLAGS='' LIBOBJS='' LIBS='-lodbc -lpthread ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/ihenriksen/dev/sparqldbms/Drivers/ODBC/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='merodbcrdfdrv' PACKAGE_BUGREPORT='' PACKAGE_NAME='src/odbcdriver.cpp' PACKAGE_STRING='src/odbcdriver.cpp 0.2.0' PACKAGE_TARNAME='src-odbcdriver-cpp' PACKAGE_VERSION='0.2.0' PATH_SEPARATOR=':' POW_LIB='' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='0.2.0' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/ihenriksen/dev/sparqldbms/Drivers/ODBC/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_ECHO='echo' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "src/odbcdriver.cpp" #define PACKAGE_TARNAME "src-odbcdriver-cpp" #define PACKAGE_VERSION "0.2.0" #define PACKAGE_STRING "src/odbcdriver.cpp 0.2.0" #define PACKAGE_BUGREPORT "" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_LIBPTHREAD 1 #define HAVE_LIBODBC 1 #define HAVE_MALLOC_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_PTHREAD_H 1 #define SIZEOF_CHAR 1 #define SIZEOF_SHORT 2 #define SIZEOF_SHORT_INT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG_LONG_INT 8 #define SIZEOF_LONG_LONG_LONG 0 #define SIZEOF_INT 4 #define SIZEOF_LONG_INT 4 #define HAVE_STDBOOL_H 1 #define HAVE_STDLIB_H 1 #define HAVE_MALLOC 1 #define STDC_HEADERS 1 #define HAVE_STRFTIME 1 #define HAVE_MEMSET 1 #define HAVE_MALLOC_USABLE_SIZE 1 configure: exit 0 -- TIA -Inge -- View this message in context: http://old.nabble.com/Autoconf-AC_CHECK_SIZEOF-always-0-on-CentOS-tp34267681p34267887.html Sent from the Gnu - Autoconf - Bugs mailing list archive at Nabble.com.