This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by dfu-util configure 0.9, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/home/peko/autobuild/instance-1/output/host --sysconfdir=/home/peko/autobuild/instance-1/output/host/etc --localstatedir=/home/peko/autobuild/instance-1/output/host/var --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-dependency-tracking ## --------- ## ## Platform. ## ## --------- ## hostname = gcc20 uname -m = x86_64 uname -r = 3.2.0-4-amd64 uname -s = Linux uname -v = #1 SMP Debian 3.2.63-2+deb7u2 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/peko/autobuild/instance-1/output/host/bin PATH: /home/peko/autobuild/instance-1/output/host/sbin PATH: /home/peko/host/usr/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/local/games PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2259: checking for a BSD-compatible install configure:2327: result: /usr/bin/install -c configure:2338: checking whether build environment is sane configure:2393: result: yes configure:2431: WARNING: 'missing' script is too old or missing configure:2544: checking for a thread-safe mkdir -p configure:2583: result: /bin/mkdir -p configure:2590: checking for gawk configure:2606: found /usr/bin/gawk configure:2617: result: gawk configure:2628: checking whether make sets $(MAKE) configure:2650: result: yes configure:2679: checking whether make supports nested variables configure:2696: result: yes configure:2836: checking whether make supports nested variables configure:2853: result: yes configure:2914: checking for gcc configure:2941: result: /usr/bin/gcc configure:3170: checking for C compiler version configure:3179: /usr/bin/gcc --version >&5 gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 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:3190: $? = 0 configure:3179: /usr/bin/gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5) configure:3190: $? = 0 configure:3179: /usr/bin/gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3190: $? = 4 configure:3179: /usr/bin/gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3190: $? = 4 configure:3210: checking whether the C compiler works configure:3232: /usr/bin/gcc -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c >&5 configure:3236: $? = 0 configure:3284: result: yes configure:3287: checking for C compiler default output file name configure:3289: result: a.out configure:3295: checking for suffix of executables configure:3302: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c >&5 configure:3306: $? = 0 configure:3328: result: configure:3350: checking whether we are cross compiling configure:3358: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c >&5 configure:3362: $? = 0 configure:3369: ./conftest configure:3373: $? = 0 configure:3388: result: no configure:3393: checking for suffix of object files configure:3415: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:3419: $? = 0 configure:3440: result: o configure:3444: checking whether we are using the GNU C compiler configure:3463: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:3463: $? = 0 configure:3472: result: yes configure:3481: checking whether /usr/bin/gcc accepts -g configure:3501: /usr/bin/gcc -c -g -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:3501: $? = 0 configure:3542: result: yes configure:3559: checking for /usr/bin/gcc option to accept ISO C89 configure:3622: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:3622: $? = 0 configure:3635: result: none needed configure:3660: checking whether /usr/bin/gcc understands -c and -o together configure:3682: /usr/bin/gcc -c conftest.c -o conftest2.o configure:3685: $? = 0 configure:3682: /usr/bin/gcc -c conftest.c -o conftest2.o configure:3685: $? = 0 configure:3697: result: yes configure:3725: checking for style of include used by make configure:3753: result: GNU configure:3779: checking dependency style of /usr/bin/gcc configure:3890: result: none configure:3909: checking for libusb_init in -lusb configure:3934: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c -lusb >&5 /tmp/ccrr59PM.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `libusb_init' collect2: error: ld returned 1 exit status configure:3934: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "dfu-util" | #define PACKAGE_TARNAME "dfu-util" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "dfu-util 0.9" | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" | #define PACKAGE_URL "http://dfu-util.sourceforge.net" | #define PACKAGE "dfu-util" | #define VERSION "0.9" | /* end confdefs.h. */ | | /* 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 libusb_init (); | int | main () | { | return libusb_init (); | ; | return 0; | } configure:3943: result: no configure:4065: checking pkg-config is at least version 0.9.0 configure:4068: result: yes configure:4080: checking for USB configure:4087: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.0" configure:4090: $? = 0 configure:4104: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.0" configure:4107: $? = 0 configure:4145: result: yes configure:4161: checking how to run the C preprocessor configure:4231: result: /usr/bin/cpp configure:4251: /usr/bin/cpp -I/home/peko/autobuild/instance-1/output/host/include conftest.c configure:4251: $? = 0 configure:4265: /usr/bin/cpp -I/home/peko/autobuild/instance-1/output/host/include conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "dfu-util" | #define PACKAGE_TARNAME "dfu-util" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "dfu-util 0.9" | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" | #define PACKAGE_URL "http://dfu-util.sourceforge.net" | #define PACKAGE "dfu-util" | #define VERSION "0.9" | /* end confdefs.h. */ | #include configure:4294: checking for grep that handles long lines and -e configure:4352: result: /bin/grep configure:4357: checking for egrep configure:4419: result: /bin/grep -E configure:4424: checking for ANSI C header files configure:4444: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4444: $? = 0 configure:4517: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c -L/home/peko/autobuild/instance-1/output/host/lib -lusb-1.0 -pthread >&5 /home/peko/autobuild/instance-1/output/host/lib/libusb-1.0.so: undefined reference to `clock_gettime' collect2: error: ld returned 1 exit status configure:4517: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "dfu-util" | #define PACKAGE_TARNAME "dfu-util" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "dfu-util 0.9" | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" | #define PACKAGE_URL "http://dfu-util.sourceforge.net" | #define PACKAGE "dfu-util" | #define VERSION "0.9" | /* end confdefs.h. */ | #include | #include | #if ((' ' & 0x0FF) == 0x020) | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | #else | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') || ('j' <= (c) && (c) <= 'r') || ('s' <= (c) && (c) <= 'z')) | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | #endif | | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | int | main () | { | int i; | for (i = 0; i < 256; i++) | if (XOR (islower (i), ISLOWER (i)) | || toupper (i) != TOUPPER (i)) | return 2; | return 0; | } configure:4528: result: no configure:4541: checking for sys/types.h configure:4541: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4541: $? = 0 configure:4541: result: yes configure:4541: checking for sys/stat.h configure:4541: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4541: $? = 0 configure:4541: result: yes configure:4541: checking for stdlib.h configure:4541: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4541: $? = 0 configure:4541: result: yes configure:4541: checking for string.h configure:4541: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4541: $? = 0 configure:4541: result: yes configure:4541: checking for memory.h configure:4541: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4541: $? = 0 configure:4541: result: yes configure:4541: checking for strings.h configure:4541: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4541: $? = 0 configure:4541: result: yes configure:4541: checking for inttypes.h configure:4541: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4541: $? = 0 configure:4541: result: yes configure:4541: checking for stdint.h configure:4541: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4541: $? = 0 configure:4541: result: yes configure:4541: checking for unistd.h configure:4541: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4541: $? = 0 configure:4541: result: yes configure:4556: checking windows.h usability configure:4556: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 conftest.c:53:21: fatal error: windows.h: No such file or directory compilation terminated. configure:4556: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "dfu-util" | #define PACKAGE_TARNAME "dfu-util" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "dfu-util 0.9" | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" | #define PACKAGE_URL "http://dfu-util.sourceforge.net" | #define PACKAGE "dfu-util" | #define VERSION "0.9" | #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 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:4556: result: no configure:4556: checking windows.h presence configure:4556: /usr/bin/cpp -I/home/peko/autobuild/instance-1/output/host/include conftest.c conftest.c:20:21: fatal error: windows.h: No such file or directory compilation terminated. configure:4556: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "dfu-util" | #define PACKAGE_TARNAME "dfu-util" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "dfu-util 0.9" | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" | #define PACKAGE_URL "http://dfu-util.sourceforge.net" | #define PACKAGE "dfu-util" | #define VERSION "0.9" | #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 | /* end confdefs.h. */ | #include configure:4556: result: no configure:4556: checking for windows.h configure:4556: result: no configure:4556: checking sysexits.h usability configure:4556: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4556: $? = 0 configure:4556: result: yes configure:4556: checking sysexits.h presence configure:4556: /usr/bin/cpp -I/home/peko/autobuild/instance-1/output/host/include conftest.c configure:4556: $? = 0 configure:4556: result: yes configure:4556: checking for sysexits.h configure:4556: result: yes configure:4556: checking for unistd.h configure:4556: result: yes configure:4568: checking for an ANSI C-conforming const configure:4634: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4634: $? = 0 configure:4641: result: yes configure:4649: checking for size_t configure:4649: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 configure:4649: $? = 0 configure:4649: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include conftest.c >&5 conftest.c: In function 'main': conftest.c:58:21: error: expected expression before ')' token configure:4649: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "dfu-util" | #define PACKAGE_TARNAME "dfu-util" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "dfu-util 0.9" | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" | #define PACKAGE_URL "http://dfu-util.sourceforge.net" | #define PACKAGE "dfu-util" | #define VERSION "0.9" | #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_SYSEXITS_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:4649: result: yes configure:4662: checking for working memcmp configure:4705: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c -L/home/peko/autobuild/instance-1/output/host/lib -lusb-1.0 -pthread >&5 /home/peko/autobuild/instance-1/output/host/lib/libusb-1.0.so: undefined reference to `clock_gettime' collect2: error: ld returned 1 exit status configure:4705: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "dfu-util" | #define PACKAGE_TARNAME "dfu-util" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "dfu-util 0.9" | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" | #define PACKAGE_URL "http://dfu-util.sourceforge.net" | #define PACKAGE "dfu-util" | #define VERSION "0.9" | #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_SYSEXITS_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | | /* Some versions of memcmp are not 8-bit clean. */ | char c0 = '\100', c1 = '\200', c2 = '\201'; | if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) | return 1; | | /* The Next x86 OpenStep bug shows up only when comparing 16 bytes | or more and with at least one buffer not starting on a 4-byte boundary. | William Lewis provided this test program. */ | { | char foo[21]; | char bar[21]; | int i; | for (i = 0; i < 4; i++) | { | char *a = foo + i; | char *b = bar + i; | strcpy (a, "--------01111111"); | strcpy (b, "--------10000000"); | if (memcmp (a, b, 16) >= 0) | return 1; | } | return 0; | } | | ; | return 0; | } configure:4715: result: no configure:4727: checking for getpagesize configure:4727: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c -L/home/peko/autobuild/instance-1/output/host/lib -lusb-1.0 -pthread >&5 /home/peko/autobuild/instance-1/output/host/lib/libusb-1.0.so: undefined reference to `clock_gettime' collect2: error: ld returned 1 exit status configure:4727: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "dfu-util" | #define PACKAGE_TARNAME "dfu-util" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "dfu-util 0.9" | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" | #define PACKAGE_URL "http://dfu-util.sourceforge.net" | #define PACKAGE "dfu-util" | #define VERSION "0.9" | #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_SYSEXITS_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | /* Define getpagesize to an innocuous variant, in case declares getpagesize. | For example, HP-UX 11i declares gettimeofday. */ | #define getpagesize innocuous_getpagesize | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getpagesize (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getpagesize | | /* 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 getpagesize (); | /* 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_getpagesize || defined __stub___getpagesize | choke me | #endif | | int | main () | { | return getpagesize (); | ; | return 0; | } configure:4727: result: no configure:4727: checking for nanosleep configure:4727: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c -L/home/peko/autobuild/instance-1/output/host/lib -lusb-1.0 -pthread >&5 /home/peko/autobuild/instance-1/output/host/lib/libusb-1.0.so: undefined reference to `clock_gettime' collect2: error: ld returned 1 exit status configure:4727: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "dfu-util" | #define PACKAGE_TARNAME "dfu-util" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "dfu-util 0.9" | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" | #define PACKAGE_URL "http://dfu-util.sourceforge.net" | #define PACKAGE "dfu-util" | #define VERSION "0.9" | #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_SYSEXITS_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | /* Define nanosleep to an innocuous variant, in case declares nanosleep. | For example, HP-UX 11i declares gettimeofday. */ | #define nanosleep innocuous_nanosleep | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char nanosleep (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef nanosleep | | /* 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 nanosleep (); | /* 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_nanosleep || defined __stub___nanosleep | choke me | #endif | | int | main () | { | return nanosleep (); | ; | return 0; | } configure:4727: result: no configure:4727: checking for err configure:4727: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 -I/home/peko/autobuild/instance-1/output/host/include -L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib conftest.c -L/home/peko/autobuild/instance-1/output/host/lib -lusb-1.0 -pthread >&5 /home/peko/autobuild/instance-1/output/host/lib/libusb-1.0.so: undefined reference to `clock_gettime' collect2: error: ld returned 1 exit status configure:4727: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "dfu-util" | #define PACKAGE_TARNAME "dfu-util" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "dfu-util 0.9" | #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" | #define PACKAGE_URL "http://dfu-util.sourceforge.net" | #define PACKAGE "dfu-util" | #define VERSION "0.9" | #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_SYSEXITS_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | /* Define err to an innocuous variant, in case declares err. | For example, HP-UX 11i declares gettimeofday. */ | #define err innocuous_err | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char err (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef err | | /* 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 err (); | /* 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_err || defined __stub___err | choke me | #endif | | int | main () | { | return err (); | ; | return 0; | } configure:4727: result: no configure:4848: checking that generated files are newer than configure configure:4854: result: done configure:4877: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by dfu-util config.status 0.9, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on gcc20 config.status:861: creating Makefile config.status:861: creating src/Makefile config.status:861: creating doc/Makefile config.status:861: creating config.h config.status:1090: executing depfiles commands configure:6192: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/bin/gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -I/home/peko/autobuild/instance-1/output/host/include' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/home/peko/autobuild/instance-1/output/host/include ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/usr/bin/cpp ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set=set ac_cv_env_PKG_CONFIG_LIBDIR_value=/home/peko/autobuild/instance-1/output/host/lib/pkgconfig:/home/peko/autobuild/instance-1/output/host/share/pkgconfig ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/home/peko/autobuild/instance-1/output/host/bin/pkg-config ac_cv_env_USB_CFLAGS_set= ac_cv_env_USB_CFLAGS_value= ac_cv_env_USB_LIBS_set= ac_cv_env_USB_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_err=no ac_cv_func_getpagesize=no ac_cv_func_memcmp_working=no ac_cv_func_nanosleep=no ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=no 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_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sysexits_h=yes ac_cv_header_unistd_h=yes ac_cv_header_windows_h=no ac_cv_lib_usb_libusb_init=no ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP=/usr/bin/cpp ac_cv_prog_ac_ct_CC=/usr/bin/gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_type_size_t=yes am_cv_CC_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes pkg_cv_USB_CFLAGS='-I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 ' pkg_cv_USB_LIBS='-L/home/peko/autobuild/instance-1/output/host/lib -lusb-1.0 -pthread ' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='aclocal-1.14' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AUTOCONF='autoconf' AUTOHEADER='autoheader' AUTOMAKE='automake-1.14' AWK='gawk' CC='/usr/bin/gcc' CCDEPMODE='depmode=none' CFLAGS='-O2 -I/home/peko/autobuild/instance-1/output/host/include -I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 ' CPP='/usr/bin/cpp' CPPFLAGS='-I/home/peko/autobuild/instance-1/output/host/include' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='-L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib' LIBOBJS=' ${LIBOBJDIR}memcmp$U.o' LIBS=' -L/home/peko/autobuild/instance-1/output/host/lib -lusb-1.0 -pthread ' LTLIBOBJS=' ${LIBOBJDIR}memcmp$U.lo' MAKEINFO='makeinfo' MKDIR_P='/bin/mkdir -p' OBJEXT='o' PACKAGE='dfu-util' PACKAGE_BUGREPORT='http://sourceforge.net/p/dfu-util/tickets/' PACKAGE_NAME='dfu-util' PACKAGE_STRING='dfu-util 0.9' PACKAGE_TARNAME='dfu-util' PACKAGE_URL='http://dfu-util.sourceforge.net' PACKAGE_VERSION='0.9' PATH_SEPARATOR=':' PKG_CONFIG='/home/peko/autobuild/instance-1/output/host/bin/pkg-config' PKG_CONFIG_LIBDIR='/home/peko/autobuild/instance-1/output/host/lib/pkgconfig:/home/peko/autobuild/instance-1/output/host/share/pkgconfig' PKG_CONFIG_PATH='' SET_MAKE='' SHELL='/bin/bash' STRIP='' USB_CFLAGS='-I/home/peko/autobuild/instance-1/output/host/include/libusb-1.0 ' USB_LIBS='-L/home/peko/autobuild/instance-1/output/host/lib -lusb-1.0 -pthread ' VERSION='0.9' ac_ct_CC='/usr/bin/gcc' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build_alias='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/peko/autobuild/instance-1/output/build/host-dfu-util-0.9/m4/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/home/peko/autobuild/instance-1/output/host/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/peko/autobuild/instance-1/output/host' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/home/peko/autobuild/instance-1/output/host/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "dfu-util" #define PACKAGE_TARNAME "dfu-util" #define PACKAGE_VERSION "0.9" #define PACKAGE_STRING "dfu-util 0.9" #define PACKAGE_BUGREPORT "http://sourceforge.net/p/dfu-util/tickets/" #define PACKAGE_URL "http://dfu-util.sourceforge.net" #define PACKAGE "dfu-util" #define VERSION "0.9" #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_SYSEXITS_H 1 #define HAVE_UNISTD_H 1 configure: exit 0