Build of cfitsio with android toolchain

The build took 00h 00m 58s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
106,681 ansic
4,872 yacc
3,020 sh
2,613 fortran
545 lex
117,731 total

The process tree of the build process is here.

List of Errors

Log

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:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

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: cfitsio 3.390-1 (Tue Apr 4 20:48:12 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... arm-unknown-linux-androideabi
# checking target system type... arm-unknown-linux-androideabi
# 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 how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -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 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 for gfortran... gfortran
# checking whether we are using GNU Fortran...
# yes
# cfitsio: == Adding wrapper support for GNU Fortran...
# done
# checking for ar... ar
# checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib
# checking for stdlib.h... (cached) yes
# checking for string.h... (cached) yes
# checking math.h usability... yes
# checking math.h presence... yes
# checking for math.h... yes
# checking limits.h usability... yes
# checking limits.h presence... yes
# checking for limits.h... yes
# cfitsio: == Using gcc version 4.8
# checking "whether ftruncate works"... "yes"
# checking "whether long long is defined"... "yes"
# checking "whether system V style IPC services are supported"... "no"
# checking "do we have flock_t defined in sys/fcntl.h"... "no"
# checking "do we have flock_t defined in sys/flock.h"... "no"
# checking "do we have union semun defined"... "yes"
# checking for library containing gethostbyname... none required
# checking for library containing connect... none required
# checking for main in -lpthread... no
# configure: error: Unable to locate pthread library needed when enabling reentrant multithreading
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/cfitsio/src/cfitsio/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 configure, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --enable-reentrant
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = cb8e0c61b20b
# 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:2108: checking build system type
# configure:2122: result: x86_64-unknown-linux-gnu
# configure:2142: checking host system type
# configure:2155: result: arm-unknown-linux-androideabi
# configure:2175: checking target system type
# configure:2188: result: arm-unknown-linux-androideabi
# configure:2307: checking for arm-linux-androideabi-gcc
# configure:2334: result: arm-linux-androideabi-gcc
# configure:2603: checking for C compiler version
# configure:2612: 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:2623: $? = 0
# configure:2612: 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:2623: $? = 0
# configure:2612: 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:2623: $? = 1
# configure:2612: 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:2623: $? = 1
# configure:2643: checking whether the C compiler works
# configure:2665: arm-linux-androideabi-gcc conftest.c >&5
# configure:2669: $? = 0
# configure:2717: result: yes
# configure:2720: checking for C compiler default output file name
# configure:2722: result: a.out
# configure:2728: checking for suffix of executables
# configure:2735: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:2739: $? = 0
# configure:2761: result:
# configure:2783: checking whether we are cross compiling
# configure:2821: result: yes
# configure:2826: checking for suffix of object files
# configure:2848: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2852: $? = 0
# configure:2873: result: o
# configure:2877: checking whether we are using the GNU C compiler
# configure:2896: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2896: $? = 0
# configure:2905: result: yes
# configure:2914: checking whether arm-linux-androideabi-gcc accepts -g
# configure:2934: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:2934: $? = 0
# configure:2975: result: yes
# configure:2992: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:3055: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3055: $? = 0
# configure:3068: result: none needed
# configure:3094: checking how to run the C preprocessor
# configure:3125: arm-linux-androideabi-gcc -E conftest.c
# configure:3125: $? = 0
# configure:3139: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3139: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3164: result: arm-linux-androideabi-gcc -E
# configure:3184: arm-linux-androideabi-gcc -E conftest.c
# configure:3184: $? = 0
# configure:3198: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3198: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3227: checking for grep that handles long lines and -e
# configure:3285: result: /usr/sbin/grep
# configure:3290: checking for egrep
# configure:3352: result: /usr/sbin/grep -E
# configure:3357: checking for ANSI C header files
# configure:3377: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3377: $? = 0
# configure:3461: result: yes
# configure:3474: checking for sys/types.h
# configure:3474: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3474: $? = 0
# configure:3474: result: yes
# configure:3474: checking for sys/stat.h
# configure:3474: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3474: $? = 0
# configure:3474: result: yes
# configure:3474: checking for stdlib.h
# configure:3474: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3474: $? = 0
# configure:3474: result: yes
# configure:3474: checking for string.h
# configure:3474: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3474: $? = 0
# configure:3474: result: yes
# configure:3474: checking for memory.h
# configure:3474: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3474: $? = 0
# configure:3474: result: yes
# configure:3474: checking for strings.h
# configure:3474: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3474: $? = 0
# configure:3474: result: yes
# configure:3474: checking for inttypes.h
# configure:3474: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3474: $? = 0
# configure:3474: result: yes
# configure:3474: checking for stdint.h
# configure:3474: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3474: $? = 0
# configure:3474: result: yes
# configure:3474: checking for unistd.h
# configure:3474: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3474: $? = 0
# configure:3474: result: yes
# configure:3637: checking for arm-linux-androideabi-gcc
# configure:3664: result: arm-linux-androideabi-gcc
# configure:3933: checking for C compiler version
# configure:3942: 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:3953: $? = 0
# configure:3942: 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:3953: $? = 0
# configure:3942: 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:3953: $? = 1
# configure:3942: 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:3953: $? = 1
# configure:3957: checking whether we are using the GNU C compiler
# configure:3985: result: yes
# configure:3994: checking whether arm-linux-androideabi-gcc accepts -g
# configure:4055: result: yes
# configure:4072: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:4148: result: none needed
# configure:4183: checking for gfortran
# configure:4199: found /usr/sbin/gfortran
# configure:4210: result: gfortran
# configure:4255: checking for ar
# configure:4271: found /usr/sbin/ar
# configure:4283: result: ar
# configure:4300: checking for arm-linux-androideabi-ranlib
# configure:4316: found /sysroot/bin/arm-linux-androideabi-ranlib
# configure:4327: result: arm-linux-androideabi-ranlib
# configure:4393: checking for stdlib.h
# configure:4393: result: yes
# configure:4393: checking for string.h
# configure:4393: result: yes
# configure:4393: checking math.h usability
# configure:4393: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4393: $? = 0
# configure:4393: result: yes
# configure:4393: checking math.h presence
# configure:4393: arm-linux-androideabi-gcc -E conftest.c
# configure:4393: $? = 0
# configure:4393: result: yes
# configure:4393: checking for math.h
# configure:4393: result: yes
# configure:4393: checking limits.h usability
# configure:4393: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4393: $? = 0
# configure:4393: result: yes
# configure:4393: checking limits.h presence
# configure:4393: arm-linux-androideabi-gcc -E conftest.c
# configure:4393: $? = 0
# configure:4393: result: yes
# configure:4393: checking for limits.h
# configure:4393: result: yes
# configure:4416: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:4416: $? = 0
# configure:4780: checking "whether ftruncate works"
# configure:4796: arm-linux-androideabi-gcc -o conftest -Dg77Fortran -fPIC conftest.c >&5
# configure:4796: $? = 0
# configure:4800: result: "yes"
# configure:4814: checking "whether long long is defined"
# configure:4830: arm-linux-androideabi-gcc -c -Dg77Fortran -fPIC conftest.c >&5
# configure:4830: $? = 0
# configure:4834: result: "yes"
# configure:4855: checking "whether system V style IPC services are supported"
# configure:4876: arm-linux-androideabi-gcc -o conftest -Dg77Fortran -fPIC conftest.c >&5
# /tmp/ccUWAW6o.o:conftest.c:function main: error: undefined reference to 'shmat'
# /tmp/ccUWAW6o.o:conftest.c:function main: error: undefined reference to 'shmdt'
# /tmp/ccUWAW6o.o:conftest.c:function main: error: undefined reference to 'shmget'
# /tmp/ccUWAW6o.o:conftest.c:function main: error: undefined reference to 'semget'
# collect2: error: ld returned 1 exit status
# configure:4876: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #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_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MATH_H 1
# | #define HAVE_LIMITS_H 1
# | #define _LARGEFILE_SOURCE 1
# | #define _FILE_OFFSET_BITS 64
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_LONGLONG 1
# | /* end confdefs.h. */
# | #include
# | #include
# | #include
# |
# | int
# | main ()
# | {
# |
# | shmat(0, 0, 0);
# | shmdt(0);
# | shmget(0, 0, 0);
# | semget(0, 0, 0);
# |
# | ;
# | return 0;
# | }
# configure:4885: result: "no"
# configure:4897: checking "do we have flock_t defined in sys/fcntl.h"
# configure:4913: arm-linux-androideabi-gcc -c -Dg77Fortran -fPIC conftest.c >&5
# conftest.c:27:23: fatal error: sys/fcntl.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:4913: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #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_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MATH_H 1
# | #define HAVE_LIMITS_H 1
# | #define _LARGEFILE_SOURCE 1
# | #define _FILE_OFFSET_BITS 64
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_LONGLONG 1
# | /* end confdefs.h. */
# | #include
# |
# | int
# | main ()
# | {
# |
# | flock_t filler;
# |
# | ;
# | return 0;
# | }
# configure:4921: result: "no"
# configure:4927: checking "do we have flock_t defined in sys/flock.h"
# configure:4943: arm-linux-androideabi-gcc -c -Dg77Fortran -fPIC conftest.c >&5
# conftest.c:27:23: fatal error: sys/flock.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:4943: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #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_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MATH_H 1
# | #define HAVE_LIMITS_H 1
# | #define _LARGEFILE_SOURCE 1
# | #define _FILE_OFFSET_BITS 64
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_LONGLONG 1
# | /* end confdefs.h. */
# | #include
# |
# | int
# | main ()
# | {
# |
# | flock_t filler;
# |
# | ;
# | return 0;
# | }
# configure:4951: result: "no"
# configure:4962: checking "do we have union semun defined"
# configure:4980: arm-linux-androideabi-gcc -c -Dg77Fortran -fPIC conftest.c >&5
# configure:4980: $? = 0
# configure:4984: result: "yes"
# configure:4996: checking for library containing gethostbyname
# configure:5027: arm-linux-androideabi-gcc -o conftest -Dg77Fortran -fPIC conftest.c >&5
# configure:5027: $? = 0
# configure:5044: result: none required
# configure:5054: checking for library containing connect
# configure:5085: arm-linux-androideabi-gcc -o conftest -Dg77Fortran -fPIC conftest.c >&5
# configure:5085: $? = 0
# configure:5102: result: none required
# configure:5126: checking for main in -lpthread
# configure:5145: arm-linux-androideabi-gcc -o conftest -Dg77Fortran -fPIC conftest.c -lpthread >&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
# collect2: error: ld returned 1 exit status
# configure:5145: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #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_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MATH_H 1
# | #define HAVE_LIMITS_H 1
# | #define _LARGEFILE_SOURCE 1
# | #define _FILE_OFFSET_BITS 64
# | #define HAVE_FTRUNCATE 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_UNION_SEMUN 1
# | #define HAVE_NET_SERVICES 1
# | #define _REENTRANT 1
# | /* end confdefs.h. */
# |
# |
# | int
# | main ()
# | {
# | return main ();
# | ;
# | return 0;
# | }
# configure:5154: result: no
# configure:5164: error: Unable to locate pthread library needed when enabling reentrant multithreading
#
# ## ---------------- ##
# ## 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_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_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_header_inttypes_h=yes
# ac_cv_header_limits_h=yes
# ac_cv_header_math_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_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=arm-unknown-linux-androideabi
# ac_cv_lib_pthread_main=no
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_prog_AR=ar
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_CPP='arm-linux-androideabi-gcc -E'
# ac_cv_prog_FC=gfortran
# ac_cv_prog_RANLIB=arm-linux-androideabi-ranlib
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_search_connect='none required'
# ac_cv_search_gethostbyname='none required'
# ac_cv_target=arm-unknown-linux-androideabi
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AR='ar'
# ARCH='linux'
# ARCHIVE='ar rv'
# CC='arm-linux-androideabi-gcc'
# CFITSIO_MAJOR='3'
# CFITSIO_MINOR='39'
# CFITSIO_SHLIB='lib${PACKAGE}${SHLIB_SUFFIX}.${CFITSIO_SONAME}.${CFITSIO_MAJOR}.${CFITSIO_MINOR}'
# CFITSIO_SHLIB_SONAME='lib${PACKAGE}${SHLIB_SUFFIX}.${CFITSIO_SONAME}'
# CFITSIO_SONAME='5'
# CFLAGS=' -Dg77Fortran -fPIC'
# CPP='arm-linux-androideabi-gcc -E'
# CPPFLAGS=''
# DEFS=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# F77_WRAPPERS='${FITSIO_SRC}'
# FC='gfortran'
# GCCVERSION='4.8'
# GREP='/usr/sbin/grep'
# INSTALL_ROOT='${prefix}'
# LDFLAGS=''
# LDFLAGS_BIN=''
# LIBOBJS=''
# LIBPRE=''
# LIBS=''
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_URL=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# RANLIB='arm-linux-androideabi-ranlib'
# SHELL='/bin/sh'
# SHLIB_LD='arm-linux-androideabi-gcc -shared -Wl,-soname,lib${PACKAGE}${SHLIB_SUFFIX}.${CFITSIO_SONAME}'
# SHLIB_SUFFIX='.so'
# SSE_FLAGS=''
# ac_ct_CC=''
# 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}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# 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'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# my_shmem=''
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target='arm-unknown-linux-androideabi'
# target_alias=''
# target_cpu='arm'
# target_os='linux-androideabi'
# target_vendor='unknown'
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #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_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MATH_H 1
# #define HAVE_LIMITS_H 1
# #define _LARGEFILE_SOURCE 1
# #define _FILE_OFFSET_BITS 64
# #define HAVE_FTRUNCATE 1
# #define HAVE_LONGLONG 1
# #define HAVE_UNION_SEMUN 1
# #define HAVE_NET_SERVICES 1
# #define _REENTRANT 1
#
# configure: exit 1