The build took 00h 01m 09s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
6,824 |
sh |
5,427 |
ansic |
4,782 |
makefile |
17,033 |
total |
The process tree of the build process is here.
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: nbd 3.14-2 (Tue Apr 4 21:40:22 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
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 whether to enable maintainer-specific portions of Makefiles... yes
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 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 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... 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 whether Large File Support should be enabled... yes
checking whether syslog logging is requested... yes
checking whether a debugging version is requested... no
checking for arm-linux-androideabi-gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
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 whether byte ordering is bigendian... no
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking size of unsigned short int... 2
checking size of unsigned int... 4
checking size of unsigned long int... 4
checking size of unsigned long long int... 8
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for struct dirent.d_type... yes
checking for llseek... no
checking for alarm... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for socket... yes
checking for strerror... yes
checking for strstr... yes
checking for mkstemp... yes
checking for fdatasync... yes
checking for fallocate... yes
checking linux/falloc.h usability... yes
checking linux/falloc.h presence... yes
checking for linux/falloc.h... yes
checking whether FALLOC_FL_PUNCH_HOLE is declared... yes
checking for FALLOC_FL_PUNCH_HOLE support... yes
checking for winioctl.h... no
checking for sync_file_range... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking whether client should be built... yes
checking for library containing bind... none required
checking for library containing inet_ntoa... none required
checking for library containing daemon... none required
checking for sys/mount.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking sys/dirent.h usability... no
checking sys/dirent.h presence... no
checking for sys/dirent.h... no
checking for arm-linux-androideabi-pkg-config... /usr/sbin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.26.0... cross compiling; assumed OK...
yes (version 2.48.1)
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for off_t... yes
checking for pid_t... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/Makefile
config.status: creating man/Makefile
config.status: creating gznbd/Makefile
config.status: creating tests/Makefile
config.status: creating tests/code/Makefile
config.status: creating tests/run/Makefile
config.status: creating man/nbd-client.8.sh
config.status: creating man/nbd-server.5.sh
config.status: creating man/nbd-server.1.sh
config.status: creating man/nbd-trdump.1.sh
config.status: creating man/nbdtab.5.sh
config.status: creating systemd/Makefile
config.status: creating systemd/nbd@.service.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
make[1]: Entering directory '/tmp/nbd/src/nbd-3.14'
Making all in .
make[2]: Entering directory '/tmp/nbd/src/nbd-3.14'
/bin/sh ./libtool --tag=CC --mode=compile arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT libnbdsrv_la-nbdsrv.lo -MD -MP -MF .deps/libnbdsrv_la-nbdsrv.Tpo -c -o libnbdsrv_la-nbdsrv.lo `test -f 'nbdsrv.c' || echo './'`nbdsrv.c
/bin/sh ./libtool --tag=CC --mode=compile arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT libnbdsrv_la-treefiles.lo -MD -MP -MF .deps/libnbdsrv_la-treefiles.Tpo -c -o libnbdsrv_la-treefiles.lo `test -f 'treefiles.c' || echo './'`treefiles.c
/bin/sh ./libtool --tag=CC --mode=compile arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -MT libcliserv_la-cliserv.lo -MD -MP -MF .deps/libcliserv_la-cliserv.Tpo -c -o libcliserv_la-cliserv.lo `test -f 'cliserv.c' || echo './'`cliserv.c
arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT nbd_server-nbd-server.o -MD -MP -MF .deps/nbd_server-nbd-server.Tpo -c -o nbd_server-nbd-server.o `test -f 'nbd-server.c' || echo './'`nbd-server.c
nbd-server.c: In function 'send_reply':
nbd-server.c:1245:2: warning: implicit declaration of function 'writev' [-Wimplicit-function-declaration]
ssize_t sent = writev(net, v_data, 5);
^
libtool: compile: arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT libnbdsrv_la-nbdsrv.lo -MD -MP -MF .deps/libnbdsrv_la-nbdsrv.Tpo -c nbdsrv.c -fPIC -DPIC -o .libs/libnbdsrv_la-nbdsrv.o
libtool: compile: arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -MT libcliserv_la-cliserv.lo -MD -MP -MF .deps/libcliserv_la-cliserv.Tpo -c cliserv.c -fPIC -DPIC -o .libs/libcliserv_la-cliserv.o
libtool: compile: arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT libnbdsrv_la-treefiles.lo -MD -MP -MF .deps/libnbdsrv_la-treefiles.Tpo -c treefiles.c -fPIC -DPIC -o .libs/libnbdsrv_la-treefiles.o
libtool: compile: arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -MT libcliserv_la-cliserv.lo -MD -MP -MF .deps/libcliserv_la-cliserv.Tpo -c cliserv.c -o libcliserv_la-cliserv.o >/dev/null 2>&1
libtool: compile: arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT libnbdsrv_la-treefiles.lo -MD -MP -MF .deps/libnbdsrv_la-treefiles.Tpo -c treefiles.c -o libnbdsrv_la-treefiles.o >/dev/null 2>&1
libtool: compile: arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT libnbdsrv_la-nbdsrv.lo -MD -MP -MF .deps/libnbdsrv_la-nbdsrv.Tpo -c nbdsrv.c -o libnbdsrv_la-nbdsrv.o >/dev/null 2>&1
mv -f .deps/libcliserv_la-cliserv.Tpo .deps/libcliserv_la-cliserv.Plo
arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT nbd_trdump-nbd-trdump.o -MD -MP -MF .deps/nbd_trdump-nbd-trdump.Tpo -c -o nbd_trdump-nbd-trdump.o `test -f 'nbd-trdump.c' || echo './'`nbd-trdump.c
mv -f .deps/libnbdsrv_la-treefiles.Tpo .deps/libnbdsrv_la-treefiles.Plo
arm-linux-androideabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -MT nbd-client.o -MD -MP -MF .deps/nbd-client.Tpo -c -o nbd-client.o nbd-client.c
mv -f .deps/libnbdsrv_la-nbdsrv.Tpo .deps/libnbdsrv_la-nbdsrv.Plo
mv -f .deps/nbd_trdump-nbd-trdump.Tpo .deps/nbd_trdump-nbd-trdump.Po
/bin/sh ./libtool --tag=CC --mode=link arm-linux-androideabi-gcc -std=gnu99 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o libnbdsrv.la libnbdsrv_la-nbdsrv.lo libnbdsrv_la-treefiles.lo
/bin/sh ./libtool --tag=CC --mode=link arm-linux-androideabi-gcc -std=gnu99 -o libcliserv.la libcliserv_la-cliserv.lo
mv -f .deps/nbd_server-nbd-server.Tpo .deps/nbd_server-nbd-server.Po
nbd-client.c: In function 'openunix':
nbd-client.c:163:2: warning: passing argument 2 of 'connect' from incompatible pointer type [enabled by default]
if (connect(sock, &un_addr, sizeof(un_addr)) == -1) {
^
In file included from nbd-client.c:25:0:
/sysroot/sysroot/usr/include/sys/socket.h:274:18: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_un *'
__socketcall int connect(int, const struct sockaddr*, socklen_t);
^
mv -f .deps/nbd-client.Tpo .deps/nbd-client.Po
libtool: link: arm-linux-androideabi-ar cru .libs/libnbdsrv.a .libs/libnbdsrv_la-nbdsrv.o .libs/libnbdsrv_la-treefiles.o
libtool: link: arm-linux-androideabi-ranlib .libs/libnbdsrv.a
libtool: link: ( cd ".libs" && rm -f "libnbdsrv.la" && ln -s "../libnbdsrv.la" "libnbdsrv.la" )
libtool: link: arm-linux-androideabi-ar cru .libs/libcliserv.a .libs/libcliserv_la-cliserv.o
libtool: link: arm-linux-androideabi-ranlib .libs/libcliserv.a
libtool: link: ( cd ".libs" && rm -f "libcliserv.la" && ln -s "../libcliserv.la" "libcliserv.la" )
/bin/sh ./libtool --tag=CC --mode=link arm-linux-androideabi-gcc -std=gnu99 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o nbd-server nbd_server-nbd-server.o -lglib-2.0 libnbdsrv.la libcliserv.la
/bin/sh ./libtool --tag=CC --mode=link arm-linux-androideabi-gcc -std=gnu99 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o nbd-trdump nbd_trdump-nbd-trdump.o libcliserv.la
/bin/sh ./libtool --tag=CC --mode=link arm-linux-androideabi-gcc -std=gnu99 -o nbd-client nbd-client.o libcliserv.la
libtool: link: arm-linux-androideabi-gcc -std=gnu99 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o nbd-trdump nbd_trdump-nbd-trdump.o ./.libs/libcliserv.a
libtool: link: arm-linux-androideabi-gcc -std=gnu99 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o nbd-server nbd_server-nbd-server.o -lglib-2.0 ./.libs/libnbdsrv.a ./.libs/libcliserv.a
libtool: link: arm-linux-androideabi-gcc -std=gnu99 -o nbd-client nbd-client.o ./.libs/libcliserv.a
/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lglib-2.0
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_malloc0_n'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_strdup'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_strsplit'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_strfreev'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_strsplit'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_strsplit'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_strdup'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_strdup'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_free'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_strdup'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_strfreev'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_free'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_free'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_free'
nbd_server-nbd-server.o:nbd-server.c:function cmdline: error: undefined reference to 'g_log'
nbd_server-nbd-server.o:nbd-server.c:function do_cfile_dir: error: undefined reference to 'g_quark_from_static_string'
nbd_server-nbd-server.o:nbd-server.c:function do_cfile_dir: error: undefined reference to 'g_set_error'
nbd_server-nbd-server.o:nbd-server.c:function do_cfile_dir: error: undefined reference to 'g_build_filename'
nbd_server-nbd-server.o:nbd-server.c:function do_cfile_dir: error: undefined reference to 'g_array_new'
nbd_server-nbd-server.o:nbd-server.c:function do_cfile_dir: error: undefined reference to 'g_array_append_vals'
nbd_server-nbd-server.o:nbd-server.c:function do_cfile_dir: error: undefined reference to 'g_array_free'
nbd_server-nbd-server.o:nbd-server.c:function do_cfile_dir: error: undefined reference to 'g_quark_from_static_string'
nbd_server-nbd-server.o:nbd-server.c:function do_cfile_dir: error: undefined reference to 'g_set_error'
nbd_server-nbd-server.o:nbd-server.c:function do_cfile_dir: error: undefined reference to 'g_array_free'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_new'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_array_new'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_load_from_file'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_quark_from_static_string'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_set_error'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_free'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_get_start_group'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_quark_from_static_string'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_set_error'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_free'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_get_groups'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_get_integer'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_get_int64'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_get_string'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_get_boolean'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_clear_error'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_array_free'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_error_free'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_free'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_array_free'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_key_file_free'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_log'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_log'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_array_append_vals'
nbd_server-nbd-server.o:nbd-server.c:function parse_cfile: error: undefined reference to 'g_array_append_vals'
nbd_server-nbd-server.o:nbd-server.c:function handle_export_name: error: undefined reference to 'g_malloc0_n'
nbd_server-nbd-server.o:nbd-server.c:function mainloop_threaded: error: undefined reference to 'g_thread_pool_free'
nbd_server-nbd-server.o:nbd-server.c:function mainloop_threaded: error: undefined reference to 'g_thread_pool_push'
nbd_server-nbd-server.o:nbd-server.c:function setupexport: error: undefined reference to 'g_array_new'
nbd_server-nbd-server.o:nbd-server.c:function setupexport: error: undefined reference to 'g_strdup_printf'
nbd_server-nbd-server.o:nbd-server.c:function setupexport: error: undefined reference to 'g_strdup_printf'
nbd_server-nbd-server.o:nbd-server.c:function setupexport: error: undefined reference to 'g_strdup_printf'
nbd_server-nbd-server.o:nbd-server.c:function setupexport: error: undefined reference to 'g_array_append_vals'
nbd_server-nbd-server.o:nbd-server.c:function copyonwrite_prepare: error: undefined reference to 'g_strdup_printf'
nbd_server-nbd-server.o:nbd-server.c:function serveconnection: error: undefined reference to 'g_log'
nbd_server-nbd-server.o:nbd-server.c:function spawn_child: error: undefined reference to 'g_malloc'
nbd_server-nbd-server.o:nbd-server.c:function spawn_child: error: undefined reference to 'g_hash_table_insert'
nbd_server-nbd-server.o:nbd-server.c:function handle_modern_connection: error: undefined reference to 'g_hash_table_size'
nbd_server-nbd-server.o:nbd-server.c:function handle_modern_connection: error: undefined reference to 'g_hash_table_destroy'
nbd_server-nbd-server.o:nbd-server.c:function append_new_servers: error: undefined reference to 'g_thread_pool_set_max_threads'
nbd_server-nbd-server.o:nbd-server.c:function serveloop: error: undefined reference to 'g_hash_table_foreach'
nbd_server-nbd-server.o:nbd-server.c:function serveloop: error: undefined reference to 'g_hash_table_lookup'
nbd_server-nbd-server.o:nbd-server.c:function serveloop: error: undefined reference to 'g_hash_table_remove'
nbd_server-nbd-server.o:nbd-server.c:function open_modern: error: undefined reference to 'g_strsplit_set'
nbd_server-nbd-server.o:nbd-server.c:function open_modern: error: undefined reference to 'g_prefix_error'
nbd_server-nbd-server.o:nbd-server.c:function setup_servers: error: undefined reference to 'g_clear_error'
nbd_server-nbd-server.o:nbd-server.c:function setup_servers: error: undefined reference to 'g_clear_error'
nbd_server-nbd-server.o:nbd-server.c:function setup_servers: error: undefined reference to 'g_hash_table_new_full'
nbd_server-nbd-server.o:nbd-server.c:function setup_servers: error: undefined reference to 'g_int_hash'
nbd_server-nbd-server.o:nbd-server.c:function setup_servers: error: undefined reference to 'g_int_equal'
nbd_server-nbd-server.o:nbd-server.c:function main: error: undefined reference to 'g_array_new'
nbd_server-nbd-server.o:nbd-server.c:function main: error: undefined reference to 'g_malloc'
nbd_server-nbd-server.o:nbd-server.c:function main: error: undefined reference to 'g_thread_pool_new'
./.libs/libnbdsrv.a(libnbdsrv_la-nbdsrv.o):nbdsrv.c:function dup_serve: error: undefined reference to 'g_malloc0_n'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:602: nbd-server] Error 1
make[2]: Leaving directory '/tmp/nbd/src/nbd-3.14'
make[1]: *** [Makefile:708: all-recursive] Error 1
make[1]: Leaving directory '/tmp/nbd/src/nbd-3.14'
make: *** [Makefile:424: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Printing config logfiles
CMD: config logfiles '/tmp/nbd/src/nbd-3.14/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 nbd configure 3.14, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --enable-syslog
## --------- ##
## Platform. ##
## --------- ##
hostname = 89e89cafeeff
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:2655: checking for a BSD-compatible install
configure:2723: result: /usr/bin/install -c
configure:2734: checking whether build environment is sane
configure:2789: result: yes
configure:2848: checking for arm-linux-androideabi-strip
configure:2864: found /sysroot/bin/arm-linux-androideabi-strip
configure:2875: result: arm-linux-androideabi-strip
configure:2940: checking for a thread-safe mkdir -p
configure:2979: result: /usr/sbin/mkdir -p
configure:2986: checking for gawk
configure:3002: found /usr/sbin/gawk
configure:3013: result: gawk
configure:3024: checking whether make sets $(MAKE)
configure:3046: result: yes
configure:3075: checking whether make supports nested variables
configure:3092: result: yes
configure:3219: checking whether to enable maintainer-specific portions of Makefiles
configure:3228: result: yes
configure:3271: checking build system type
configure:3285: result: x86_64-unknown-linux-gnu
configure:3305: checking host system type
configure:3318: result: arm-unknown-linux-androideabi
configure:3359: checking how to print strings
configure:3386: result: printf
configure:3419: checking for style of include used by make
configure:3447: result: GNU
configure:3478: checking for arm-linux-androideabi-gcc
configure:3505: result: arm-linux-androideabi-gcc
configure:3774: checking for C compiler version
configure:3783: 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:3794: $? = 0
configure:3783: 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:3794: $? = 0
configure:3783: 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:3794: $? = 1
configure:3783: 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:3794: $? = 1
configure:3814: checking whether the C compiler works
configure:3836: arm-linux-androideabi-gcc conftest.c >&5
configure:3840: $? = 0
configure:3888: result: yes
configure:3891: checking for C compiler default output file name
configure:3893: result: a.out
configure:3899: checking for suffix of executables
configure:3906: arm-linux-androideabi-gcc -o conftest conftest.c >&5
configure:3910: $? = 0
configure:3932: result:
configure:3954: checking whether we are cross compiling
configure:3992: result: yes
configure:3997: checking for suffix of object files
configure:4019: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4023: $? = 0
configure:4044: result: o
configure:4048: checking whether we are using the GNU C compiler
configure:4067: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4067: $? = 0
configure:4076: result: yes
configure:4085: checking whether arm-linux-androideabi-gcc accepts -g
configure:4105: arm-linux-androideabi-gcc -c -g conftest.c >&5
configure:4105: $? = 0
configure:4146: result: yes
configure:4163: checking for arm-linux-androideabi-gcc option to accept ISO C89
configure:4226: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4226: $? = 0
configure:4239: result: none needed
configure:4264: checking whether arm-linux-androideabi-gcc understands -c and -o together
configure:4286: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
configure:4289: $? = 0
configure:4286: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
configure:4289: $? = 0
configure:4301: result: yes
configure:4320: checking dependency style of arm-linux-androideabi-gcc
configure:4431: result: gcc3
configure:4446: checking for a sed that does not truncate output
configure:4510: result: /usr/sbin/sed
configure:4528: checking for grep that handles long lines and -e
configure:4586: result: /usr/sbin/grep
configure:4591: checking for egrep
configure:4653: result: /usr/sbin/grep -E
configure:4658: checking for fgrep
configure:4720: result: /usr/sbin/grep -F
configure:4755: checking for ld used by arm-linux-androideabi-gcc
configure:4822: result: /sysroot/arm-linux-androideabi/bin/ld
configure:4829: checking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ld
configure:4844: result: yes
configure:4856: checking for BSD- or MS-compatible name lister (nm)
configure:4910: result: /sysroot/bin/arm-linux-androideabi-nm -B
configure:5040: checking the name lister (/sysroot/bin/arm-linux-androideabi-nm -B) interface
configure:5047: arm-linux-androideabi-gcc -c conftest.c >&5
configure:5050: /sysroot/bin/arm-linux-androideabi-nm -B "conftest.o"
configure:5053: output
00000000 B some_variable
configure:5060: result: BSD nm
configure:5063: checking whether ln -s works
configure:5067: result: yes
configure:5075: checking the maximum length of command line arguments
configure:5206: result: 1572864
configure:5254: checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi format
configure:5294: result: func_convert_file_noop
configure:5301: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:5321: result: func_convert_file_noop
configure:5328: checking for /sysroot/arm-linux-androideabi/bin/ld option to reload object files
configure:5335: result: -r
configure:5369: checking for arm-linux-androideabi-objdump
configure:5385: found /sysroot/bin/arm-linux-androideabi-objdump
configure:5396: result: arm-linux-androideabi-objdump
configure:5468: checking how to recognize dependent libraries
configure:5668: result: pass_all
configure:5713: checking for arm-linux-androideabi-dlltool
configure:5743: result: no
configure:5753: checking for dlltool
configure:5783: result: no
configure:5813: checking how to associate runtime and link libraries
configure:5840: result: printf %s\n
configure:5857: checking for arm-linux-androideabi-ar
configure:5873: found /sysroot/bin/arm-linux-androideabi-ar
configure:5884: result: arm-linux-androideabi-ar
configure:5965: checking for archiver @FILE support
configure:5982: arm-linux-androideabi-gcc -c conftest.c >&5
configure:5982: $? = 0
configure:5985: arm-linux-androideabi-ar cru libconftest.a @conftest.lst >&5
configure:5988: $? = 0
configure:5993: arm-linux-androideabi-ar cru libconftest.a @conftest.lst >&5
arm-linux-androideabi-ar: conftest.o: No such file or directory
configure:5996: $? = 1
configure:6008: result: @
configure:6026: checking for arm-linux-androideabi-strip
configure:6053: result: arm-linux-androideabi-strip
configure:6125: checking for arm-linux-androideabi-ranlib
configure:6141: found /sysroot/bin/arm-linux-androideabi-ranlib
configure:6152: result: arm-linux-androideabi-ranlib
configure:6294: checking command to parse /sysroot/bin/arm-linux-androideabi-nm -B output from arm-linux-androideabi-gcc object
configure:6447: arm-linux-androideabi-gcc -c conftest.c >&5
configure:6450: $? = 0
configure:6454: /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:6457: $? = 0
configure:6523: arm-linux-androideabi-gcc -o conftest conftest.c conftstm.o >&5
configure:6526: $? = 0
configure:6564: result: ok
configure:6611: checking for sysroot
configure:6641: result: no
configure:6648: checking for a working dd
configure:6686: result: /usr/sbin/dd
configure:6690: checking how to truncate binary pipes
configure:6705: result: /usr/sbin/dd bs=4096 count=1
configure:6994: checking for arm-linux-androideabi-mt
configure:7024: result: no
configure:7034: checking for mt
configure:7064: result: no
configure:7084: checking if : is a manifest tool
configure:7090: : '-?'
configure:7098: result: no
configure:7775: checking how to run the C preprocessor
configure:7806: arm-linux-androideabi-gcc -E conftest.c
configure:7806: $? = 0
configure:7820: 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:7820: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| /* end confdefs.h. */
| #include
configure:7845: result: arm-linux-androideabi-gcc -E
configure:7865: arm-linux-androideabi-gcc -E conftest.c
configure:7865: $? = 0
configure:7879: 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:7879: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| /* end confdefs.h. */
| #include
configure:7908: checking for ANSI C header files
configure:7928: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7928: $? = 0
configure:8012: result: yes
configure:8025: checking for sys/types.h
configure:8025: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8025: $? = 0
configure:8025: result: yes
configure:8025: checking for sys/stat.h
configure:8025: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8025: $? = 0
configure:8025: result: yes
configure:8025: checking for stdlib.h
configure:8025: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8025: $? = 0
configure:8025: result: yes
configure:8025: checking for string.h
configure:8025: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8025: $? = 0
configure:8025: result: yes
configure:8025: checking for memory.h
configure:8025: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8025: $? = 0
configure:8025: result: yes
configure:8025: checking for strings.h
configure:8025: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8025: $? = 0
configure:8025: result: yes
configure:8025: checking for inttypes.h
configure:8025: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8025: $? = 0
configure:8025: result: yes
configure:8025: checking for stdint.h
configure:8025: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8025: $? = 0
configure:8025: result: yes
configure:8025: checking for unistd.h
configure:8025: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8025: $? = 0
configure:8025: result: yes
configure:8039: checking for dlfcn.h
configure:8039: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8039: $? = 0
configure:8039: result: yes
configure:8295: checking for objdir
configure:8310: result: .libs
configure:8574: checking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions
configure:8592: 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:8596: $? = 0
configure:8609: result: no
configure:8967: checking for arm-linux-androideabi-gcc option to produce PIC
configure:8974: result: -fPIC -DPIC
configure:8982: checking if arm-linux-androideabi-gcc PIC flag -fPIC -DPIC works
configure:9000: arm-linux-androideabi-gcc -c -fPIC -DPIC -DPIC conftest.c >&5
configure:9004: $? = 0
configure:9017: result: yes
configure:9046: checking if arm-linux-androideabi-gcc static flag -static works
configure:9074: result: yes
configure:9089: checking if arm-linux-androideabi-gcc supports -c -o file.o
configure:9110: arm-linux-androideabi-gcc -c -o out/conftest2.o conftest.c >&5
configure:9114: $? = 0
configure:9136: result: yes
configure:9144: checking if arm-linux-androideabi-gcc supports -c -o file.o
configure:9191: result: yes
configure:9224: checking whether the arm-linux-androideabi-gcc linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared libraries
configure:10487: result: yes
configure:10524: checking whether -lc should be explicitly linked in
configure:10532: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10535: $? = 0
configure:10550: 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:10553: $? = 0
configure:10567: result: no
configure:10727: checking dynamic linker characteristics
configure:11557: result: Android linker
configure:11679: checking how to hardcode library paths into programs
configure:11704: result: immediate
configure:12252: checking whether stripping libraries is possible
configure:12257: result: yes
configure:12292: checking if libtool supports shared libraries
configure:12294: result: yes
configure:12297: checking whether to build shared libraries
configure:12322: result: yes
configure:12325: checking whether to build static libraries
configure:12329: result: yes
configure:12381: checking whether Large File Support should be enabled
configure:12387: result: yes
configure:12411: checking whether syslog logging is requested
configure:12417: result: yes
configure:12439: checking whether a debugging version is requested
configure:12454: result: no
configure:12487: checking for arm-linux-androideabi-gcc option to accept ISO C99
configure:12636: arm-linux-androideabi-gcc -c conftest.c >&5
conftest.c:75:29: error: expected ';', ',' or ')' before 'text'
test_restrict (ccp restrict text)
^
conftest.c: In function 'main':
conftest.c:129:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
char *restrict newvar = "Another string";
^
conftest.c:129:18: error: 'newvar' undeclared (first use in this function)
conftest.c:129:18: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:139:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < ia->datasize; ++i)
^
conftest.c:139:3: note: use option -std=c99 or -std=gnu99 to compile your code
configure:12636: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 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:12636: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:12636: $? = 0
configure:12656: result: -std=gnu99
configure:12669: checking how to run the C preprocessor
configure:12739: result: arm-linux-androideabi-gcc -E
configure:12759: arm-linux-androideabi-gcc -E conftest.c
configure:12759: $? = 0
configure:12773: arm-linux-androideabi-gcc -E conftest.c
conftest.c:25:28: fatal error: ac_nonexistent.h: No such file or directory
#include
^
compilation terminated.
configure:12773: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| /* end confdefs.h. */
| #include
configure:12813: checking for arm-linux-androideabi-pkg-config
configure:12846: result: no
configure:12856: checking for pkg-config
configure:12874: found /usr/sbin/pkg-config
configure:12886: result: /usr/sbin/pkg-config
configure:12898: WARNING: using cross tools not prefixed with host triplet
configure:12911: checking pkg-config is at least version 0.9.0
configure:12914: result: yes
configure:12923: checking whether byte ordering is bigendian
configure:12938: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c:26:9: error: unknown type name 'not'
not a universal capable compiler
^
conftest.c:26:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
not a universal capable compiler
^
conftest.c:26:15: error: unknown type name 'universal'
configure:12938: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| /* end confdefs.h. */
| #ifndef __APPLE_CC__
| not a universal capable compiler
| #endif
| typedef int dummy;
|
configure:12983: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:32:8: error: unknown type name 'bogus'
bogus endian macros
^
conftest.c:32:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'macros'
bogus endian macros
^
configure:12983: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| /* end confdefs.h. */
| #include
| #include
|
| int
| main ()
| {
| #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
| bogus endian macros
| #endif
|
| ;
| return 0;
| }
configure:13027: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:31:8: error: unknown type name 'bogus'
bogus endian macros
^
conftest.c:31:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'macros'
bogus endian macros
^
configure:13027: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| /* end confdefs.h. */
| #include
|
| int
| main ()
| {
| #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
| bogus endian macros
| #endif
|
| ;
| return 0;
| }
configure:13083: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13083: $? = 0
configure:13129: result: no
configure:13147: checking for inline
configure:13163: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13163: $? = 0
configure:13171: result: inline
configure:13189: checking for an ANSI C-conforming const
configure:13255: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13255: $? = 0
configure:13262: result: yes
configure:13274: checking size of unsigned short int
configure:13279: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13279: $? = 0
configure:13279: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:61:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short int))) <= 0)];
^
configure:13279: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short int))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13279: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:61:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short int))) <= 1)];
^
configure:13279: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short int))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13279: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13279: $? = 0
configure:13279: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13279: $? = 0
configure:13293: result: 2
configure:13307: checking size of unsigned int
configure:13312: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13312: $? = 0
configure:13312: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:62:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 0)];
^
configure:13312: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| /* 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13312: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:62:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 1)];
^
configure:13312: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| /* 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13312: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:62:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 3)];
^
configure:13312: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| /* 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned int))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13312: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13312: $? = 0
configure:13312: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13312: $? = 0
configure:13312: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13312: $? = 0
configure:13326: result: 4
configure:13340: checking size of unsigned long int
configure:13345: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13345: $? = 0
configure:13345: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) <= 0)];
^
configure:13345: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| /* 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13345: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) <= 1)];
^
configure:13345: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| /* 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13345: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) <= 3)];
^
configure:13345: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| /* 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long int))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13345: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13345: $? = 0
configure:13345: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13345: $? = 0
configure:13345: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13345: $? = 0
configure:13359: result: 4
configure:13373: checking size of unsigned long long int
configure:13378: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13378: $? = 0
configure:13378: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:64:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) <= 0)];
^
configure:13378: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| /* 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13378: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:64:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) <= 1)];
^
configure:13378: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| /* 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13378: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:64:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) <= 3)];
^
configure:13378: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| /* 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13378: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:64:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) <= 7)];
^
configure:13378: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| /* 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 ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long int))) <= 7)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:13378: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13378: $? = 0
configure:13378: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13378: $? = 0
configure:13378: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13378: $? = 0
configure:13378: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13378: $? = 0
configure:13392: result: 8
configure:13405: checking for dirent.h that defines DIR
configure:13424: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13424: $? = 0
configure:13432: result: yes
configure:13445: checking for library containing opendir
configure:13476: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13476: $? = 0
configure:13493: result: none required
configure:13562: checking for struct dirent.d_type
configure:13562: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13562: $? = 0
configure:13562: result: yes
configure:13593: checking for llseek
configure:13593: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
/tmp/ccOxgYAx.o:conftest.c:function main: error: undefined reference to 'llseek'
collect2: error: ld returned 1 exit status
configure:13593: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG_INT 8
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| /* end confdefs.h. */
| /* Define llseek to an innocuous variant, in case declares llseek.
| For example, HP-UX 11i declares gettimeofday. */
| #define llseek innocuous_llseek
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char llseek (); below.
| Prefer to if __STDC__ is defined, since
| exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
|
| #undef llseek
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char llseek ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_llseek || defined __stub___llseek
| choke me
| #endif
|
| int
| main ()
| {
| return llseek ();
| ;
| return 0;
| }
configure:13593: result: no
configure:13593: checking for alarm
configure:13593: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13593: $? = 0
configure:13593: result: yes
configure:13593: checking for gethostbyname
configure:13593: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13593: $? = 0
configure:13593: result: yes
configure:13593: checking for inet_ntoa
configure:13593: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13593: $? = 0
configure:13593: result: yes
configure:13593: checking for memset
configure:13593: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
conftest.c:57:6: warning: conflicting types for built-in function 'memset' [enabled by default]
char memset ();
^
configure:13593: $? = 0
configure:13593: result: yes
configure:13593: checking for socket
configure:13593: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13593: $? = 0
configure:13593: result: yes
configure:13593: checking for strerror
configure:13593: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13593: $? = 0
configure:13593: result: yes
configure:13593: checking for strstr
configure:13593: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
conftest.c:60:6: warning: conflicting types for built-in function 'strstr' [enabled by default]
char strstr ();
^
configure:13593: $? = 0
configure:13593: result: yes
configure:13593: checking for mkstemp
configure:13593: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13593: $? = 0
configure:13593: result: yes
configure:13593: checking for fdatasync
configure:13593: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13593: $? = 0
configure:13593: result: yes
configure:13603: checking for fallocate
configure:13603: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13603: $? = 0
configure:13603: result: yes
configure:13608: checking linux/falloc.h usability
configure:13608: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13608: $? = 0
configure:13608: result: yes
configure:13608: checking linux/falloc.h presence
configure:13608: arm-linux-androideabi-gcc -E conftest.c
configure:13608: $? = 0
configure:13608: result: yes
configure:13608: checking for linux/falloc.h
configure:13608: result: yes
configure:13620: checking whether FALLOC_FL_PUNCH_HOLE is declared
configure:13620: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13620: $? = 0
configure:13620: result: yes
configure:13633: checking for FALLOC_FL_PUNCH_HOLE support
configure:13640: result: yes
configure:13653: checking for winioctl.h
configure:13653: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c:42:16: fatal error: io.h: No such file or directory
#include
^
compilation terminated.
configure:13653: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG_INT 8
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_ALARM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FDATASYNC 1
| #define HAVE_LINUX_FALLOC_H 1
| #define HAVE_FALLOC_PH 1
| /* end confdefs.h. */
| #include
| #include
| #include
|
|
| #include
configure:13653: result: no
configure:13693: checking for sync_file_range
configure:13693: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
/tmp/ccOUqlJM.o:conftest.c:function main: error: undefined reference to 'sync_file_range'
collect2: error: ld returned 1 exit status
configure:13693: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG_INT 8
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_ALARM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FDATASYNC 1
| #define HAVE_LINUX_FALLOC_H 1
| #define HAVE_FALLOC_PH 1
| #define HAVE_FSCTL_SET_ZERO_DATA 0
| /* end confdefs.h. */
| /* Define sync_file_range to an innocuous variant, in case declares sync_file_range.
| For example, HP-UX 11i declares gettimeofday. */
| #define sync_file_range innocuous_sync_file_range
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char sync_file_range (); below.
| Prefer to if __STDC__ is defined, since
| exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
|
| #undef sync_file_range
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sync_file_range ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_sync_file_range || defined __stub___sync_file_range
| choke me
| #endif
|
| int
| main ()
| {
| return sync_file_range ();
| ;
| return 0;
| }
configure:13693: result: no
configure:13700: checking for pid_t
configure:13700: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:13700: $? = 0
configure:13700: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:79:20: error: expected expression before ')' token
if (sizeof ((pid_t)))
^
configure:13700: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG_INT 8
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_ALARM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FDATASYNC 1
| #define HAVE_LINUX_FALLOC_H 1
| #define HAVE_FALLOC_PH 1
| #define HAVE_FSCTL_SET_ZERO_DATA 0
| /* end confdefs.h. */
| #include
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| # include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| int
| main ()
| {
| if (sizeof ((pid_t)))
| return 0;
| ;
| return 0;
| }
configure:13700: result: yes
configure:13713: checking vfork.h usability
configure:13713: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c:76:19: fatal error: vfork.h: No such file or directory
#include
^
compilation terminated.
configure:13713: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG_INT 8
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_ALARM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FDATASYNC 1
| #define HAVE_LINUX_FALLOC_H 1
| #define HAVE_FALLOC_PH 1
| #define HAVE_FSCTL_SET_ZERO_DATA 0
| /* 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:13713: result: no
configure:13713: checking vfork.h presence
configure:13713: arm-linux-androideabi-gcc -E conftest.c
conftest.c:43:19: fatal error: vfork.h: No such file or directory
#include
^
compilation terminated.
configure:13713: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG_INT 8
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_ALARM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FDATASYNC 1
| #define HAVE_LINUX_FALLOC_H 1
| #define HAVE_FALLOC_PH 1
| #define HAVE_FSCTL_SET_ZERO_DATA 0
| /* end confdefs.h. */
| #include
configure:13713: result: no
configure:13713: checking for vfork.h
configure:13713: result: no
configure:13726: checking for fork
configure:13726: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
conftest.c:66:6: warning: conflicting types for built-in function 'fork' [enabled by default]
char fork ();
^
configure:13726: $? = 0
configure:13726: result: yes
configure:13726: checking for vfork
configure:13726: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13726: $? = 0
configure:13726: result: yes
configure:13736: checking for working fork
configure:13768: result: cross
configure:13784: WARNING: result yes guessed because of cross compilation
configure:13789: checking for working vfork
configure:13899: result: yes
configure:13931: checking whether client should be built
configure:13935: result: yes
configure:13944: checking for library containing bind
configure:13975: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:13975: $? = 0
configure:13992: result: none required
configure:14002: checking for library containing inet_ntoa
configure:14033: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:14033: $? = 0
configure:14050: result: none required
configure:14060: checking for library containing daemon
configure:14091: arm-linux-androideabi-gcc -std=gnu99 -o conftest conftest.c >&5
configure:14091: $? = 0
configure:14108: result: none required
configure:14120: checking for sys/mount.h
configure:14120: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14120: $? = 0
configure:14120: result: yes
configure:14135: checking arpa/inet.h usability
configure:14135: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking arpa/inet.h presence
configure:14135: arm-linux-androideabi-gcc -E conftest.c
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking for arpa/inet.h
configure:14135: result: yes
configure:14135: checking fcntl.h usability
configure:14135: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking fcntl.h presence
configure:14135: arm-linux-androideabi-gcc -E conftest.c
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking for fcntl.h
configure:14135: result: yes
configure:14135: checking netdb.h usability
configure:14135: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking netdb.h presence
configure:14135: arm-linux-androideabi-gcc -E conftest.c
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking for netdb.h
configure:14135: result: yes
configure:14135: checking netinet/in.h usability
configure:14135: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking netinet/in.h presence
configure:14135: arm-linux-androideabi-gcc -E conftest.c
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking for netinet/in.h
configure:14135: result: yes
configure:14135: checking sys/ioctl.h usability
configure:14135: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking sys/ioctl.h presence
configure:14135: arm-linux-androideabi-gcc -E conftest.c
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking for sys/ioctl.h
configure:14135: result: yes
configure:14135: checking sys/socket.h usability
configure:14135: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking sys/socket.h presence
configure:14135: arm-linux-androideabi-gcc -E conftest.c
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking for sys/socket.h
configure:14135: result: yes
configure:14135: checking syslog.h usability
configure:14135: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking syslog.h presence
configure:14135: arm-linux-androideabi-gcc -E conftest.c
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking for syslog.h
configure:14135: result: yes
configure:14135: checking linux/types.h usability
configure:14135: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking linux/types.h presence
configure:14135: arm-linux-androideabi-gcc -E conftest.c
configure:14135: $? = 0
configure:14135: result: yes
configure:14135: checking for linux/types.h
configure:14135: result: yes
configure:14135: checking sys/dirent.h usability
configure:14135: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c:89:24: fatal error: sys/dirent.h: No such file or directory
#include
^
compilation terminated.
configure:14135: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG_INT 8
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_ALARM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FDATASYNC 1
| #define HAVE_LINUX_FALLOC_H 1
| #define HAVE_FALLOC_PH 1
| #define HAVE_FSCTL_SET_ZERO_DATA 0
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_LINUX_TYPES_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:14135: result: no
configure:14135: checking sys/dirent.h presence
configure:14135: arm-linux-androideabi-gcc -E conftest.c
conftest.c:56:24: fatal error: sys/dirent.h: No such file or directory
#include
^
compilation terminated.
configure:14135: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG_INT 8
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_ALARM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FDATASYNC 1
| #define HAVE_LINUX_FALLOC_H 1
| #define HAVE_FALLOC_PH 1
| #define HAVE_FSCTL_SET_ZERO_DATA 0
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_LINUX_TYPES_H 1
| /* end confdefs.h. */
| #include
configure:14135: result: no
configure:14135: checking for sys/dirent.h
configure:14135: result: no
configure:14186: checking for arm-linux-androideabi-pkg-config
configure:14216: result: /usr/sbin/pkg-config
configure:14284: checking pkg-config is at least version 0.16
configure:14287: result: yes
configure:14304: checking for GLIB - version >= 2.26.0
configure:14430: result: yes (version 2.48.1)
configure:14498: checking for sys/wait.h that is POSIX.1 compatible
configure:14524: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14524: $? = 0
configure:14531: result: yes
configure:14539: checking for off_t
configure:14539: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
configure:14539: $? = 0
configure:14539: arm-linux-androideabi-gcc -std=gnu99 -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:93:20: error: expected expression before ')' token
if (sizeof ((off_t)))
^
configure:14539: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nbd"
| #define PACKAGE_TARNAME "nbd"
| #define PACKAGE_VERSION "3.14"
| #define PACKAGE_STRING "nbd 3.14"
| #define PACKAGE_BUGREPORT "wouter@debian.org"
| #define PACKAGE_URL "http://nbd.sourceforge.net/"
| #define PACKAGE "nbd"
| #define VERSION "3.14"
| #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 NBD_LFS 1
| #define ISSERVER 1
| #define SIZEOF_UNSIGNED_SHORT_INT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG_INT 4
| #define SIZEOF_UNSIGNED_LONG_LONG_INT 8
| #define HAVE_DIRENT_H 1
| #define HAVE_STRUCT_DIRENT_D_TYPE 1
| #define HAVE_ALARM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMSET 1
| #define HAVE_SOCKET 1
| #define HAVE_STRERROR 1
| #define HAVE_STRSTR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FDATASYNC 1
| #define HAVE_LINUX_FALLOC_H 1
| #define HAVE_FALLOC_PH 1
| #define HAVE_FSCTL_SET_ZERO_DATA 0
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_SYS_WAIT_H 1
| /* end confdefs.h. */
| #include
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| # include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| int
| main ()
| {
| if (sizeof ((off_t)))
| return 0;
| ;
| return 0;
| }
configure:14539: result: yes
configure:14550: checking for pid_t
configure:14550: result: yes
configure:14684: checking that generated files are newer than configure
configure:14690: result: done
configure:14722: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by nbd config.status 3.14, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on 89e89cafeeff
config.status:1149: creating Makefile
config.status:1149: creating doc/Doxyfile
config.status:1149: creating doc/Makefile
config.status:1149: creating man/Makefile
config.status:1149: creating gznbd/Makefile
config.status:1149: creating tests/Makefile
config.status:1149: creating tests/code/Makefile
config.status:1149: creating tests/run/Makefile
config.status:1149: creating man/nbd-client.8.sh
config.status:1149: creating man/nbd-server.5.sh
config.status:1149: creating man/nbd-server.1.sh
config.status:1149: creating man/nbd-trdump.1.sh
config.status:1149: creating man/nbdtab.5.sh
config.status:1149: creating systemd/Makefile
config.status:1149: creating systemd/nbd@.service.sh
config.status:1149: creating config.h
config.status:1378: executing depfiles commands
config.status:1378: executing libtool commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
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_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_alarm=yes
ac_cv_func_fallocate=yes
ac_cv_func_fdatasync=yes
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_inet_ntoa=yes
ac_cv_func_llseek=no
ac_cv_func_memset=yes
ac_cv_func_mkstemp=yes
ac_cv_func_setvbuf_reversed=no
ac_cv_func_socket=yes
ac_cv_func_strerror=yes
ac_cv_func_strstr=yes
ac_cv_func_sync_file_range=no
ac_cv_func_vfork=yes
ac_cv_func_vfork_works=yes
ac_cv_have_decl_FALLOC_FL_PUNCH_HOLE=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_linux_falloc_h=yes
ac_cv_header_linux_types_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_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_dirent_h=no
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_mount_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_sys_wait_h=yes
ac_cv_header_syslog_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_vfork_h=no
ac_cv_header_winioctl_h=no
ac_cv_host=arm-unknown-linux-androideabi
ac_cv_member_struct_dirent_d_type=yes
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_PKG_CONFIG=/usr/sbin/pkg-config
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
ac_cv_search_bind='none required'
ac_cv_search_daemon='none required'
ac_cv_search_inet_ntoa='none required'
ac_cv_search_opendir='none required'
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_unsigned_long_int=4
ac_cv_sizeof_unsigned_long_long_int=8
ac_cv_sizeof_unsigned_short_int=2
ac_cv_type_off_t=yes
ac_cv_type_pid_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
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_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'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /tmp/nbd/src/nbd-3.14/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_CPPFLAGS=' -DSYSCONFDIR='\''"/etc"'\'''
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='arm-linux-androideabi-ar'
AUTOCONF='${SHELL} /tmp/nbd/src/nbd-3.14/missing autoconf'
AUTOHEADER='${SHELL} /tmp/nbd/src/nbd-3.14/missing autoheader'
AUTOMAKE='${SHELL} /tmp/nbd/src/nbd-3.14/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'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/sbin/grep -E'
EXEEXT=''
FGREP='/usr/sbin/grep -F'
GLIB_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include'
GLIB_COMPILE_RESOURCES='glib-compile-resources'
GLIB_GENMARSHAL='glib-genmarshal'
GLIB_LIBS='-lglib-2.0'
GLIB_MKENUMS='glib-mkenums'
GOBJECT_QUERY='gobject-query'
GREP='/usr/sbin/grep'
GZNBD_FALSE=''
GZNBD_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/sysroot/arm-linux-androideabi/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT=''
MAINTAINER_MODE_FALSE='#'
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /tmp/nbd/src/nbd-3.14/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/sbin/mkdir -p'
NBD_CLIENT_NAME='nbd-client'
NM='/sysroot/bin/arm-linux-androideabi-nm -B'
NMEDIT=''
OBJDUMP='arm-linux-androideabi-objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='nbd'
PACKAGE_BUGREPORT='wouter@debian.org'
PACKAGE_NAME='nbd'
PACKAGE_STRING='nbd 3.14'
PACKAGE_TARNAME='nbd'
PACKAGE_URL='http://nbd.sourceforge.net/'
PACKAGE_VERSION='3.14'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/sbin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB='arm-linux-androideabi-ranlib'
SED='/usr/sbin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='arm-linux-androideabi-strip'
VERSION='3.14'
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/nbd/src/nbd-3.14/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,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='/usr/bin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "nbd"
#define PACKAGE_TARNAME "nbd"
#define PACKAGE_VERSION "3.14"
#define PACKAGE_STRING "nbd 3.14"
#define PACKAGE_BUGREPORT "wouter@debian.org"
#define PACKAGE_URL "http://nbd.sourceforge.net/"
#define PACKAGE "nbd"
#define VERSION "3.14"
#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 NBD_LFS 1
#define ISSERVER 1
#define SIZEOF_UNSIGNED_SHORT_INT 2
#define SIZEOF_UNSIGNED_INT 4
#define SIZEOF_UNSIGNED_LONG_INT 4
#define SIZEOF_UNSIGNED_LONG_LONG_INT 8
#define HAVE_DIRENT_H 1
#define HAVE_STRUCT_DIRENT_D_TYPE 1
#define HAVE_ALARM 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_INET_NTOA 1
#define HAVE_MEMSET 1
#define HAVE_SOCKET 1
#define HAVE_STRERROR 1
#define HAVE_STRSTR 1
#define HAVE_MKSTEMP 1
#define HAVE_FDATASYNC 1
#define HAVE_LINUX_FALLOC_H 1
#define HAVE_FALLOC_PH 1
#define HAVE_FSCTL_SET_ZERO_DATA 0
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_FCNTL_H 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_SYS_WAIT_H 1
configure: exit 0