This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libgpiod configure 1.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --enable-tools=yes --prefix=/usr/local CFLAGS=-I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include ## --------- ## ## Platform. ## ## --------- ## hostname = nanopiduo uname -m = armv7l uname -r = 4.14.14-sunxi uname -s = Linux uname -v = #67 SMP Sat Jan 20 22:31:47 CET 2018 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/servadmin/bin PATH: /home/servadmin/.local/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2289: checking for a BSD-compatible install configure:2357: result: /usr/bin/install -c configure:2368: checking whether build environment is sane configure:2423: result: yes configure:2574: checking for a thread-safe mkdir -p configure:2613: result: /bin/mkdir -p configure:2620: checking for gawk configure:2650: result: no configure:2620: checking for mawk configure:2636: found /usr/bin/mawk configure:2647: result: mawk configure:2658: checking whether make sets $(MAKE) configure:2680: result: yes configure:2709: checking whether make supports nested variables configure:2726: result: yes configure:2864: checking whether make supports nested variables configure:2881: result: yes configure:2917: checking for style of include used by make configure:2945: result: GNU configure:3016: checking for gcc configure:3032: found /usr/bin/gcc configure:3043: result: gcc configure:3272: checking for C compiler version configure:3281: gcc --version >&5 gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609 Copyright (C) 2015 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:3292: $? = 0 configure:3281: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/5/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.5' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-multilib --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf Thread model: posix gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.5) configure:3292: $? = 0 configure:3281: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3292: $? = 1 configure:3281: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3292: $? = 1 configure:3312: checking whether the C compiler works configure:3334: gcc -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:3338: $? = 0 configure:3386: result: yes configure:3389: checking for C compiler default output file name configure:3391: result: a.out configure:3397: checking for suffix of executables configure:3404: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:3408: $? = 0 configure:3430: result: configure:3452: checking whether we are cross compiling configure:3460: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:3464: $? = 0 configure:3471: ./conftest configure:3475: $? = 0 configure:3490: result: no configure:3495: checking for suffix of object files configure:3517: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:3521: $? = 0 configure:3542: result: o configure:3546: checking whether we are using the GNU C compiler configure:3565: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:3565: $? = 0 configure:3574: result: yes configure:3583: checking whether gcc accepts -g configure:3603: gcc -c -g conftest.c >&5 configure:3603: $? = 0 configure:3644: result: yes configure:3661: checking for gcc option to accept ISO C89 configure:3724: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:3724: $? = 0 configure:3737: result: none needed configure:3762: checking whether gcc understands -c and -o together configure:3784: gcc -c conftest.c -o conftest2.o configure:3787: $? = 0 configure:3784: gcc -c conftest.c -o conftest2.o configure:3787: $? = 0 configure:3799: result: yes configure:3818: checking dependency style of gcc configure:3929: result: gcc3 configure:3994: checking for ar configure:4010: found /usr/bin/ar configure:4021: result: ar configure:4047: checking the archiver (ar) interface configure:4063: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:4063: $? = 0 configure:4065: ar cru libconftest.a conftest.o >&5 ar: `u' modifier ignored since `D' is the default (see `U') configure:4068: $? = 0 configure:4096: result: ar configure:4164: checking for gcc configure:4191: result: gcc configure:4420: checking for C compiler version configure:4429: gcc --version >&5 gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609 Copyright (C) 2015 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:4440: $? = 0 configure:4429: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/5/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.5' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-multilib --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf Thread model: posix gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.5) configure:4440: $? = 0 configure:4429: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4440: $? = 1 configure:4429: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:4440: $? = 1 configure:4444: checking whether we are using the GNU C compiler configure:4472: result: yes configure:4481: checking whether gcc accepts -g configure:4542: result: yes configure:4559: checking for gcc option to accept ISO C89 configure:4635: result: none needed configure:4660: checking whether gcc understands -c and -o together configure:4697: result: yes configure:4716: checking dependency style of gcc configure:4827: result: gcc3 configure:4871: checking build system type configure:4885: result: armv7l-unknown-linux-gnueabihf configure:4905: checking host system type configure:4918: result: armv7l-unknown-linux-gnueabihf configure:4959: checking how to print strings configure:4986: result: printf configure:5007: checking for a sed that does not truncate output configure:5071: result: /bin/sed configure:5089: checking for grep that handles long lines and -e configure:5147: result: /bin/grep configure:5152: checking for egrep configure:5214: result: /bin/grep -E configure:5219: checking for fgrep configure:5281: result: /bin/grep -F configure:5316: checking for ld used by gcc configure:5383: result: /usr/bin/ld configure:5390: checking if the linker (/usr/bin/ld) is GNU ld configure:5405: result: yes configure:5417: checking for BSD- or MS-compatible name lister (nm) configure:5471: result: /usr/bin/nm -B configure:5601: checking the name lister (/usr/bin/nm -B) interface configure:5608: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:5611: /usr/bin/nm -B "conftest.o" configure:5614: output 00000000 B some_variable configure:5621: result: BSD nm configure:5624: checking whether ln -s works configure:5628: result: yes configure:5636: checking the maximum length of command line arguments configure:5767: result: 1572864 configure:5815: checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format configure:5855: result: func_convert_file_noop configure:5862: checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format configure:5882: result: func_convert_file_noop configure:5889: checking for /usr/bin/ld option to reload object files configure:5896: result: -r configure:5970: checking for objdump configure:5986: found /usr/bin/objdump configure:5997: result: objdump configure:6029: checking how to recognize dependent libraries configure:6229: result: pass_all configure:6314: checking for dlltool configure:6344: result: no configure:6374: checking how to associate runtime and link libraries configure:6401: result: printf %s\n configure:6525: checking for archiver @FILE support configure:6542: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:6542: $? = 0 configure:6545: ar cr libconftest.a @conftest.lst >&5 configure:6548: $? = 0 configure:6553: ar cr libconftest.a @conftest.lst >&5 ar: conftest.o: No such file or directory configure:6556: $? = 1 configure:6568: result: @ configure:6626: checking for strip configure:6642: found /usr/bin/strip configure:6653: result: strip configure:6725: checking for ranlib configure:6741: found /usr/bin/ranlib configure:6752: result: ranlib configure:6854: checking command to parse /usr/bin/nm -B output from gcc object configure:7007: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:7010: $? = 0 configure:7014: /usr/bin/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:7017: $? = 0 configure:7083: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c conftstm.o >&5 configure:7086: $? = 0 configure:7124: result: ok configure:7171: checking for sysroot configure:7201: result: no configure:7208: checking for a working dd configure:7246: result: /bin/dd configure:7250: checking how to truncate binary pipes configure:7265: result: /bin/dd bs=4096 count=1 configure:7594: checking for mt configure:7610: found /bin/mt configure:7621: result: mt configure:7644: checking if mt is a manifest tool configure:7650: mt '-?' configure:7658: result: no configure:8335: checking how to run the C preprocessor configure:8366: gcc -E conftest.c configure:8366: $? = 0 configure:8380: gcc -E conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:8380: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libgpiod" | #define PACKAGE_TARNAME "libgpiod" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libgpiod 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define GPIOD_VERSION_STR "1.0.devel" | #define PACKAGE "libgpiod" | #define VERSION "1.0" | #define _GNU_SOURCE /**/ | /* end confdefs.h. */ | #include configure:8405: result: gcc -E configure:8425: gcc -E conftest.c configure:8425: $? = 0 configure:8439: gcc -E conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:8439: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libgpiod" | #define PACKAGE_TARNAME "libgpiod" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libgpiod 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define GPIOD_VERSION_STR "1.0.devel" | #define PACKAGE "libgpiod" | #define VERSION "1.0" | #define _GNU_SOURCE /**/ | /* end confdefs.h. */ | #include configure:8468: checking for ANSI C header files configure:8488: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8488: $? = 0 configure:8561: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8561: $? = 0 configure:8561: ./conftest configure:8561: $? = 0 configure:8572: result: yes configure:8585: checking for sys/types.h configure:8585: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8585: $? = 0 configure:8585: result: yes configure:8585: checking for sys/stat.h configure:8585: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8585: $? = 0 configure:8585: result: yes configure:8585: checking for stdlib.h configure:8585: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8585: $? = 0 configure:8585: result: yes configure:8585: checking for string.h configure:8585: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8585: $? = 0 configure:8585: result: yes configure:8585: checking for memory.h configure:8585: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8585: $? = 0 configure:8585: result: yes configure:8585: checking for strings.h configure:8585: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8585: $? = 0 configure:8585: result: yes configure:8585: checking for inttypes.h configure:8585: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8585: $? = 0 configure:8585: result: yes configure:8585: checking for stdint.h configure:8585: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8585: $? = 0 configure:8585: result: yes configure:8585: checking for unistd.h configure:8585: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8585: $? = 0 configure:8585: result: yes configure:8599: checking for dlfcn.h configure:8599: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:8599: $? = 0 configure:8599: result: yes configure:8855: checking for objdir configure:8870: result: .libs configure:9134: checking if gcc supports -fno-rtti -fno-exceptions configure:9152: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:9156: $? = 0 configure:9169: result: no configure:9527: checking for gcc option to produce PIC configure:9534: result: -fPIC -DPIC configure:9542: checking if gcc PIC flag -fPIC -DPIC works configure:9560: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include -fPIC -DPIC -DPIC conftest.c >&5 configure:9564: $? = 0 configure:9577: result: yes configure:9606: checking if gcc static flag -static works configure:9634: result: yes configure:9649: checking if gcc supports -c -o file.o configure:9670: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include -o out/conftest2.o conftest.c >&5 configure:9674: $? = 0 configure:9696: result: yes configure:9704: checking if gcc supports -c -o file.o configure:9751: result: yes configure:9784: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:11047: result: yes configure:11084: checking whether -lc should be explicitly linked in configure:11092: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:11095: $? = 0 configure:11110: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:11113: $? = 0 configure:11127: result: no configure:11287: checking dynamic linker characteristics configure:11868: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include -Wl,-rpath -Wl,/foo conftest.c >&5 configure:11868: $? = 0 configure:12117: result: GNU/Linux ld.so configure:12239: checking how to hardcode library paths into programs configure:12264: result: immediate configure:12812: checking whether stripping libraries is possible configure:12817: result: yes configure:12852: checking if libtool supports shared libraries configure:12854: result: yes configure:12857: checking whether to build shared libraries configure:12882: result: yes configure:12885: checking whether to build static libraries configure:12889: result: yes configure:12935: checking for ANSI C header files configure:13039: result: yes configure:13049: checking for stdlib.h configure:13049: result: yes configure:13059: checking for GNU libc compatible malloc configure:13083: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:13083: $? = 0 configure:13083: ./conftest configure:13083: $? = 0 configure:13093: result: yes configure:13114: checking for ioctl configure:13114: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:13114: $? = 0 configure:13114: result: yes configure:13121: checking for asprintf configure:13121: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:13121: $? = 0 configure:13121: result: yes configure:13128: checking for scandir configure:13128: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:13128: $? = 0 configure:13128: result: yes configure:13135: checking for alphasort configure:13135: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:13135: $? = 0 configure:13135: result: yes configure:13142: checking for ppoll configure:13142: gcc -o conftest -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:13142: $? = 0 configure:13142: result: yes configure:13151: checking getopt.h usability configure:13151: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:13151: $? = 0 configure:13151: result: yes configure:13151: checking getopt.h presence configure:13151: gcc -E conftest.c configure:13151: $? = 0 configure:13151: result: yes configure:13151: checking for getopt.h configure:13151: result: yes configure:13165: checking dirent.h usability configure:13165: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:13165: $? = 0 configure:13165: result: yes configure:13165: checking dirent.h presence configure:13165: gcc -E conftest.c configure:13165: $? = 0 configure:13165: result: yes configure:13165: checking for dirent.h configure:13165: result: yes configure:13179: checking sys/poll.h usability configure:13179: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 configure:13179: $? = 0 configure:13179: result: yes configure:13179: checking sys/poll.h presence configure:13179: gcc -E conftest.c configure:13179: $? = 0 configure:13179: result: yes configure:13179: checking for sys/poll.h configure:13179: result: yes configure:13193: checking linux/gpio.h usability configure:13193: gcc -c -I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include conftest.c >&5 In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:9:0, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/types.h:15:26: error: conflicting types for 'fd_set' typedef __kernel_fd_set fd_set; ^ In file included from /usr/include/arm-linux-gnueabihf/sys/types.h:219:0, from conftest.c:33: /usr/include/arm-linux-gnueabihf/sys/select.h:75:5: note: previous declaration of 'fd_set' was here } fd_set; ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:9:0, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/types.h:16:25: error: conflicting types for 'dev_t' typedef __kernel_dev_t dev_t; ^ In file included from conftest.c:33:0: /usr/include/arm-linux-gnueabihf/sys/types.h:60:17: note: previous declaration of 'dev_t' was here typedef __dev_t dev_t; ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:9:0, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/types.h:18:26: error: conflicting types for 'mode_t' typedef __kernel_mode_t mode_t; ^ In file included from conftest.c:33:0: /usr/include/arm-linux-gnueabihf/sys/types.h:70:18: note: previous declaration of 'mode_t' was here typedef __mode_t mode_t; ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:9:0, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/types.h:26:26: error: conflicting types for 'timer_t' typedef __kernel_timer_t timer_t; ^ In file included from /usr/include/arm-linux-gnueabihf/sys/types.h:132:0, from conftest.c:33: /usr/include/time.h:103:19: note: previous declaration of 'timer_t' was here typedef __timer_t timer_t; ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:9:0, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/types.h:37:24: error: conflicting types for 'uintptr_t' typedef unsigned long uintptr_t; ^ In file included from /usr/lib/gcc/arm-linux-gnueabihf/5/include/stdint.h:9:0, from /usr/include/inttypes.h:27, from conftest.c:56: /usr/include/stdint.h:128:23: note: previous declaration of 'uintptr_t' was here typedef unsigned int uintptr_t; ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:9:0, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/types.h:135:23: error: conflicting types for 'blkcnt_t' typedef unsigned long blkcnt_t; ^ In file included from conftest.c:33:0: /usr/include/arm-linux-gnueabihf/sys/types.h:235:20: note: previous declaration of 'blkcnt_t' was here typedef __blkcnt_t blkcnt_t; /* Type to count number of disk blocks. */ ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:11:0, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/bitops.h: In function 'get_bitmask_order': /usr/src/linux-headers-4.14.14-sunxi/include/linux/bitops.h:66:10: warning: implicit declaration of function 'fls' [-Wimplicit-function-declaration] order = fls(count); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/bitops.h: In function 'hweight_long': /usr/src/linux-headers-4.14.14-sunxi/include/linux/bitops.h:72:26: warning: implicit declaration of function 'hweight32' [-Wimplicit-function-declaration] return sizeof(w) == 4 ? hweight32(w) : hweight64(w); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/bitops.h:72:41: warning: implicit declaration of function 'hweight64' [-Wimplicit-function-declaration] return sizeof(w) == 4 ? hweight32(w) : hweight64(w); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/bitops.h: In function 'fls_long': /usr/src/linux-headers-4.14.14-sunxi/include/linux/bitops.h:183:9: warning: implicit declaration of function 'fls64' [-Wimplicit-function-declaration] return fls64(l); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/bitops.h: In function '__ffs64': /usr/src/linux-headers-4.14.14-sunxi/include/linux/bitops.h:224:10: warning: implicit declaration of function '__ffs' [-Wimplicit-function-declaration] return __ffs((u32)(word >> 32)) + 32; ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:14:0, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h: At top level: /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h:146:24: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 2) __cold ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h:146:27: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 2) __cold ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h:211:24: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 0) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h:211:27: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 0) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h:216:24: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 2) __cold ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h:216:27: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 2) __cold ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h:221:24: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 2) __cold ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h:221:27: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 2) __cold ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h:258:24: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/printk.h:258:27: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...) ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92:0, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:31:0: warning: "SIZE_MAX" redefined #define SIZE_MAX (~(size_t)0) ^ In file included from /usr/lib/gcc/arm-linux-gnueabihf/5/include/stdint.h:9:0, from /usr/include/inttypes.h:27, from conftest.c:56: /usr/include/stdint.h:266:0: note: this is the location of the previous definition # define SIZE_MAX (4294967295U) ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92:0, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:292:10: error: expected declaration specifiers or '...' before numeric constant __printf(1, 2) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:292:13: error: expected declaration specifiers or '...' before numeric constant __printf(1, 2) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h: In function 'do_exit': /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:299:31: error: expected declaration specifiers before '__noreturn' void do_exit(long error_code) __noreturn; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:300:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__noreturn' void complete_and_exit(struct completion *, long) __noreturn; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:306:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { } ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:310:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_kstrtoul' int __must_check _kstrtoul(const char *s, unsigned int base, unsigned long *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:311:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_kstrtol' int __must_check _kstrtol(const char *s, unsigned int base, long *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:313:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtoull' int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:314:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtoll' int __must_check kstrtoll(const char *s, unsigned int base, long long *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:332:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtoul' static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:361:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtol' static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:374:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtouint' int __must_check kstrtouint(const char *s, unsigned int base, unsigned int *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:375:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtoint' int __must_check kstrtoint(const char *s, unsigned int base, int *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:377:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtou64' static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:382:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtos64' static inline int __must_check kstrtos64(const char *s, unsigned int base, s64 *res) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:387:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtou32' static inline int __must_check kstrtou32(const char *s, unsigned int base, u32 *res) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:392:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtos32' static inline int __must_check kstrtos32(const char *s, unsigned int base, s32 *res) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:397:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtou16' int __must_check kstrtou16(const char *s, unsigned int base, u16 *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:398:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtos16' int __must_check kstrtos16(const char *s, unsigned int base, s16 *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:399:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtou8' int __must_check kstrtou8(const char *s, unsigned int base, u8 *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:400:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtos8' int __must_check kstrtos8(const char *s, unsigned int base, s8 *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:401:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtobool' int __must_check kstrtobool(const char *s, bool *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:403:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtoull_from_user' int __must_check kstrtoull_from_user(const char __user *s, size_t count, unsigned int base, unsigned long long *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:404:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtoll_from_user' int __must_check kstrtoll_from_user(const char __user *s, size_t count, unsigned int base, long long *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:405:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtoul_from_user' int __must_check kstrtoul_from_user(const char __user *s, size_t count, unsigned int base, unsigned long *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:406:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtol_from_user' int __must_check kstrtol_from_user(const char __user *s, size_t count, unsigned int base, long *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:407:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtouint_from_user' int __must_check kstrtouint_from_user(const char __user *s, size_t count, unsigned int base, unsigned int *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:408:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtoint_from_user' int __must_check kstrtoint_from_user(const char __user *s, size_t count, unsigned int base, int *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:409:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtou16_from_user' int __must_check kstrtou16_from_user(const char __user *s, size_t count, unsigned int base, u16 *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:410:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtos16_from_user' int __must_check kstrtos16_from_user(const char __user *s, size_t count, unsigned int base, s16 *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:411:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtou8_from_user' int __must_check kstrtou8_from_user(const char __user *s, size_t count, unsigned int base, u8 *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:412:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtos8_from_user' int __must_check kstrtos8_from_user(const char __user *s, size_t count, unsigned int base, s8 *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:413:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtobool_from_user' int __must_check kstrtobool_from_user(const char __user *s, size_t count, bool *res); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:415:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtou64_from_user' static inline int __must_check kstrtou64_from_user(const char __user *s, size_t count, unsigned int base, u64 *res) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:420:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtos64_from_user' static inline int __must_check kstrtos64_from_user(const char __user *s, size_t count, unsigned int base, s64 *res) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:425:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtou32_from_user' static inline int __must_check kstrtou32_from_user(const char __user *s, size_t count, unsigned int base, u32 *res) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:430:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kstrtos32_from_user' static inline int __must_check kstrtos32_from_user(const char __user *s, size_t count, unsigned int base, s32 *res) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:437:22: error: storage class specified for parameter 'simple_strtoul' extern unsigned long simple_strtoul(const char *,char **,unsigned int); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:438:13: error: storage class specified for parameter 'simple_strtol' extern long simple_strtol(const char *,char **,unsigned int); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:439:27: error: storage class specified for parameter 'simple_strtoull' extern unsigned long long simple_strtoull(const char *,char **,unsigned int); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:440:18: error: storage class specified for parameter 'simple_strtoll' extern long long simple_strtoll(const char *,char **,unsigned int); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:442:12: error: storage class specified for parameter 'num_to_str' extern int num_to_str(char *buf, int size, unsigned long long num); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:446:17: error: expected declaration specifiers or '...' before numeric constant extern __printf(2, 3) int sprintf(char *buf, const char * fmt, ...); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:446:20: error: expected declaration specifiers or '...' before numeric constant extern __printf(2, 3) int sprintf(char *buf, const char * fmt, ...); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:447:17: error: expected declaration specifiers or '...' before numeric constant extern __printf(2, 0) int vsprintf(char *buf, const char *, va_list); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:447:20: error: expected declaration specifiers or '...' before numeric constant extern __printf(2, 0) int vsprintf(char *buf, const char *, va_list); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:448:17: error: expected declaration specifiers or '...' before numeric constant extern __printf(3, 4) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:448:20: error: expected declaration specifiers or '...' before numeric constant extern __printf(3, 4) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:450:17: error: expected declaration specifiers or '...' before numeric constant extern __printf(3, 0) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:450:20: error: expected declaration specifiers or '...' before numeric constant extern __printf(3, 0) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:452:17: error: expected declaration specifiers or '...' before numeric constant extern __printf(3, 4) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:452:20: error: expected declaration specifiers or '...' before numeric constant extern __printf(3, 4) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:454:17: error: expected declaration specifiers or '...' before numeric constant extern __printf(3, 0) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:454:20: error: expected declaration specifiers or '...' before numeric constant extern __printf(3, 0) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:456:17: error: expected declaration specifiers or '...' before numeric constant extern __printf(2, 3) __malloc ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:456:20: error: expected declaration specifiers or '...' before numeric constant extern __printf(2, 3) __malloc ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:458:17: error: expected declaration specifiers or '...' before numeric constant extern __printf(2, 0) __malloc ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:458:20: error: expected declaration specifiers or '...' before numeric constant extern __printf(2, 0) __malloc ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:460:17: error: expected declaration specifiers or '...' before numeric constant extern __printf(2, 0) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:460:20: error: expected declaration specifiers or '...' before numeric constant extern __printf(2, 0) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:463:16: error: expected declaration specifiers or '...' before numeric constant extern __scanf(2, 3) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:463:19: error: expected declaration specifiers or '...' before numeric constant extern __scanf(2, 3) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:465:16: error: expected declaration specifiers or '...' before numeric constant extern __scanf(2, 0) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:465:19: error: expected declaration specifiers or '...' before numeric constant extern __scanf(2, 0) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:468:12: error: storage class specified for parameter 'get_option' extern int get_option(char **str, int *pint); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:469:14: error: storage class specified for parameter 'get_options' extern char *get_options(const char *str, int nints, int *ints); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:470:27: error: storage class specified for parameter 'memparse' extern unsigned long long memparse(const char *ptr, char **retptr); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:471:13: error: storage class specified for parameter 'parse_option_str' extern bool parse_option_str(const char *str, const char *option); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:472:14: error: storage class specified for parameter 'next_arg' extern char *next_arg(char *args, char **param, char **val); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:474:12: error: storage class specified for parameter 'core_kernel_text' extern int core_kernel_text(unsigned long addr); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:475:12: error: storage class specified for parameter 'core_kernel_data' extern int core_kernel_data(unsigned long addr); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:476:12: error: storage class specified for parameter '__kernel_text_address' extern int __kernel_text_address(unsigned long addr); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:477:12: error: storage class specified for parameter 'kernel_text_address' extern int kernel_text_address(unsigned long addr); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:478:12: error: storage class specified for parameter 'func_ptr_is_kernel_text' extern int func_ptr_is_kernel_text(void *ptr); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:482:13: error: storage class specified for parameter 'bust_spinlocks' extern void bust_spinlocks(int yes); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:483:12: error: storage class specified for parameter 'oops_in_progress' extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */ ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:484:12: error: storage class specified for parameter 'panic_timeout' extern int panic_timeout; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:485:12: error: storage class specified for parameter 'panic_on_oops' extern int panic_on_oops; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:486:12: error: storage class specified for parameter 'panic_on_unrecovered_nmi' extern int panic_on_unrecovered_nmi; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:487:12: error: storage class specified for parameter 'panic_on_io_nmi' extern int panic_on_io_nmi; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:488:12: error: storage class specified for parameter 'panic_on_warn' extern int panic_on_warn; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:489:12: error: storage class specified for parameter 'sysctl_panic_on_rcu_stall' extern int sysctl_panic_on_rcu_stall; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:490:12: error: storage class specified for parameter 'sysctl_panic_on_stackoverflow' extern int sysctl_panic_on_stackoverflow; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:492:13: error: storage class specified for parameter 'crash_kexec_post_notifiers' extern bool crash_kexec_post_notifiers; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:499:17: error: storage class specified for parameter 'panic_cpu' extern atomic_t panic_cpu; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:507:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:511:20: error: storage class specified for parameter 'print_tainted' extern const char *print_tainted(void); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:512:1: warning: empty declaration enum lockdep_ok { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:516:13: error: storage class specified for parameter 'add_taint' extern void add_taint(unsigned flag, enum lockdep_ok); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:517:12: error: storage class specified for parameter 'test_taint' extern int test_taint(unsigned flag); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:518:22: error: storage class specified for parameter 'get_taint' extern unsigned long get_taint(void); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:519:12: error: storage class specified for parameter 'root_mountflags' extern int root_mountflags; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:521:13: error: storage class specified for parameter 'early_boot_irqs_disabled' extern bool early_boot_irqs_disabled; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:534:3: error: storage class specified for parameter 'system_state' } system_state; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:554:1: warning: empty declaration struct taint_flag { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:560:32: error: storage class specified for parameter 'taint_flags' extern const struct taint_flag taint_flags[TAINT_FLAGS_COUNT]; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:562:19: error: storage class specified for parameter 'hex_asc' extern const char hex_asc[]; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:567:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:573:19: error: storage class specified for parameter 'hex_asc_upper' extern const char hex_asc_upper[]; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:578:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:584:12: error: storage class specified for parameter 'hex_to_bin' extern int hex_to_bin(char ch); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:585:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hex2bin' extern int __must_check hex2bin(u8 *dst, const char *src, size_t count); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:586:14: error: storage class specified for parameter 'bin2hex' extern char *bin2hex(char *dst, const void *src, size_t count); ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:610:1: warning: empty declaration enum ftrace_dump_mode { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:760:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void tracing_start(void) { } ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:761:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void tracing_stop(void) { } ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:762:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void trace_dump_stack(int skip) { } ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:764:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void tracing_on(void) { } ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:765:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void tracing_off(void) { } ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:766:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int tracing_is_on(void) { return 0; } ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:767:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void tracing_snapshot(void) { } ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:768:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void tracing_snapshot_alloc(void) { } ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:770:24: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 2) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:770:27: error: expected declaration specifiers or '...' before numeric constant static inline __printf(1, 2) ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:775:17: error: expected declaration specifiers or '...' before numeric constant static __printf(1, 0) inline int ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:775:20: error: expected declaration specifiers or '...' before numeric constant static __printf(1, 0) inline int ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:780:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { } ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/arch/arm/include/asm/bug.h:7:0, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/bug.h:5, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:94, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/arch/arm/include/asm/opcodes.h:14:32: error: storage class specified for parameter 'arm_check_condition' extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr); ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/bug.h:5:0, from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:94, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/arch/arm/include/asm/bug.h:62:1: warning: empty declaration struct pt_regs; ^ /usr/src/linux-headers-4.14.14-sunxi/arch/arm/include/asm/bug.h:65:1: warning: empty declaration struct siginfo; ^ /usr/src/linux-headers-4.14.14-sunxi/arch/arm/include/asm/bug.h:85:24: error: storage class specified for parameter 'c_backtrace' extern asmlinkage void c_backtrace(unsigned long fp, int pmode); ^ /usr/src/linux-headers-4.14.14-sunxi/arch/arm/include/asm/bug.h:87:1: warning: empty declaration struct mm_struct; ^ /usr/src/linux-headers-4.14.14-sunxi/arch/arm/include/asm/bug.h:88:13: error: storage class specified for parameter 'show_pte' extern void show_pte(struct mm_struct *mm, unsigned long addr); ^ /usr/src/linux-headers-4.14.14-sunxi/arch/arm/include/asm/bug.h:89:13: error: storage class specified for parameter '__show_regs' extern void __show_regs(struct pt_regs *); ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:94:0, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/bug.h:9:1: warning: empty declaration enum bug_trap_type { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/bug.h:15:1: warning: empty declaration struct pt_regs; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/bug.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/bug.h:60:15: error: unknown type name '__must_check' static inline __must_check bool check_data_corruption(bool v) { return v; } ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/bug.h:60:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'check_data_corruption' static inline __must_check bool check_data_corruption(bool v) { return v; } ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:95:0, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/pinctrl/pinctrl.h:202:1: warning: empty declaration struct pinctrl_dev; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/pinctrl/pinctrl.h:206:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from conftest.c:64:0: /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:97:1: warning: empty declaration struct device; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:98:1: warning: empty declaration struct gpio_chip; ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:101:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:106:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:112:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:130:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:153:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:180:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:186:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:201:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:207:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:215:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:222:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:246:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:253:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:266:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:272:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /usr/src/linux-headers-4.14.14-sunxi/include/linux/gpio.h:92:0, from conftest.c:64: /usr/src/linux-headers-4.14.14-sunxi/include/linux/kernel.h:299:6: error: old-style parameter declarations in prototyped function definition void do_exit(long error_code) __noreturn; ^ conftest.c:64:0: error: expected '{' at end of input #include ^ configure:13193: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libgpiod" | #define PACKAGE_TARNAME "libgpiod" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libgpiod 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define GPIOD_VERSION_STR "1.0.devel" | #define PACKAGE "libgpiod" | #define VERSION "1.0" | #define _GNU_SOURCE /**/ | #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 STDC_HEADERS 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC 1 | #define HAVE_GETOPT_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_POLL_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:13193: result: no configure:13193: checking linux/gpio.h presence configure:13193: gcc -E conftest.c conftest.c:31:24: fatal error: linux/gpio.h: No such file or directory compilation terminated. configure:13193: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libgpiod" | #define PACKAGE_TARNAME "libgpiod" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libgpiod 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define GPIOD_VERSION_STR "1.0.devel" | #define PACKAGE "libgpiod" | #define VERSION "1.0" | #define _GNU_SOURCE /**/ | #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 STDC_HEADERS 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC 1 | #define HAVE_GETOPT_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include configure:13193: result: no configure:13193: checking for linux/gpio.h configure:13193: result: no configure:13200: error: linux/gpio.h header not found (needed to build the library) ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=armv7l-unknown-linux-gnueabihf ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_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_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_alphasort=yes ac_cv_func_asprintf=yes ac_cv_func_ioctl=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_ppoll=yes ac_cv_func_scandir=yes ac_cv_header_dirent_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_getopt_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_linux_gpio_h=no ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_poll_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=armv7l-unknown-linux-gnueabihf ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_ar_interface=ar am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_NM='/usr/bin/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_shlibpath_overrides_runpath=no 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='/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/servadmin/libgpiod/autostuff/missing aclocal-1.15' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='ar' AR_FLAGS='cr' AUTOCONF='${SHELL} /home/servadmin/libgpiod/autostuff/missing autoconf' AUTOHEADER='${SHELL} /home/servadmin/libgpiod/autostuff/missing autoheader' AUTOMAKE='${SHELL} /home/servadmin/libgpiod/autostuff/missing automake-1.15' AWK='mawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-I/usr/src/linux-headers-4.14.14-sunxi/arch/arm/include -I/usr/src/linux-headers-4.14.14-sunxi/include' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' EXTRA_VERSION='.devel' FGREP='/bin/grep -F' GREP='/bin/grep' HAS_DOXYGEN_FALSE='' HAS_DOXYGEN_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/servadmin/libgpiod/autostuff/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='libgpiod' PACKAGE_BUGREPORT='' PACKAGE_NAME='libgpiod' PACKAGE_STRING='libgpiod 1.0' PACKAGE_TARNAME='libgpiod' PACKAGE_URL='' PACKAGE_VERSION='1.0' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' VERSION='1.0' VERSION_STR='1.0.devel' WITH_TESTS_FALSE='' WITH_TESTS_TRUE='' WITH_TOOLS_FALSE='' WITH_TOOLS_TRUE='' ac_ct_AR='ar' ac_ct_CC='gcc' 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='armv7l-unknown-linux-gnueabihf' build_alias='' build_cpu='armv7l' build_os='linux-gnueabihf' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' has_doxygen='' host='armv7l-unknown-linux-gnueabihf' host_alias='' host_cpu='armv7l' host_os='linux-gnueabihf' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/servadmin/libgpiod/autostuff/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/local' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libgpiod" #define PACKAGE_TARNAME "libgpiod" #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "libgpiod 1.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define GPIOD_VERSION_STR "1.0.devel" #define PACKAGE "libgpiod" #define VERSION "1.0" #define _GNU_SOURCE /**/ #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 STDC_HEADERS 1 #define HAVE_STDLIB_H 1 #define HAVE_MALLOC 1 #define HAVE_GETOPT_H 1 #define HAVE_DIRENT_H 1 #define HAVE_SYS_POLL_H 1 configure: exit 1