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/libexec
CMD: 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 -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-androideabi-gcc accepts -g... yes
checking for arm-linux-androideabi-gcc option to accept ISO C89... none needed
checking whether arm-linux-androideabi-gcc understands -c and -o together... yes
checking dependency style of arm-linux-androideabi-gcc... gcc3
checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar
checking the archiver (arm-linux-androideabi-ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/sbin/sed
checking for grep that handles long lines and -e... /usr/sbin/grep
checking for egrep... /usr/sbin/grep -E
checking for fgrep... /usr/sbin/grep -F
checking for ld used by arm-linux-androideabi-gcc... /sysroot/arm-linux-androideabi/bin/ld
checking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/arm-linux-androideabi-nm -B
checking the name lister (/sysroot/bin/arm-linux-androideabi-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /sysroot/arm-linux-androideabi/bin/ld option to reload object files... -r
checking for arm-linux-androideabi-objdump... arm-linux-androideabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-androideabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-androideabi-ar... (cached) arm-linux-androideabi-ar
checking for archiver @FILE support... @
checking for arm-linux-androideabi-strip... (cached) arm-linux-androideabi-strip
checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib
checking command to parse /sysroot/bin/arm-linux-androideabi-nm -B output from arm-linux-androideabi-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/sbin/dd
checking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1
checking for arm-linux-androideabi-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-linux-androideabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-linux-androideabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-linux-androideabi-gcc static flag -static works... yes
checking if arm-linux-androideabi-gcc supports -c -o file.o... yes
checking if arm-linux-androideabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-linux-androideabi-gcc linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... Android linker
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for arm-linux-androideabi-windres... no
checking for windres... no
checking for arm-linux-androideabi-gcc... (cached) arm-linux-androideabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether arm-linux-androideabi-gcc accepts -g... (cached) yes
checking for arm-linux-androideabi-gcc option to accept ISO C89... (cached) none needed
checking whether arm-linux-androideabi-gcc understands -c and -o together... (cached) yes
checking dependency style of arm-linux-androideabi-gcc... (cached) gcc3
checking for arm-linux-androideabi-gcc option to accept ISO C99... -std=gnu99
checking whether make supports nested variables... (cached) yes
checking for native Win32... no
checking for arm-linux-androideabi-pkg-config... no
checking for pkg-config... /usr/sbin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... yes
checking for HIDAPI... no
checking for winsock2.h... no
checking for af_irda.h... no
checking for sys/socket.h... yes
checking for linux/types.h... yes
checking for linux/irda.h... yes
checking linux/serial.h usability... yes
checking linux/serial.h presence... yes
checking for linux/serial.h... yes
checking IOKit/serial/ioss.h usability... no
checking IOKit/serial/ioss.h presence... no
checking for IOKit/serial/ioss.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking whether optreset is declared... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking for getopt_long... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libdivecomputer.pc
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/libdivecomputer/Makefile
config.status: creating include/libdivecomputer/version.h
config.status: creating src/Makefile
config.status: creating src/libdivecomputer.rc
config.status: creating examples/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make -s all-recursive
Making all in include
Making all in libdivecomputer
Making 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.lo
suunto_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 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:454: all] Error 2
make[1]: *** [Makefile:470: all-recursive] Error 1
make: *** [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 while
running configure, to aid debugging if configure makes a mistake.
It was created by libdivecomputer configure 0.5.0-devel-Subsurface-branch, which was
generated 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 = a841157f6899
uname -m = x86_64
uname -r = 4.10.6-1-ARCH
uname -s = Linux
uname -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 = unknown
PATH: /sysroot/bin
PATH: /sysroot/libexec/gcc/arm-linux-androideabi/4.8
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2354: checking for a BSD-compatible install
configure:2422: result: /usr/bin/install -c
configure:2433: checking whether build environment is sane
configure:2488: result: yes
configure:2547: checking for arm-linux-androideabi-strip
configure:2563: found /sysroot/bin/arm-linux-androideabi-strip
configure:2574: result: arm-linux-androideabi-strip
configure:2639: checking for a thread-safe mkdir -p
configure:2678: result: /usr/sbin/mkdir -p
configure:2685: checking for gawk
configure:2701: found /usr/sbin/gawk
configure:2712: result: gawk
configure:2723: checking whether make sets $(MAKE)
configure:2745: result: yes
configure:2774: checking whether make supports nested variables
configure:2791: result: yes
configure:2931: checking for style of include used by make
configure:2959: result: GNU
configure:2990: checking for arm-linux-androideabi-gcc
configure:3017: result: arm-linux-androideabi-gcc
configure:3286: checking for C compiler version
configure:3295: arm-linux-androideabi-gcc --version >&5
arm-linux-androideabi-gcc (GCC) 4.8
Copyright (C) 2013 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:3306: $? = 0
configure:3295: arm-linux-androideabi-gcc -v >&5
Using built-in specs.
COLLECT_GCC=arm-linux-androideabi-gcc
COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
Target: arm-linux-androideabi
Configured 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=default
Thread model: posix
gcc version 4.8 (GCC)
configure:3306: $? = 0
configure:3295: arm-linux-androideabi-gcc -V >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
configure:3306: $? = 1
configure:3295: arm-linux-androideabi-gcc -qversion >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
configure:3306: $? = 1
configure:3326: checking whether the C compiler works
configure:3348: arm-linux-androideabi-gcc conftest.c >&5
configure:3352: $? = 0
configure:3400: result: yes
configure:3403: checking for C compiler default output file name
configure:3405: result: a.out
configure:3411: checking for suffix of executables
configure:3418: arm-linux-androideabi-gcc -o conftest conftest.c >&5
configure:3422: $? = 0
configure:3444: result:
configure:3466: checking whether we are cross compiling
configure:3504: result: yes
configure:3509: checking for suffix of object files
configure:3531: arm-linux-androideabi-gcc -c conftest.c >&5
configure:3535: $? = 0
configure:3556: result: o
configure:3560: checking whether we are using the GNU C compiler
configure:3579: arm-linux-androideabi-gcc -c conftest.c >&5
configure:3579: $? = 0
configure:3588: result: yes
configure:3597: checking whether arm-linux-androideabi-gcc accepts -g
configure:3617: arm-linux-androideabi-gcc -c -g conftest.c >&5
configure:3617: $? = 0
configure:3658: result: yes
configure:3675: checking for arm-linux-androideabi-gcc option to accept ISO C89
configure:3738: arm-linux-androideabi-gcc -c conftest.c >&5
configure:3738: $? = 0
configure:3751: result: none needed
configure:3776: checking whether arm-linux-androideabi-gcc understands -c and -o together
configure:3798: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
configure:3801: $? = 0
configure:3798: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
configure:3801: $? = 0
configure:3813: result: yes
configure:3832: checking dependency style of arm-linux-androideabi-gcc
configure:3943: result: gcc3
configure:3964: checking for arm-linux-androideabi-ar
configure:3980: found /sysroot/bin/arm-linux-androideabi-ar
configure:3991: result: arm-linux-androideabi-ar
configure:4061: checking the archiver (arm-linux-androideabi-ar) interface
configure:4077: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4077: $? = 0
configure:4079: arm-linux-androideabi-ar cru libconftest.a conftest.o >&5
configure:4082: $? = 0
configure:4110: result: ar
configure:4162: checking build system type
configure:4176: result: x86_64-unknown-linux-gnu
configure:4196: checking host system type
configure:4209: result: arm-unknown-linux-androideabi
configure:4250: checking how to print strings
configure:4277: result: printf
configure:4298: checking for a sed that does not truncate output
configure:4362: result: /usr/sbin/sed
configure:4380: checking for grep that handles long lines and -e
configure:4438: result: /usr/sbin/grep
configure:4443: checking for egrep
configure:4505: result: /usr/sbin/grep -E
configure:4510: checking for fgrep
configure:4572: result: /usr/sbin/grep -F
configure:4607: checking for ld used by arm-linux-androideabi-gcc
configure:4674: result: /sysroot/arm-linux-androideabi/bin/ld
configure:4681: checking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ld
configure:4696: result: yes
configure:4708: checking for BSD- or MS-compatible name lister (nm)
configure:4762: result: /sysroot/bin/arm-linux-androideabi-nm -B
configure:4892: checking the name lister (/sysroot/bin/arm-linux-androideabi-nm -B) interface
configure:4899: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4902: /sysroot/bin/arm-linux-androideabi-nm -B "conftest.o"
configure:4905: output
00000000 B some_variable
configure:4912: result: BSD nm
configure:4915: checking whether ln -s works
configure:4919: result: yes
configure:4927: checking the maximum length of command line arguments
configure:5058: result: 1572864
configure:5106: checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi format
configure:5146: result: func_convert_file_noop
configure:5153: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:5173: result: func_convert_file_noop
configure:5180: checking for /sysroot/arm-linux-androideabi/bin/ld option to reload object files
configure:5187: result: -r
configure:5221: checking for arm-linux-androideabi-objdump
configure:5237: found /sysroot/bin/arm-linux-androideabi-objdump
configure:5248: result: arm-linux-androideabi-objdump
configure:5317: checking how to recognize dependent libraries
configure:5517: result: pass_all
configure:5562: checking for arm-linux-androideabi-dlltool
configure:5592: result: no
configure:5602: checking for dlltool
configure:5632: result: no
configure:5659: checking how to associate runtime and link libraries
configure:5686: result: printf %s\n
configure:5702: checking for arm-linux-androideabi-ar
configure:5729: result: arm-linux-androideabi-ar
configure:5810: checking for archiver @FILE support
configure:5827: arm-linux-androideabi-gcc -c conftest.c >&5
configure:5827: $? = 0
configure:5830: arm-linux-androideabi-ar cru libconftest.a @conftest.lst >&5
configure:5833: $? = 0
configure:5838: arm-linux-androideabi-ar cru libconftest.a @conftest.lst >&5
arm-linux-androideabi-ar: conftest.o: No such file or directory
configure:5841: $? = 1
configure:5853: result: @
configure:5871: checking for arm-linux-androideabi-strip
configure:5898: result: arm-linux-androideabi-strip
configure:5970: checking for arm-linux-androideabi-ranlib
configure:5986: found /sysroot/bin/arm-linux-androideabi-ranlib
configure:5997: result: arm-linux-androideabi-ranlib
configure:6139: checking command to parse /sysroot/bin/arm-linux-androideabi-nm -B output from arm-linux-androideabi-gcc object
configure:6292: arm-linux-androideabi-gcc -c conftest.c >&5
configure:6295: $? = 0
configure: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.nm
configure:6302: $? = 0
configure:6368: arm-linux-androideabi-gcc -o conftest conftest.c conftstm.o >&5
configure:6371: $? = 0
configure:6409: result: ok
configure:6456: checking for sysroot
configure:6486: result: no
configure:6493: checking for a working dd
configure:6531: result: /usr/sbin/dd
configure:6535: checking how to truncate binary pipes
configure:6550: result: /usr/sbin/dd bs=4096 count=1
configure:6839: checking for arm-linux-androideabi-mt
configure:6869: result: no
configure:6879: checking for mt
configure:6909: result: no
configure:6929: checking if : is a manifest tool
configure:6935: : '-?'
configure:6943: result: no
configure:7620: checking how to run the C preprocessor
configure:7651: arm-linux-androideabi-gcc -E conftest.c
configure:7651: $? = 0
configure:7665: arm-linux-androideabi-gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include
^
compilation terminated.
configure:7665: $? = 1
configure: 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 -E
configure:7710: arm-linux-androideabi-gcc -E conftest.c
configure:7710: $? = 0
configure:7724: arm-linux-androideabi-gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include
^
compilation terminated.
configure:7724: $? = 1
configure: 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 files
configure:7773: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7773: $? = 0
configure:7857: result: yes
configure:7870: checking for sys/types.h
configure:7870: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7870: $? = 0
configure:7870: result: yes
configure:7870: checking for sys/stat.h
configure:7870: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7870: $? = 0
configure:7870: result: yes
configure:7870: checking for stdlib.h
configure:7870: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7870: $? = 0
configure:7870: result: yes
configure:7870: checking for string.h
configure:7870: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7870: $? = 0
configure:7870: result: yes
configure:7870: checking for memory.h
configure:7870: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7870: $? = 0
configure:7870: result: yes
configure:7870: checking for strings.h
configure:7870: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7870: $? = 0
configure:7870: result: yes
configure:7870: checking for inttypes.h
configure:7870: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7870: $? = 0
configure:7870: result: yes
configure:7870: checking for stdint.h
configure:7870: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7870: $? = 0
configure:7870: result: yes
configure:7870: checking for unistd.h
configure:7870: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7870: $? = 0
configure:7870: result: yes
configure:7884: checking for dlfcn.h
configure:7884: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7884: $? = 0
configure:7884: result: yes
configure:8438: checking for objdir
configure:8453: result: .libs
configure:8717: checking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions
configure:8735: arm-linux-androideabi-gcc -c -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:8739: $? = 0
configure:8752: result: no
configure:9110: checking for arm-linux-androideabi-gcc option to produce PIC
configure:9117: result: -fPIC -DPIC
configure:9125: checking if arm-linux-androideabi-gcc PIC flag -fPIC -DPIC works
configure:9143: arm-linux-androideabi-gcc -c -fPIC -DPIC -DPIC conftest.c >&5
configure:9147: $? = 0
configure:9160: result: yes
configure:9189: checking if arm-linux-androideabi-gcc static flag -static works
configure:9217: result: yes
configure:9232: checking if arm-linux-androideabi-gcc supports -c -o file.o
configure:9253: arm-linux-androideabi-gcc -c -o out/conftest2.o conftest.c >&5
configure:9257: $? = 0
configure:9279: result: yes
configure:9287: checking if arm-linux-androideabi-gcc supports -c -o file.o
configure:9334: result: yes
configure:9367: checking whether the arm-linux-androideabi-gcc linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared libraries
configure:10626: result: yes
configure:10663: checking whether -lc should be explicitly linked in
configure:10671: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10674: $? = 0
configure: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\>\&1
configure:10692: $? = 0
configure:10706: result: no
configure:10866: checking dynamic linker characteristics
configure:11684: result: Android linker
configure:11806: checking how to hardcode library paths into programs
configure:11831: result: immediate
configure:12379: checking whether stripping libraries is possible
configure:12384: result: yes
configure:12419: checking if libtool supports shared libraries
configure:12421: result: yes
configure:12424: checking whether to build shared libraries
configure:12449: result: yes
configure:12452: checking whether to build static libraries
configure:12456: result: yes
configure:12496: checking for arm-linux-androideabi-windres
configure:12526: result: no
configure:12536: checking for windres
configure:12566: result: no
configure:12721: checking for arm-linux-androideabi-gcc
configure:12748: result: arm-linux-androideabi-gcc
configure:13017: checking for C compiler version
configure:13026: arm-linux-androideabi-gcc --version >&5
arm-linux-androideabi-gcc (GCC) 4.8
Copyright (C) 2013 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:13037: $? = 0
configure:13026: arm-linux-androideabi-gcc -v >&5
Using built-in specs.
COLLECT_GCC=arm-linux-androideabi-gcc
COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
Target: arm-linux-androideabi
Configured 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=default
Thread model: posix
gcc version 4.8 (GCC)
configure:13037: $? = 0
configure:13026: arm-linux-androideabi-gcc -V >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
configure:13037: $? = 1
configure:13026: arm-linux-androideabi-gcc -qversion >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
configure:13037: $? = 1
configure:13041: checking whether we are using the GNU C compiler
configure:13069: result: yes
configure:13078: checking whether arm-linux-androideabi-gcc accepts -g
configure:13139: result: yes
configure:13156: checking for arm-linux-androideabi-gcc option to accept ISO C89
configure:13232: result: none needed
configure:13257: checking whether arm-linux-androideabi-gcc understands -c and -o together
configure:13294: result: yes
configure:13313: checking dependency style of arm-linux-androideabi-gcc
configure:13424: result: gcc3
configure:13439: checking for arm-linux-androideabi-gcc option to accept ISO C99
configure:13588: arm-linux-androideabi-gcc -c conftest.c >&5
conftest.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 in
conftest.c:138:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < ia->datasize; ++i)
^
conftest.c:138:3: note: use option -std=c99 or -std=gnu99 to compile your code
configure:13588: $? = 1
configure: 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 >&5
configure:13588: $? = 0
configure:13608: result: -std=gnu99
configure:13629: checking whether make supports nested variables
configure:13646: result: yes
configure:13659: checking for native Win32
configure:13669: result: no
configure:13696: checking for arm-linux-androideabi-pkg-config
configure:13729: result: no
configure:13739: checking for pkg-config
configure:13757: found /usr/sbin/pkg-config
configure:13769: result: /usr/sbin/pkg-config
configure:13781: WARNING: using cross tools not prefixed with host triplet
configure:13794: checking pkg-config is at least version 0.9.0
configure:13797: result: yes
configure:13809: checking for LIBUSB
configure:13816: $PKG_CONFIG --exists --print-errors "libusb-1.0"
configure:13819: $? = 0
configure:13832: $PKG_CONFIG --exists --print-errors "libusb-1.0"
configure:13835: $? = 0
configure:13872: result: yes
configure:13896: checking for HIDAPI
configure: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 variable
No package 'hidapi' found
configure:13906: $? = 1
configure: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 variable
No package 'hidapi' found
configure:13922: $? = 1
configure:13935: result: no
No package 'hidapi' found
configure:13977: checking for winsock2.h
configure:13977: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c:31:22: fatal error: winsock2.h: No such file or directory
#include
^
compilation terminated.
configure:13977: $? = 1
configure: 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: no
configure:13977: checking for af_irda.h
configure:13977: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c:31:21: fatal error: af_irda.h: No such file or directory
#include
^
compilation terminated.
configure:13977: $? = 1
configure: 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: no
configure:13998: checking for sys/socket.h
configure:13998: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13998: $? = 0
configure:13998: result: yes
configure:13998: checking for linux/types.h
configure:13998: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13998: $? = 0
configure:13998: result: yes
configure:13998: checking for linux/irda.h
configure:13998: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13998: $? = 0
configure:13998: result: yes
configure:14037: checking linux/serial.h usability
configure:14037: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14037: $? = 0
configure:14037: result: yes
configure:14037: checking linux/serial.h presence
configure:14037: arm-linux-androideabi-gcc -E conftest.c
configure:14037: $? = 0
configure:14037: result: yes
configure:14037: checking for linux/serial.h
configure:14037: result: yes
configure:14049: checking IOKit/serial/ioss.h usability
configure:14049: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c:63:31: fatal error: IOKit/serial/ioss.h: No such file or directory
#include
^
compilation terminated.
configure:14049: $? = 1
configure: 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: no
configure:14049: checking IOKit/serial/ioss.h presence
configure:14049: arm-linux-androideabi-gcc -E conftest.c
conftest.c:30:31: fatal error: IOKit/serial/ioss.h: No such file or directory
#include
^
compilation terminated.
configure:14049: $? = 1
configure: 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: no
configure:14049: checking for IOKit/serial/ioss.h
configure:14049: result: no
configure:14061: checking getopt.h usability
configure:14061: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14061: $? = 0
configure:14061: result: yes
configure:14061: checking getopt.h presence
configure:14061: arm-linux-androideabi-gcc -E conftest.c
configure:14061: $? = 0
configure:14061: result: yes
configure:14061: checking for getopt.h
configure:14061: result: yes
configure:14073: checking sys/param.h usability
configure:14073: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14073: $? = 0
configure:14073: result: yes
configure:14073: checking sys/param.h presence
configure:14073: arm-linux-androideabi-gcc -E conftest.c
configure:14073: $? = 0
configure:14073: result: yes
configure:14073: checking for sys/param.h
configure:14073: result: yes
configure:14085: checking whether optreset is declared
configure:14085: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.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 in
configure:14085: $? = 1
configure: 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: no
configure:14098: checking whether strerror_r is declared
configure:14098: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14098: $? = 0
configure:14098: result: yes
configure:14111: checking for strerror_r
configure:14111: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:14111: $? = 0
configure:14111: result: yes
configure:14120: checking whether strerror_r returns char *
configure:14144: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.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: $? = 1
configure: 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: no
configure:14193: checking for localtime_r
configure:14193: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:14193: $? = 0
configure:14193: result: yes
configure:14193: checking for gmtime_r
configure:14193: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:14193: $? = 0
configure:14193: result: yes
configure:14204: checking for getopt_long
configure:14204: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:14204: $? = 0
configure:14204: result: yes
configure:14344: checking that generated files are newer than configure
configure:14350: result: done
configure:14389: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by libdivecomputer config.status 0.5.0-devel-Subsurface-branch, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on a841157f6899
config.status:1172: creating libdivecomputer.pc
config.status:1172: creating Makefile
config.status:1172: creating include/Makefile
config.status:1172: creating include/libdivecomputer/Makefile
config.status:1172: creating include/libdivecomputer/version.h
config.status:1172: creating src/Makefile
config.status:1172: creating src/libdivecomputer.rc
config.status:1172: creating examples/Makefile
config.status:1172: creating config.h
config.status:1401: executing depfiles commands
config.status:1401: executing libtool commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-linux-androideabi-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_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=set
ac_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=set
ac_cv_env_build_alias_value=x86_64-unknown-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-androideabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_getopt_long=yes
ac_cv_func_gmtime_r=yes
ac_cv_func_localtime_r=yes
ac_cv_func_strerror_r=yes
ac_cv_func_strerror_r_char_p=no
ac_cv_have_decl_optreset=no
ac_cv_have_decl_strerror_r=yes
ac_cv_header_IOKit_serial_ioss_h=no
ac_cv_header_af_irda_h=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_getopt_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_linux_irda_h=yes
ac_cv_header_linux_serial_h=yes
ac_cv_header_linux_types_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_winsock2_h=no
ac_cv_host=arm-unknown-linux-androideabi
ac_cv_objext=o
ac_cv_path_EGREP='/usr/sbin/grep -E'
ac_cv_path_FGREP='/usr/sbin/grep -F'
ac_cv_path_GREP=/usr/sbin/grep
ac_cv_path_SED=/usr/sbin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/usr/sbin/dd
ac_cv_path_mkdir=/usr/sbin/mkdir
ac_cv_prog_AR=arm-linux-androideabi-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=arm-linux-androideabi-gcc
ac_cv_prog_CPP='arm-linux-androideabi-gcc -E'
ac_cv_prog_OBJDUMP=arm-linux-androideabi-objdump
ac_cv_prog_RANLIB=arm-linux-androideabi-ranlib
ac_cv_prog_STRIP=arm-linux-androideabi-strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=-std=gnu99
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/sysroot/arm-linux-androideabi/bin/ld
lt_cv_path_NM='/sysroot/bin/arm-linux-androideabi-nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_RC=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_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=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/usr/sbin/dd bs=4096 count=1'
pkg_cv_LIBUSB_CFLAGS=-I/usr/include/libusb-1.0
pkg_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 1
configure: exit 0