The build took 00h 01m 20s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language |
|---|---|
30,325 |
ansic |
4,304 |
sh |
3,246 |
makefile |
37,875 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
To avoid scrolling, you may jump to the last line of the
invocation of makepkg that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
Copied permanent toolchain into container-local sysroot
/toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi/toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB/toolchain_root/sysroot --> /sysroot/sysroot/toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME/toolchain_root/lib --> /sysroot/lib/toolchain_root/SOURCES --> /sysroot/SOURCES/toolchain_root/lib64 --> /sysroot/lib64/toolchain_root/share --> /sysroot/share/toolchain_root/bin --> /sysroot/bin/toolchain_root/COPYING --> /sysroot/COPYING/toolchain_root/COPYING3 --> /sysroot/COPYING3/toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB/toolchain_root/include --> /sysroot/include/toolchain_root/libexec --> /sysroot/libexecCMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: subsurface-libdc 4.5.6-1 (Tue Apr 4 21:07:22 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...libtoolize: putting auxiliary files in '.'.libtoolize: copying file './ltmain.sh'libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.libtoolize: copying file 'm4/libtool.m4'libtoolize: copying file 'm4/ltoptions.m4'libtoolize: copying file 'm4/ltsugar.m4'libtoolize: copying file 'm4/ltversion.m4'libtoolize: copying file 'm4/lt~obsolete.m4'Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.configure.ac:24: installing './ar-lib'configure.ac:24: installing './compile'configure.ac:28: installing './config.guess'configure.ac:28: installing './config.sub'configure.ac:21: installing './install-sh'configure.ac:21: installing './missing'examples/Makefile.am: installing './depcomp'checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for arm-linux-androideabi-strip... arm-linux-androideabi-stripchecking for a thread-safe mkdir -p... /usr/sbin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether make supports nested variables... yeschecking for style of include used by make... GNUchecking for arm-linux-androideabi-gcc... arm-linux-androideabi-gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... yeschecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether arm-linux-androideabi-gcc accepts -g... yeschecking for arm-linux-androideabi-gcc option to accept ISO C89... none neededchecking whether arm-linux-androideabi-gcc understands -c and -o together... yeschecking dependency style of arm-linux-androideabi-gcc... gcc3checking for arm-linux-androideabi-ar... arm-linux-androideabi-archecking the archiver (arm-linux-androideabi-ar) interface... archecking build system type... x86_64-unknown-linux-gnuchecking host system type... arm-unknown-linux-androideabichecking how to print strings... printfchecking for a sed that does not truncate output... /usr/sbin/sedchecking for grep that handles long lines and -e... /usr/sbin/grepchecking for egrep... /usr/sbin/grep -Echecking for fgrep... /usr/sbin/grep -Fchecking for ld used by arm-linux-androideabi-gcc... /sysroot/arm-linux-androideabi/bin/ldchecking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/arm-linux-androideabi-nm -Bchecking the name lister (/sysroot/bin/arm-linux-androideabi-nm -B) interface... BSD nmchecking whether ln -s works... yeschecking the maximum length of command line arguments... 1572864checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi format... func_convert_file_noopchecking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noopchecking for /sysroot/arm-linux-androideabi/bin/ld option to reload object files... -rchecking for arm-linux-androideabi-objdump... arm-linux-androideabi-objdumpchecking how to recognize dependent libraries... pass_allchecking for arm-linux-androideabi-dlltool... nochecking for dlltool... nochecking how to associate runtime and link libraries... printf %s\nchecking for arm-linux-androideabi-ar... (cached) arm-linux-androideabi-archecking for archiver @FILE support... @checking for arm-linux-androideabi-strip... (cached) arm-linux-androideabi-stripchecking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlibchecking command to parse /sysroot/bin/arm-linux-androideabi-nm -B output from arm-linux-androideabi-gcc object... okchecking for sysroot... nochecking for a working dd... /usr/sbin/ddchecking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1checking for arm-linux-androideabi-mt... nochecking for mt... nochecking if : is a manifest tool... nochecking how to run the C preprocessor... arm-linux-androideabi-gcc -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for dlfcn.h... yeschecking for objdir... .libschecking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions... nochecking for arm-linux-androideabi-gcc option to produce PIC... -fPIC -DPICchecking if arm-linux-androideabi-gcc PIC flag -fPIC -DPIC works... yeschecking if arm-linux-androideabi-gcc static flag -static works... yeschecking if arm-linux-androideabi-gcc supports -c -o file.o... yeschecking if arm-linux-androideabi-gcc supports -c -o file.o... (cached) yeschecking whether the arm-linux-androideabi-gcc linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... Android linkerchecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... yeschecking for arm-linux-androideabi-windres... nochecking for windres... nochecking for arm-linux-androideabi-gcc... (cached) arm-linux-androideabi-gccchecking whether we are using the GNU C compiler... (cached) yeschecking whether arm-linux-androideabi-gcc accepts -g... (cached) yeschecking for arm-linux-androideabi-gcc option to accept ISO C89... (cached) none neededchecking whether arm-linux-androideabi-gcc understands -c and -o together... (cached) yeschecking dependency style of arm-linux-androideabi-gcc... (cached) gcc3checking for arm-linux-androideabi-gcc option to accept ISO C99... -std=gnu99checking whether make supports nested variables... (cached) yeschecking for native Win32... nochecking for arm-linux-androideabi-pkg-config... nochecking for pkg-config... /usr/sbin/pkg-configconfigure: WARNING: using cross tools not prefixed with host tripletchecking pkg-config is at least version 0.9.0... yeschecking for LIBUSB... yeschecking for HIDAPI... nochecking for winsock2.h... nochecking for af_irda.h... nochecking for sys/socket.h... yeschecking for linux/types.h... yeschecking for linux/irda.h... yeschecking linux/serial.h usability... yeschecking linux/serial.h presence... yeschecking for linux/serial.h... yeschecking IOKit/serial/ioss.h usability... nochecking IOKit/serial/ioss.h presence... nochecking for IOKit/serial/ioss.h... nochecking getopt.h usability... yeschecking getopt.h presence... yeschecking for getopt.h... yeschecking sys/param.h usability... yeschecking sys/param.h presence... yeschecking for sys/param.h... yeschecking whether optreset is declared... nochecking whether strerror_r is declared... yeschecking for strerror_r... yeschecking whether strerror_r returns char *... nochecking for localtime_r... yeschecking for gmtime_r... yeschecking for getopt_long... yeschecking that generated files are newer than configure... doneconfigure: creating ./config.statusconfig.status: creating libdivecomputer.pcconfig.status: creating Makefileconfig.status: creating include/Makefileconfig.status: creating include/libdivecomputer/Makefileconfig.status: creating include/libdivecomputer/version.hconfig.status: creating src/Makefileconfig.status: creating src/libdivecomputer.rcconfig.status: creating examples/Makefileconfig.status: creating config.hconfig.status: executing depfiles commandsconfig.status: executing libtool commandsmake -s all-recursiveMaking all in includeMaking all in libdivecomputerMaking all in src GEN revision.h CC version.lo CC descriptor.lo CC iterator.lo CC common.lo CC context.lo CC device.lo CC parser.lo CC datetime.lo CC suunto_common.lo CC suunto_common2.lo CC suunto_solution.lo CC suunto_solution_parser.lo CC suunto_eon.lo CC suunto_eon_parser.lo CC suunto_vyper.lo CC suunto_vyper_parser.lo CC suunto_vyper2.lo CC suunto_d9.lo CC suunto_d9_parser.lo CC suunto_eonsteel.lo CC suunto_eonsteel_parser.lo CC reefnet_sensus.losuunto_eonsteel.c:49:31: fatal error: libusb-1.0/libusb.h: No such file or directory #include ^compilation terminated.make[3]: *** [Makefile:632: suunto_eonsteel.lo] Error 1make[3]: *** Waiting for unfinished jobs....make[2]: *** [Makefile:454: all] Error 2make[1]: *** [Makefile:470: all-recursive] Error 1make: *** [Makefile:379: all] Error 2==> ERROR: A failure occurred in build(). Aborting...Printing config logfiles
CMD: config logfiles '/tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/config.log'
This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by libdivecomputer configure 0.5.0-devel-Subsurface-branch, which wasgenerated by GNU Autoconf 2.69. Invocation command line was$ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --program-prefix=libdc-## --------- #### Platform. #### --------- ##hostname = a841157f6899uname -m = x86_64uname -r = 4.10.6-1-ARCHuname -s = Linuxuname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017/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 = unknownPATH: /sysroot/binPATH: /sysroot/libexec/gcc/arm-linux-androideabi/4.8PATH: /usr/local/sbinPATH: /usr/local/binPATH: /usr/sbinPATH: /usr/binPATH: /sbinPATH: /bin## ----------- #### Core tests. #### ----------- ##configure:2354: checking for a BSD-compatible installconfigure:2422: result: /usr/bin/install -cconfigure:2433: checking whether build environment is saneconfigure:2488: result: yesconfigure:2547: checking for arm-linux-androideabi-stripconfigure:2563: found /sysroot/bin/arm-linux-androideabi-stripconfigure:2574: result: arm-linux-androideabi-stripconfigure:2639: checking for a thread-safe mkdir -pconfigure:2678: result: /usr/sbin/mkdir -pconfigure:2685: checking for gawkconfigure:2701: found /usr/sbin/gawkconfigure:2712: result: gawkconfigure:2723: checking whether make sets $(MAKE)configure:2745: result: yesconfigure:2774: checking whether make supports nested variablesconfigure:2791: result: yesconfigure:2931: checking for style of include used by makeconfigure:2959: result: GNUconfigure:2990: checking for arm-linux-androideabi-gccconfigure:3017: result: arm-linux-androideabi-gccconfigure:3286: checking for C compiler versionconfigure:3295: arm-linux-androideabi-gcc --version >&5arm-linux-androideabi-gcc (GCC) 4.8Copyright (C) 2013 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.configure:3306: $? = 0configure:3295: arm-linux-androideabi-gcc -v >&5Using built-in specs.COLLECT_GCC=arm-linux-androideabi-gccCOLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapperTarget: arm-linux-androideabiConfigured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=defaultThread model: posixgcc version 4.8 (GCC)configure:3306: $? = 0configure:3295: arm-linux-androideabi-gcc -V >&5arm-linux-androideabi-gcc: error: unrecognized command line option '-V'arm-linux-androideabi-gcc: fatal error: no input filescompilation terminated.configure:3306: $? = 1configure:3295: arm-linux-androideabi-gcc -qversion >&5arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'arm-linux-androideabi-gcc: fatal error: no input filescompilation terminated.configure:3306: $? = 1configure:3326: checking whether the C compiler worksconfigure:3348: arm-linux-androideabi-gcc conftest.c >&5configure:3352: $? = 0configure:3400: result: yesconfigure:3403: checking for C compiler default output file nameconfigure:3405: result: a.outconfigure:3411: checking for suffix of executablesconfigure:3418: arm-linux-androideabi-gcc -o conftest conftest.c >&5configure:3422: $? = 0configure:3444: result:configure:3466: checking whether we are cross compilingconfigure:3504: result: yesconfigure:3509: checking for suffix of object filesconfigure:3531: arm-linux-androideabi-gcc -c conftest.c >&5configure:3535: $? = 0configure:3556: result: oconfigure:3560: checking whether we are using the GNU C compilerconfigure:3579: arm-linux-androideabi-gcc -c conftest.c >&5configure:3579: $? = 0configure:3588: result: yesconfigure:3597: checking whether arm-linux-androideabi-gcc accepts -gconfigure:3617: arm-linux-androideabi-gcc -c -g conftest.c >&5configure:3617: $? = 0configure:3658: result: yesconfigure:3675: checking for arm-linux-androideabi-gcc option to accept ISO C89configure:3738: arm-linux-androideabi-gcc -c conftest.c >&5configure:3738: $? = 0configure:3751: result: none neededconfigure:3776: checking whether arm-linux-androideabi-gcc understands -c and -o togetherconfigure:3798: arm-linux-androideabi-gcc -c conftest.c -o conftest2.oconfigure:3801: $? = 0configure:3798: arm-linux-androideabi-gcc -c conftest.c -o conftest2.oconfigure:3801: $? = 0configure:3813: result: yesconfigure:3832: checking dependency style of arm-linux-androideabi-gccconfigure:3943: result: gcc3configure:3964: checking for arm-linux-androideabi-arconfigure:3980: found /sysroot/bin/arm-linux-androideabi-arconfigure:3991: result: arm-linux-androideabi-arconfigure:4061: checking the archiver (arm-linux-androideabi-ar) interfaceconfigure:4077: arm-linux-androideabi-gcc -c conftest.c >&5configure:4077: $? = 0configure:4079: arm-linux-androideabi-ar cru libconftest.a conftest.o >&5configure:4082: $? = 0configure:4110: result: arconfigure:4162: checking build system typeconfigure:4176: result: x86_64-unknown-linux-gnuconfigure:4196: checking host system typeconfigure:4209: result: arm-unknown-linux-androideabiconfigure:4250: checking how to print stringsconfigure:4277: result: printfconfigure:4298: checking for a sed that does not truncate outputconfigure:4362: result: /usr/sbin/sedconfigure:4380: checking for grep that handles long lines and -econfigure:4438: result: /usr/sbin/grepconfigure:4443: checking for egrepconfigure:4505: result: /usr/sbin/grep -Econfigure:4510: checking for fgrepconfigure:4572: result: /usr/sbin/grep -Fconfigure:4607: checking for ld used by arm-linux-androideabi-gccconfigure:4674: result: /sysroot/arm-linux-androideabi/bin/ldconfigure:4681: checking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ldconfigure:4696: result: yesconfigure:4708: checking for BSD- or MS-compatible name lister (nm)configure:4762: result: /sysroot/bin/arm-linux-androideabi-nm -Bconfigure:4892: checking the name lister (/sysroot/bin/arm-linux-androideabi-nm -B) interfaceconfigure:4899: arm-linux-androideabi-gcc -c conftest.c >&5configure:4902: /sysroot/bin/arm-linux-androideabi-nm -B "conftest.o"configure:4905: output00000000 B some_variableconfigure:4912: result: BSD nmconfigure:4915: checking whether ln -s worksconfigure:4919: result: yesconfigure:4927: checking the maximum length of command line argumentsconfigure:5058: result: 1572864configure:5106: checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi formatconfigure:5146: result: func_convert_file_noopconfigure:5153: checking how to convert x86_64-unknown-linux-gnu file names to toolchain formatconfigure:5173: result: func_convert_file_noopconfigure:5180: checking for /sysroot/arm-linux-androideabi/bin/ld option to reload object filesconfigure:5187: result: -rconfigure:5221: checking for arm-linux-androideabi-objdumpconfigure:5237: found /sysroot/bin/arm-linux-androideabi-objdumpconfigure:5248: result: arm-linux-androideabi-objdumpconfigure:5317: checking how to recognize dependent librariesconfigure:5517: result: pass_allconfigure:5562: checking for arm-linux-androideabi-dlltoolconfigure:5592: result: noconfigure:5602: checking for dlltoolconfigure:5632: result: noconfigure:5659: checking how to associate runtime and link librariesconfigure:5686: result: printf %s\nconfigure:5702: checking for arm-linux-androideabi-arconfigure:5729: result: arm-linux-androideabi-arconfigure:5810: checking for archiver @FILE supportconfigure:5827: arm-linux-androideabi-gcc -c conftest.c >&5configure:5827: $? = 0configure:5830: arm-linux-androideabi-ar cru libconftest.a @conftest.lst >&5configure:5833: $? = 0configure:5838: arm-linux-androideabi-ar cru libconftest.a @conftest.lst >&5arm-linux-androideabi-ar: conftest.o: No such file or directoryconfigure:5841: $? = 1configure:5853: result: @configure:5871: checking for arm-linux-androideabi-stripconfigure:5898: result: arm-linux-androideabi-stripconfigure:5970: checking for arm-linux-androideabi-ranlibconfigure:5986: found /sysroot/bin/arm-linux-androideabi-ranlibconfigure:5997: result: arm-linux-androideabi-ranlibconfigure:6139: checking command to parse /sysroot/bin/arm-linux-androideabi-nm -B output from arm-linux-androideabi-gcc objectconfigure:6292: arm-linux-androideabi-gcc -c conftest.c >&5configure:6295: $? = 0configure:6299: /sysroot/bin/arm-linux-androideabi-nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nmconfigure:6302: $? = 0configure:6368: arm-linux-androideabi-gcc -o conftest conftest.c conftstm.o >&5configure:6371: $? = 0configure:6409: result: okconfigure:6456: checking for sysrootconfigure:6486: result: noconfigure:6493: checking for a working ddconfigure:6531: result: /usr/sbin/ddconfigure:6535: checking how to truncate binary pipesconfigure:6550: result: /usr/sbin/dd bs=4096 count=1configure:6839: checking for arm-linux-androideabi-mtconfigure:6869: result: noconfigure:6879: checking for mtconfigure:6909: result: noconfigure:6929: checking if : is a manifest toolconfigure:6935: : '-?'configure:6943: result: noconfigure:7620: checking how to run the C preprocessorconfigure:7651: arm-linux-androideabi-gcc -E conftest.cconfigure:7651: $? = 0configure:7665: arm-linux-androideabi-gcc -E conftest.cconftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory#include ^compilation terminated.configure:7665: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| /* end confdefs.h. */| #include configure:7690: result: arm-linux-androideabi-gcc -Econfigure:7710: arm-linux-androideabi-gcc -E conftest.cconfigure:7710: $? = 0configure:7724: arm-linux-androideabi-gcc -E conftest.cconftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory#include ^compilation terminated.configure:7724: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| /* end confdefs.h. */| #include configure:7753: checking for ANSI C header filesconfigure:7773: arm-linux-androideabi-gcc -c conftest.c >&5configure:7773: $? = 0configure:7857: result: yesconfigure:7870: checking for sys/types.hconfigure:7870: arm-linux-androideabi-gcc -c conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for sys/stat.hconfigure:7870: arm-linux-androideabi-gcc -c conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for stdlib.hconfigure:7870: arm-linux-androideabi-gcc -c conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for string.hconfigure:7870: arm-linux-androideabi-gcc -c conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for memory.hconfigure:7870: arm-linux-androideabi-gcc -c conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for strings.hconfigure:7870: arm-linux-androideabi-gcc -c conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for inttypes.hconfigure:7870: arm-linux-androideabi-gcc -c conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for stdint.hconfigure:7870: arm-linux-androideabi-gcc -c conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for unistd.hconfigure:7870: arm-linux-androideabi-gcc -c conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7884: checking for dlfcn.hconfigure:7884: arm-linux-androideabi-gcc -c conftest.c >&5configure:7884: $? = 0configure:7884: result: yesconfigure:8438: checking for objdirconfigure:8453: result: .libsconfigure:8717: checking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptionsconfigure:8735: arm-linux-androideabi-gcc -c -fno-rtti -fno-exceptions conftest.c >&5cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]configure:8739: $? = 0configure:8752: result: noconfigure:9110: checking for arm-linux-androideabi-gcc option to produce PICconfigure:9117: result: -fPIC -DPICconfigure:9125: checking if arm-linux-androideabi-gcc PIC flag -fPIC -DPIC worksconfigure:9143: arm-linux-androideabi-gcc -c -fPIC -DPIC -DPIC conftest.c >&5configure:9147: $? = 0configure:9160: result: yesconfigure:9189: checking if arm-linux-androideabi-gcc static flag -static worksconfigure:9217: result: yesconfigure:9232: checking if arm-linux-androideabi-gcc supports -c -o file.oconfigure:9253: arm-linux-androideabi-gcc -c -o out/conftest2.o conftest.c >&5configure:9257: $? = 0configure:9279: result: yesconfigure:9287: checking if arm-linux-androideabi-gcc supports -c -o file.oconfigure:9334: result: yesconfigure:9367: checking whether the arm-linux-androideabi-gcc linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared librariesconfigure:10626: result: yesconfigure:10663: checking whether -lc should be explicitly linked inconfigure:10671: arm-linux-androideabi-gcc -c conftest.c >&5configure:10674: $? = 0configure:10689: arm-linux-androideabi-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1configure:10692: $? = 0configure:10706: result: noconfigure:10866: checking dynamic linker characteristicsconfigure:11684: result: Android linkerconfigure:11806: checking how to hardcode library paths into programsconfigure:11831: result: immediateconfigure:12379: checking whether stripping libraries is possibleconfigure:12384: result: yesconfigure:12419: checking if libtool supports shared librariesconfigure:12421: result: yesconfigure:12424: checking whether to build shared librariesconfigure:12449: result: yesconfigure:12452: checking whether to build static librariesconfigure:12456: result: yesconfigure:12496: checking for arm-linux-androideabi-windresconfigure:12526: result: noconfigure:12536: checking for windresconfigure:12566: result: noconfigure:12721: checking for arm-linux-androideabi-gccconfigure:12748: result: arm-linux-androideabi-gccconfigure:13017: checking for C compiler versionconfigure:13026: arm-linux-androideabi-gcc --version >&5arm-linux-androideabi-gcc (GCC) 4.8Copyright (C) 2013 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.configure:13037: $? = 0configure:13026: arm-linux-androideabi-gcc -v >&5Using built-in specs.COLLECT_GCC=arm-linux-androideabi-gccCOLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapperTarget: arm-linux-androideabiConfigured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=defaultThread model: posixgcc version 4.8 (GCC)configure:13037: $? = 0configure:13026: arm-linux-androideabi-gcc -V >&5arm-linux-androideabi-gcc: error: unrecognized command line option '-V'arm-linux-androideabi-gcc: fatal error: no input filescompilation terminated.configure:13037: $? = 1configure:13026: arm-linux-androideabi-gcc -qversion >&5arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'arm-linux-androideabi-gcc: fatal error: no input filescompilation terminated.configure:13037: $? = 1configure:13041: checking whether we are using the GNU C compilerconfigure:13069: result: yesconfigure:13078: checking whether arm-linux-androideabi-gcc accepts -gconfigure:13139: result: yesconfigure:13156: checking for arm-linux-androideabi-gcc option to accept ISO C89configure:13232: result: none neededconfigure:13257: checking whether arm-linux-androideabi-gcc understands -c and -o togetherconfigure:13294: result: yesconfigure:13313: checking dependency style of arm-linux-androideabi-gccconfigure:13424: result: gcc3configure:13439: checking for arm-linux-androideabi-gcc option to accept ISO C99configure:13588: arm-linux-androideabi-gcc -c conftest.c >&5conftest.c:74:29: error: expected ';', ',' or ')' before 'text'test_restrict (ccp restrict text)^conftest.c: In function 'main':conftest.c:128:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'char *restrict newvar = "Another string";^conftest.c:128:18: error: 'newvar' undeclared (first use in this function)conftest.c:128:18: note: each undeclared identifier is reported only once for each function it appears inconftest.c:138:3: error: 'for' loop initial declarations are only allowed in C99 modefor (int i = 0; i < ia->datasize; ++i)^conftest.c:138:3: note: use option -std=c99 or -std=gnu99 to compile your codeconfigure:13588: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #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 ENABLE_LOGGING 1| /* end confdefs.h. */| #include | #include | #include | #include | #include || // Check varargs macros. These examples are taken from C99 6.10.3.5.| #define debug(...) fprintf (stderr, __VA_ARGS__)| #define showlist(...) puts (#__VA_ARGS__)| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))| static void| test_varargs_macros (void)| {| int x = 1234;| int y = 5678;| debug ("Flag");| debug ("X = %d\n", x);| showlist (The first, second, and third items.);| report (x>y, "x is %d but y is %d", x, y);| }|| // Check long long types.| #define BIG64 18446744073709551615ull| #define BIG32 4294967295ul| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)| #if !BIG_OK| your preprocessor is broken;| #endif| #if BIG_OK| #else| your preprocessor is broken;| #endif| static long long int bignum = -9223372036854775807LL;| static unsigned long long int ubignum = BIG64;|| struct incomplete_array| {| int datasize;| double data[];| };|| struct named_init {| int number;| const wchar_t *name;| double average;| };|| typedef const char *ccp;|| static inline int| test_restrict (ccp restrict text)| {| // See if C++-style comments work.| // Iterate through items via the restricted pointer.| // Also check for declarations in for loops.| for (unsigned int i = 0; *(text+i) != '\0'; ++i)| continue;| return 0;| }|| // Check varargs and va_copy.| static void| test_varargs (const char *format, ...)| {| va_list args;| va_start (args, format);| va_list args_copy;| va_copy (args_copy, args);|| const char *str;| int number;| float fnumber;|| while (*format)| {| switch (*format++)| {| case 's': // string| str = va_arg (args_copy, const char *);| break;| case 'd': // int| number = va_arg (args_copy, int);| break;| case 'f': // float| fnumber = va_arg (args_copy, double);| break;| default:| break;| }| }| va_end (args_copy);| va_end (args);| }|| int| main ()| {|| // Check bool.| _Bool success = false;|| // Check restrict.| if (test_restrict ("String literal") == 0)| success = true;| char *restrict newvar = "Another string";|| // Check varargs.| test_varargs ("s, d' f .", "string", 65, 34.234);| test_varargs_macros ();|| // Check flexible array members.| struct incomplete_array *ia =| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));| ia->datasize = 10;| for (int i = 0; i < ia->datasize; ++i)| ia->data[i] = i * 1.234;|| // Check named initializers.| struct named_init ni = {| .number = 34,| .name = L"Test wide string",| .average = 543.34343,| };|| ni.number = 58;|| int dynamic_array[ni.number];| dynamic_array[ni.number - 1] = 543;|| // work around unused variable warnings| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'| || dynamic_array[ni.number - 1] != 543);|| ;| return 0;| }configure:13588: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5configure:13588: $? = 0configure:13608: result: -std=gnu99configure:13629: checking whether make supports nested variablesconfigure:13646: result: yesconfigure:13659: checking for native Win32configure:13669: result: noconfigure:13696: checking for arm-linux-androideabi-pkg-configconfigure:13729: result: noconfigure:13739: checking for pkg-configconfigure:13757: found /usr/sbin/pkg-configconfigure:13769: result: /usr/sbin/pkg-configconfigure:13781: WARNING: using cross tools not prefixed with host tripletconfigure:13794: checking pkg-config is at least version 0.9.0configure:13797: result: yesconfigure:13809: checking for LIBUSBconfigure:13816: $PKG_CONFIG --exists --print-errors "libusb-1.0"configure:13819: $? = 0configure:13832: $PKG_CONFIG --exists --print-errors "libusb-1.0"configure:13835: $? = 0configure:13872: result: yesconfigure:13896: checking for HIDAPIconfigure:13903: $PKG_CONFIG --exists --print-errors "hidapi"Package hidapi was not found in the pkg-config search path.Perhaps you should add the directory containing `hidapi.pc'to the PKG_CONFIG_PATH environment variableNo package 'hidapi' foundconfigure:13906: $? = 1configure:13919: $PKG_CONFIG --exists --print-errors "hidapi"Package hidapi was not found in the pkg-config search path.Perhaps you should add the directory containing `hidapi.pc'to the PKG_CONFIG_PATH environment variableNo package 'hidapi' foundconfigure:13922: $? = 1configure:13935: result: noNo package 'hidapi' foundconfigure:13977: checking for winsock2.hconfigure:13977: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5conftest.c:31:22: fatal error: winsock2.h: No such file or directory#include ^compilation terminated.configure:13977: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #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 ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| /* end confdefs.h. */|| #if HAVE_WINSOCK2_H| # include | # endif||| #include configure:13977: result: noconfigure:13977: checking for af_irda.hconfigure:13977: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5conftest.c:31:21: fatal error: af_irda.h: No such file or directory#include ^compilation terminated.configure:13977: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #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 ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| /* end confdefs.h. */|| #if HAVE_WINSOCK2_H| # include | # endif||| #include configure:13977: result: noconfigure:13998: checking for sys/socket.hconfigure:13998: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5configure:13998: $? = 0configure:13998: result: yesconfigure:13998: checking for linux/types.hconfigure:13998: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5configure:13998: $? = 0configure:13998: result: yesconfigure:13998: checking for linux/irda.hconfigure:13998: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5configure:13998: $? = 0configure:13998: result: yesconfigure:14037: checking linux/serial.h usabilityconfigure:14037: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5configure:14037: $? = 0configure:14037: result: yesconfigure:14037: checking linux/serial.h presenceconfigure:14037: arm-linux-androideabi-gcc -E conftest.cconfigure:14037: $? = 0configure:14037: result: yesconfigure:14037: checking for linux/serial.hconfigure:14037: result: yesconfigure:14049: checking IOKit/serial/ioss.h usabilityconfigure:14049: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5conftest.c:63:31: fatal error: IOKit/serial/ioss.h: No such file or directory#include ^compilation terminated.configure:14049: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #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 ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| #define HAVE_LINUX_TYPES_H 1| #define HAVE_LINUX_IRDA_H 1| #define HAVE_IRDA 1| #define HAVE_LINUX_SERIAL_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:14049: result: noconfigure:14049: checking IOKit/serial/ioss.h presenceconfigure:14049: arm-linux-androideabi-gcc -E conftest.cconftest.c:30:31: fatal error: IOKit/serial/ioss.h: No such file or directory#include ^compilation terminated.configure:14049: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #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 ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| #define HAVE_LINUX_TYPES_H 1| #define HAVE_LINUX_IRDA_H 1| #define HAVE_IRDA 1| #define HAVE_LINUX_SERIAL_H 1| /* end confdefs.h. */| #include configure:14049: result: noconfigure:14049: checking for IOKit/serial/ioss.hconfigure:14049: result: noconfigure:14061: checking getopt.h usabilityconfigure:14061: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5configure:14061: $? = 0configure:14061: result: yesconfigure:14061: checking getopt.h presenceconfigure:14061: arm-linux-androideabi-gcc -E conftest.cconfigure:14061: $? = 0configure:14061: result: yesconfigure:14061: checking for getopt.hconfigure:14061: result: yesconfigure:14073: checking sys/param.h usabilityconfigure:14073: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5configure:14073: $? = 0configure:14073: result: yesconfigure:14073: checking sys/param.h presenceconfigure:14073: arm-linux-androideabi-gcc -E conftest.cconfigure:14073: $? = 0configure:14073: result: yesconfigure:14073: checking for sys/param.hconfigure:14073: result: yesconfigure:14085: checking whether optreset is declaredconfigure:14085: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5conftest.c: In function 'main':conftest.c:72:10: error: 'optreset' undeclared (first use in this function)(void) optreset;^conftest.c:72:10: note: each undeclared identifier is reported only once for each function it appears inconfigure:14085: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #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 ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| #define HAVE_LINUX_TYPES_H 1| #define HAVE_LINUX_IRDA_H 1| #define HAVE_IRDA 1| #define HAVE_LINUX_SERIAL_H 1| #define HAVE_GETOPT_H 1| #define HAVE_SYS_PARAM_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 ()| {| #ifndef optreset| #ifdef __cplusplus| (void) optreset;| #else| (void) optreset;| #endif| #endif|| ;| return 0;| }configure:14085: result: noconfigure:14098: checking whether strerror_r is declaredconfigure:14098: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5configure:14098: $? = 0configure:14098: result: yesconfigure:14111: checking for strerror_rconfigure:14111: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5configure:14111: $? = 0configure:14111: result: yesconfigure:14120: checking whether strerror_r returns char *configure:14144: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5conftest.c: In function 'main':conftest.c:73:13: error: invalid type argument of unary '*' (have 'int')char x = *strerror_r (0, buf, sizeof buf);^conftest.c:74:14: warning: initialization makes pointer from integer without a cast [enabled by default]char *p = strerror_r (0, buf, sizeof buf);^configure:14144: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #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 ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| #define HAVE_LINUX_TYPES_H 1| #define HAVE_LINUX_IRDA_H 1| #define HAVE_IRDA 1| #define HAVE_LINUX_SERIAL_H 1| #define HAVE_GETOPT_H 1| #define HAVE_SYS_PARAM_H 1| #define HAVE_DECL_OPTRESET 0| #define HAVE_DECL_STRERROR_R 1| #define HAVE_STRERROR_R 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 ()| {|| char buf[100];| char x = *strerror_r (0, buf, sizeof buf);| char *p = strerror_r (0, buf, sizeof buf);| return !p || x;|| ;| return 0;| }configure:14182: result: noconfigure:14193: checking for localtime_rconfigure:14193: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5configure:14193: $? = 0configure:14193: result: yesconfigure:14193: checking for gmtime_rconfigure:14193: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5configure:14193: $? = 0configure:14193: result: yesconfigure:14204: checking for getopt_longconfigure:14204: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5configure:14204: $? = 0configure:14204: result: yesconfigure:14344: checking that generated files are newer than configureconfigure:14350: result: doneconfigure:14389: creating ./config.status## ---------------------- #### Running config.status. #### ---------------------- ##This file was extended by libdivecomputer config.status 0.5.0-devel-Subsurface-branch, which wasgenerated by GNU Autoconf 2.69. Invocation command line wasCONFIG_FILES =CONFIG_HEADERS =CONFIG_LINKS =CONFIG_COMMANDS =$ ./config.statuson a841157f6899config.status:1172: creating libdivecomputer.pcconfig.status:1172: creating Makefileconfig.status:1172: creating include/Makefileconfig.status:1172: creating include/libdivecomputer/Makefileconfig.status:1172: creating include/libdivecomputer/version.hconfig.status:1172: creating src/Makefileconfig.status:1172: creating src/libdivecomputer.rcconfig.status:1172: creating examples/Makefileconfig.status:1172: creating config.hconfig.status:1401: executing depfiles commandsconfig.status:1401: executing libtool commands## ---------------- #### Cache variables. #### ---------------- ##ac_cv_build=x86_64-unknown-linux-gnuac_cv_c_compiler_gnu=yesac_cv_env_CC_set=setac_cv_env_CC_value=arm-linux-androideabi-gccac_cv_env_CFLAGS_set=setac_cv_env_CFLAGS_value=ac_cv_env_CPPFLAGS_set=setac_cv_env_CPPFLAGS_value=ac_cv_env_CPP_set=ac_cv_env_CPP_value=ac_cv_env_HIDAPI_CFLAGS_set=ac_cv_env_HIDAPI_CFLAGS_value=ac_cv_env_HIDAPI_LIBS_set=ac_cv_env_HIDAPI_LIBS_value=ac_cv_env_LDFLAGS_set=setac_cv_env_LDFLAGS_value=ac_cv_env_LIBS_set=ac_cv_env_LIBS_value=ac_cv_env_LIBUSB_CFLAGS_set=ac_cv_env_LIBUSB_CFLAGS_value=ac_cv_env_LIBUSB_LIBS_set=ac_cv_env_LIBUSB_LIBS_value=ac_cv_env_LT_SYS_LIBRARY_PATH_set=ac_cv_env_LT_SYS_LIBRARY_PATH_value=ac_cv_env_PKG_CONFIG_LIBDIR_set=ac_cv_env_PKG_CONFIG_LIBDIR_value=ac_cv_env_PKG_CONFIG_PATH_set=ac_cv_env_PKG_CONFIG_PATH_value=ac_cv_env_PKG_CONFIG_set=ac_cv_env_PKG_CONFIG_value=ac_cv_env_build_alias_set=setac_cv_env_build_alias_value=x86_64-unknown-linuxac_cv_env_host_alias_set=setac_cv_env_host_alias_value=arm-linux-androideabiac_cv_env_target_alias_set=ac_cv_env_target_alias_value=ac_cv_func_getopt_long=yesac_cv_func_gmtime_r=yesac_cv_func_localtime_r=yesac_cv_func_strerror_r=yesac_cv_func_strerror_r_char_p=noac_cv_have_decl_optreset=noac_cv_have_decl_strerror_r=yesac_cv_header_IOKit_serial_ioss_h=noac_cv_header_af_irda_h=noac_cv_header_dlfcn_h=yesac_cv_header_getopt_h=yesac_cv_header_inttypes_h=yesac_cv_header_linux_irda_h=yesac_cv_header_linux_serial_h=yesac_cv_header_linux_types_h=yesac_cv_header_memory_h=yesac_cv_header_stdc=yesac_cv_header_stdint_h=yesac_cv_header_stdlib_h=yesac_cv_header_string_h=yesac_cv_header_strings_h=yesac_cv_header_sys_param_h=yesac_cv_header_sys_socket_h=yesac_cv_header_sys_stat_h=yesac_cv_header_sys_types_h=yesac_cv_header_unistd_h=yesac_cv_header_winsock2_h=noac_cv_host=arm-unknown-linux-androideabiac_cv_objext=oac_cv_path_EGREP='/usr/sbin/grep -E'ac_cv_path_FGREP='/usr/sbin/grep -F'ac_cv_path_GREP=/usr/sbin/grepac_cv_path_SED=/usr/sbin/sedac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-configac_cv_path_install='/usr/bin/install -c'ac_cv_path_lt_DD=/usr/sbin/ddac_cv_path_mkdir=/usr/sbin/mkdirac_cv_prog_AR=arm-linux-androideabi-arac_cv_prog_AWK=gawkac_cv_prog_CC=arm-linux-androideabi-gccac_cv_prog_CPP='arm-linux-androideabi-gcc -E'ac_cv_prog_OBJDUMP=arm-linux-androideabi-objdumpac_cv_prog_RANLIB=arm-linux-androideabi-ranlibac_cv_prog_STRIP=arm-linux-androideabi-stripac_cv_prog_cc_c89=ac_cv_prog_cc_c99=-std=gnu99ac_cv_prog_cc_g=yesac_cv_prog_make_make_set=yesam_cv_CC_dependencies_compiler_type=gcc3am_cv_ar_interface=aram_cv_make_support_nested_variables=yesam_cv_prog_cc_c_o=yeslt_cv_ar_at_file=@lt_cv_archive_cmds_need_lc=nolt_cv_deplibs_check_method=pass_alllt_cv_file_magic_cmd='$MAGIC_CMD'lt_cv_file_magic_test_file=lt_cv_ld_reload_flag=-rlt_cv_nm_interface='BSD nm'lt_cv_objdir=.libslt_cv_path_LD=/sysroot/arm-linux-androideabi/bin/ldlt_cv_path_NM='/sysroot/bin/arm-linux-androideabi-nm -B'lt_cv_path_mainfest_tool=nolt_cv_prog_compiler_c_o=yeslt_cv_prog_compiler_c_o_RC=yeslt_cv_prog_compiler_pic='-fPIC -DPIC'lt_cv_prog_compiler_pic_works=yeslt_cv_prog_compiler_rtti_exceptions=nolt_cv_prog_compiler_static_works=yeslt_cv_prog_gnu_ld=yeslt_cv_sharedlib_from_linklib_cmd='printf %s\n'lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''lt_cv_sys_global_symbol_to_import=lt_cv_sys_max_cmd_len=1572864lt_cv_to_host_file_cmd=func_convert_file_nooplt_cv_to_tool_file_cmd=func_convert_file_nooplt_cv_truncate_bin='/usr/sbin/dd bs=4096 count=1'pkg_cv_LIBUSB_CFLAGS=-I/usr/include/libusb-1.0pkg_cv_LIBUSB_LIBS=-lusb-1.0## ----------------- #### Output variables. #### ----------------- ##ACLOCAL='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/missing aclocal-1.15'AMDEPBACKSLASH='\'AMDEP_FALSE='#'AMDEP_TRUE=''AMTAR='$${TAR-tar}'AM_BACKSLASH='\'AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'AM_DEFAULT_VERBOSITY='0'AM_V='$(V)'AR='arm-linux-androideabi-ar'AS='as'AUTOCONF='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/missing autoconf'AUTOHEADER='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/missing autoheader'AUTOMAKE='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/missing automake-1.15'AWK='gawk'CC='arm-linux-androideabi-gcc -std=gnu99'CCDEPMODE='depmode=gcc3'CFLAGS=''CPP='arm-linux-androideabi-gcc -E'CPPFLAGS=''CYGPATH_W='echo'DC_VERSION='0.5.0-devel-Subsurface-branch'DC_VERSION_LIBTOOL='0:0:0'DC_VERSION_MAJOR='0'DC_VERSION_MICRO='0'DC_VERSION_MINOR='5'DEFS='-DHAVE_CONFIG_H'DEPDIR='.deps'DEPENDENCIES='libusb-1.0'DLLTOOL='false'DSYMUTIL=''DUMPBIN=''ECHO_C=''ECHO_N='-n'ECHO_T=''EGREP='/usr/sbin/grep -E'ENABLE_EXAMPLES_FALSE=''ENABLE_EXAMPLES_TRUE='#'EXEEXT=''FGREP='/usr/sbin/grep -F'GREP='/usr/sbin/grep'HIDAPI_CFLAGS=''HIDAPI_LIBS=''INSTALL_DATA='${INSTALL} -m 644'INSTALL_PROGRAM='${INSTALL}'INSTALL_SCRIPT='${INSTALL}'INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'IRDA_FALSE='#'IRDA_TRUE=''LD='/sysroot/arm-linux-androideabi/bin/ld'LDFLAGS=''LIBOBJS=''LIBS=''LIBTOOL='$(SHELL) $(top_builddir)/libtool'LIBUSB_CFLAGS='-I/usr/include/libusb-1.0'LIBUSB_LIBS='-lusb-1.0'LIPO=''LN_S='ln -s'LTLIBOBJS=''LT_SYS_LIBRARY_PATH=''MAKEINFO='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/missing makeinfo'MANIFEST_TOOL=':'MKDIR_P='/usr/sbin/mkdir -p'NM='/sysroot/bin/arm-linux-androideabi-nm -B'NMEDIT=''OBJDUMP='arm-linux-androideabi-objdump'OBJEXT='o'OS_WIN32_FALSE=''OS_WIN32_TRUE='#'OTOOL64=''OTOOL=''PACKAGE='libdivecomputer'PACKAGE_BUGREPORT=''PACKAGE_NAME='libdivecomputer'PACKAGE_STRING='libdivecomputer 0.5.0-devel-Subsurface-branch'PACKAGE_TARNAME='libdivecomputer'PACKAGE_URL=''PACKAGE_VERSION='0.5.0-devel-Subsurface-branch'PATH_SEPARATOR=':'PKG_CONFIG='/usr/sbin/pkg-config'PKG_CONFIG_LIBDIR=''PKG_CONFIG_PATH=''RANLIB='arm-linux-androideabi-ranlib'RC=''SED='/usr/sbin/sed'SET_MAKE=''SHELL='/bin/sh'STRIP='arm-linux-androideabi-strip'VERSION='0.5.0-devel-Subsurface-branch'ac_ct_AR=''ac_ct_CC=''ac_ct_DUMPBIN=''am__EXEEXT_FALSE=''am__EXEEXT_TRUE='#'am__fastdepCC_FALSE='#'am__fastdepCC_TRUE=''am__include='include'am__isrc=''am__leading_dot='.'am__nodep='_no'am__quote=''am__tar='$${TAR-tar} chof - "$$tardir"'am__untar='$${TAR-tar} xf -'bindir='${exec_prefix}/bin'build='x86_64-unknown-linux-gnu'build_alias='x86_64-unknown-linux'build_cpu='x86_64'build_os='linux-gnu'build_vendor='unknown'datadir='${datarootdir}'datarootdir='${prefix}/share'docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'dvidir='${docdir}'exec_prefix='${prefix}'host='arm-unknown-linux-androideabi'host_alias='arm-linux-androideabi'host_cpu='arm'host_os='linux-androideabi'host_vendor='unknown'htmldir='${docdir}'includedir='${prefix}/include'infodir='${datarootdir}/info'install_sh='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/install-sh'libdir='${exec_prefix}/lib'libexecdir='${exec_prefix}/libexec'localedir='${datarootdir}/locale'localstatedir='${prefix}/var'mandir='${datarootdir}/man'mkdir_p='$(MKDIR_P)'oldincludedir='/usr/include'pdfdir='${docdir}'prefix='/usr'program_transform_name='s&^&libdc-&'psdir='${docdir}'sbindir='${exec_prefix}/sbin'sharedstatedir='${prefix}/com'sysconfdir='${prefix}/etc'target_alias=''## ----------- #### confdefs.h. #### ----------- ##/* confdefs.h */#define PACKAGE_NAME "libdivecomputer"#define PACKAGE_TARNAME "libdivecomputer"#define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"#define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"#define PACKAGE_BUGREPORT ""#define PACKAGE_URL ""#define PACKAGE "libdivecomputer"#define VERSION "0.5.0-devel-Subsurface-branch"#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 ENABLE_LOGGING 1#define HAVE_LIBUSB 1#define HAVE_SYS_SOCKET_H 1#define HAVE_LINUX_TYPES_H 1#define HAVE_LINUX_IRDA_H 1#define HAVE_IRDA 1#define HAVE_LINUX_SERIAL_H 1#define HAVE_GETOPT_H 1#define HAVE_SYS_PARAM_H 1#define HAVE_DECL_OPTRESET 0#define HAVE_DECL_STRERROR_R 1#define HAVE_STRERROR_R 1#define HAVE_LOCALTIME_R 1#define HAVE_GMTIME_R 1#define HAVE_GETOPT_LONG 1#define HAVE_VERSION_SUFFIX 1configure: exit 0