This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by nut configure 2.8.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3 ## --------- ## ## Platform. ## ## --------- ## hostname = b5f10c0e4fe4 uname -m = x86_64 uname -r = 6.1.0-18-amd64 uname -s = Linux uname -v = #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) /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/buildroot/instance-0/output-1/host/bin PATH: /home/buildroot/instance-0/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:3373: checking for CONFIG_FLAGS configure:3420: result: --target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3 configure:3470: checking build system type configure:3484: result: x86_64-pc-linux-gnu configure:3504: checking host system type configure:3517: result: sparc-buildroot-linux-uclibc configure:3537: checking target system type configure:3550: result: sparc-buildroot-linux-uclibc configure:3674: checking for host system name configure:3712: result: debian configure:3798: checking for a BSD-compatible install configure:3866: result: /usr/bin/install -c configure:3877: checking whether build environment is sane configure:3932: result: yes configure:3986: checking for sparc-buildroot-linux-uclibc-strip configure:4013: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-strip configure:4078: checking for a thread-safe mkdir -p configure:4117: result: /bin/mkdir -p configure:4124: checking for gawk configure:4140: found /usr/bin/gawk configure:4151: result: gawk configure:4162: checking whether make sets $(MAKE) configure:4184: result: yes configure:4213: checking whether make supports nested variables configure:4230: result: yes configure:4398: checking whether make supports nested variables configure:4415: result: yes configure:4427: checking for autoconf macro to enable system extensions configure:4430: result: yes configure:4436: checking whether make supports the include directive configure:4451: make -f confmf.GNU && cat confinc.out make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/nut-2.8.2' make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/nut-2.8.2' this is the am__doit target configure:4454: $? = 0 configure:4473: result: yes (GNU style) configure:4503: checking for sparc-buildroot-linux-uclibc-gcc configure:4530: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc configure:4799: checking for C compiler version configure:4808: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc --version >&5 sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0 Copyright (C) 2020 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:4819: $? = 0 configure:4808: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/sparc-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/sparc-buildroot-linux-uclibc/10.4.0/lto-wrapper Target: sparc-buildroot-linux-uclibc Configured with: ./configure --prefix=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1 --sysconfdir=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1/etc --enable-static --target=sparc-buildroot-linux-uclibc --with-sysroot=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1/sparc-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1 --with-mpc=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1 --with-mpfr=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1 --with-pkgversion='Buildroot 2021.11-4428-g6b6741b' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libitm --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-cpu=v8 --enable-languages=c,c++,fortran --with-build-time-tools=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1/sparc-buildroot-linux-uclibc/bin --enable-shared --enable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.4.0 (Buildroot 2021.11-4428-g6b6741b) configure:4819: $? = 0 configure:4808: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -V >&5 sparc-linux-gcc.br_real: error: unrecognized command-line option '-V' sparc-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:4819: $? = 1 configure:4808: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -qversion >&5 sparc-linux-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? sparc-linux-gcc.br_real: fatal error: no input files compilation terminated. configure:4819: $? = 1 configure:4839: checking whether the C compiler works configure:4861: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:4865: $? = 0 configure:4913: result: yes configure:4916: checking for C compiler default output file name configure:4918: result: a.out configure:4924: checking for suffix of executables configure:4931: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:4935: $? = 0 configure:4957: result: configure:4979: checking whether we are cross compiling configure:5017: result: yes configure:5022: checking for suffix of object files configure:5044: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5048: $? = 0 configure:5069: result: o configure:5073: checking whether we are using the GNU C compiler configure:5092: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5092: $? = 0 configure:5101: result: yes configure:5110: checking whether /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc accepts -g configure:5130: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5130: $? = 0 configure:5171: result: yes configure:5188: checking for /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc option to accept ISO C89 configure:5251: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5251: $? = 0 configure:5264: result: none needed configure:5289: checking whether /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc understands -c and -o together configure:5311: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c conftest.c -o conftest2.o configure:5314: $? = 0 configure:5311: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c conftest.c -o conftest2.o configure:5314: $? = 0 configure:5326: result: yes configure:5345: checking dependency style of /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc configure:5456: result: none configure:5477: checking how to run the C preprocessor configure:5547: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp configure:5567: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:5567: $? = 0 configure:5581: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:12:10: fatal error: ac_nonexistent.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5581: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | /* end confdefs.h. */ | #include configure:5610: checking for grep that handles long lines and -e configure:5668: result: /bin/grep configure:5673: checking for egrep configure:5735: result: /bin/grep -E configure:5740: checking for ANSI C header files configure:5760: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5760: $? = 0 configure:5844: result: yes configure:5857: checking for sys/types.h configure:5857: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5857: $? = 0 configure:5857: result: yes configure:5857: checking for sys/stat.h configure:5857: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5857: $? = 0 configure:5857: result: yes configure:5857: checking for stdlib.h configure:5857: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5857: $? = 0 configure:5857: result: yes configure:5857: checking for string.h configure:5857: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5857: $? = 0 configure:5857: result: yes configure:5857: checking for memory.h configure:5857: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5857: $? = 0 configure:5857: result: yes configure:5857: checking for strings.h configure:5857: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5857: $? = 0 configure:5857: result: yes configure:5857: checking for inttypes.h configure:5857: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5857: $? = 0 configure:5857: result: yes configure:5857: checking for stdint.h configure:5857: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5857: $? = 0 configure:5857: result: yes configure:5857: checking for unistd.h configure:5857: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5857: $? = 0 configure:5857: result: yes configure:5870: checking minix/config.h usability configure:5870: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:55:10: fatal error: minix/config.h: No such file or directory 55 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:5870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 | /* 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:5870: result: no configure:5870: checking minix/config.h presence configure:5870: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:22:10: fatal error: minix/config.h: No such file or directory 22 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:5870: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 | /* end confdefs.h. */ | #include configure:5870: result: no configure:5870: checking for minix/config.h configure:5870: result: no configure:5891: checking whether it is safe to define __EXTENSIONS__ configure:5909: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5909: $? = 0 configure:5916: result: yes configure:5940: checking how to run the C preprocessor configure:6010: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp configure:6030: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:6030: $? = 0 configure:6044: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:27:10: fatal error: ac_nonexistent.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:6044: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include configure:6184: checking for C++ compiler version configure:6193: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ --version >&5 sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0 Copyright (C) 2020 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:6204: $? = 0 configure:6193: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/sparc-linux-g++.br_real COLLECT_LTO_WRAPPER=/home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/sparc-buildroot-linux-uclibc/10.4.0/lto-wrapper Target: sparc-buildroot-linux-uclibc Configured with: ./configure --prefix=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1 --sysconfdir=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1/etc --enable-static --target=sparc-buildroot-linux-uclibc --with-sysroot=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1/sparc-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1 --with-mpc=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1 --with-mpfr=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1 --with-pkgversion='Buildroot 2021.11-4428-g6b6741b' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libitm --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-cpu=v8 --enable-languages=c,c++,fortran --with-build-time-tools=/builds/buildroot.org/toolchains-builder/build/sparcv8--uclibc--stable-2022.08-1/sparc-buildroot-linux-uclibc/bin --enable-shared --enable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.4.0 (Buildroot 2021.11-4428-g6b6741b) configure:6204: $? = 0 configure:6193: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -V >&5 sparc-linux-g++.br_real: error: unrecognized command-line option '-V' sparc-linux-g++.br_real: fatal error: no input files compilation terminated. configure:6204: $? = 1 configure:6193: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -qversion >&5 sparc-linux-g++.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? sparc-linux-g++.br_real: fatal error: no input files compilation terminated. configure:6204: $? = 1 configure:6208: checking whether we are using the GNU C++ compiler configure:6227: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:6227: $? = 0 configure:6236: result: yes configure:6245: checking whether /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ accepts -g configure:6265: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:6265: $? = 0 configure:6306: result: yes configure:6331: checking dependency style of /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ configure:6442: result: none configure:6462: checking whether /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ understands -c and -o together configure:6486: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -c conftest.cpp -o conftest2.o >&5 configure:6490: $? = 0 configure:6497: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -c conftest.cpp -o conftest2.o >&5 configure:6501: $? = 0 configure:6509: result: yes configure:6532: checking whether to enable maintainer-specific portions of Makefiles configure:6541: result: no configure:6555: checking whether this make implementation supports export VAR=VAL syntax configure:6568: result: no: got 'make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/nut-2.8.2' VAR=VAL make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/nut-2.8.2'' configure:6683: checking pkg-config is at least version 0.9.0 configure:6686: result: yes configure:6699: checking whether usable PKG_CONFIG was already detected by autoconf configure:6702: result: yes: /home/buildroot/instance-0/output-1/host/bin/pkg-config configure:6805: checking for autoconf macro support of pkg-config (/home/buildroot/instance-0/output-1/host/bin/pkg-config) configure:6811: checking for autoconf macro support of pkg-config module checker configure:6816: checking for pkg-config configure:6823: $PKG_CONFIG --exists --print-errors "pkg-config" configure:6826: $? = 0 configure:6840: $PKG_CONFIG --exists --print-errors "pkg-config" configure:6843: $? = 0 configure:6901: result: yes configure:6953: checking for realpath configure:6969: found /usr/bin/realpath configure:6980: result: realpath configure:7875: checking whether ln -s works configure:7879: result: yes configure:7886: checking for egrep configure:7948: result: /bin/grep -E configure:7955: checking for ar configure:7985: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ar configure:7996: checking for sparc-buildroot-linux-uclibc-ranlib configure:8023: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ranlib configure:8085: checking whether byte ordering is bigendian configure:8291: result: yes configure:8309: checking for inline configure:8325: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8325: $? = 0 configure:8333: result: inline configure:8352: checking for flexible array members configure:8375: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8375: $? = 0 configure:8382: result: yes configure:8394: checking for variable-length arrays configure:8410: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8410: $? = 0 configure:8417: result: yes configure:8490: checking if CC compiler family is GCC configure:8506: result: yes configure:8509: checking if CXX compiler family is GCC configure:8525: result: yes configure:8528: checking if CPP preprocessor family is GCC configure:8544: result: yes configure:8566: checking if CC compiler family is clang configure:8582: result: no configure:8585: checking if CXX compiler family is clang configure:8601: result: no configure:8604: checking if CPP preprocessor family is clang configure:8620: result: no configure:8654: checking Compact version of C compiler configure:8656: result: "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" configure:8685: checking Compact version of C++ compiler configure:8687: result: "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" configure:8716: checking Compact version of C preprocessor configure:8718: result: "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" configure:8758: Detecting support for additional compiler flags configure:8778: checking whether C compiler accepts -Qunused-arguments configure:8797: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Werror -Qunused-arguments -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 sparc-linux-gcc.br_real: error: unrecognized command-line option '-Qunused-arguments' configure:8797: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:8810: result: no configure:8897: checking whether C++ compiler accepts -Qunused-arguments configure:8916: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Werror -Qunused-arguments -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 sparc-linux-g++.br_real: error: unrecognized command-line option '-Qunused-arguments' configure:8916: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:8929: result: no configure:9025: checking whether C compiler accepts -Wno-reserved-identifier configure:9044: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Werror -Wno-reserved-identifier -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9044: $? = 0 configure:9057: result: yes configure:9077: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:9090: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:9090: $? = 0 configure:9144: checking whether C++ compiler accepts -Wno-reserved-identifier configure:9163: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Werror -Wno-reserved-identifier -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:9163: $? = 0 configure:9176: result: yes configure:9196: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:9209: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.cpp >&5 configure:9209: $? = 0 configure:9507: NOT checking for options to request colorized compiler output (pass --enable-Wcolor for that) configure:9527: checking whether C compiler accepts -Wno-unknown-warning-option configure:9559: result: no configure:9646: checking whether C++ compiler accepts -Wno-unknown-warning-option configure:9678: result: no configure:9797: checking whether C compiler accepts -std=gnu99 configure:9816: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -Werror -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9816: $? = 0 configure:9828: result: yes configure:9831: Defaulting C standard support to GNU C99 on a GCC or CLANG compatible compiler configure:9863: checking whether C++ compiler accepts -std=gnu++11 configure:9882: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -Werror -std=gnu++11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:9882: $? = 0 configure:9894: result: yes configure:9897: Defaulting C++ standard support to GNU C++11 on a GCC or CLANG compatible compiler configure:9945: checking for pragma GCC diagnostic push and pop (outside functions) configure:9964: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9964: $? = 0 configure:9973: result: yes configure:9976: checking for pragma clang diagnostic push and pop (outside functions) configure:9997: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:38: error: ignoring '#pragma clang diagnostic' [-Werror=unknown-pragmas] 38 | #pragma clang diagnostic push | conftest.c:39: error: ignoring '#pragma clang diagnostic' [-Werror=unknown-pragmas] 39 | #pragma clang diagnostic pop | cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:9997: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | /* end confdefs.h. */ | | #ifdef __clang__ | #endif | #pragma clang diagnostic push | #pragma clang diagnostic pop | | int | main () | { | | ; | return 0; | } configure:10006: result: no configure:10010: checking for pragma GCC diagnostic push and pop (inside functions) configure:10030: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10030: $? = 0 configure:10039: result: yes configure:10042: checking for pragma clang diagnostic push and pop (inside functions) configure:10064: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:38: error: ignoring '#pragma clang diagnostic' [-Werror=unknown-pragmas] 38 | #pragma clang diagnostic push | conftest.c:39: error: ignoring '#pragma clang diagnostic' [-Werror=unknown-pragmas] 39 | #pragma clang diagnostic pop | conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:10064: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | /* end confdefs.h. */ | void func(void) { | #ifdef __clang__ | #endif | #pragma clang diagnostic push | #pragma clang diagnostic pop | } | | int | main () | { | | ; | return 0; | } configure:10073: result: no configure:10200: checking for pragma GCC diagnostic ignored "-Wunused-function" configure:10219: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10219: $? = 0 configure:10228: result: yes configure:10238: checking for pragma GCC diagnostic ignored "-Wdeprecated-declarations" configure:10257: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10257: $? = 0 configure:10266: result: yes configure:10276: checking for pragma GCC diagnostic ignored "-Wformat-nonliteral" configure:10295: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10295: $? = 0 configure:10304: result: yes configure:10314: checking for pragma GCC diagnostic ignored "-Wformat-nonliteral" (outside functions) configure:10330: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10330: $? = 0 configure:10339: result: yes configure:10349: checking for pragma GCC diagnostic ignored "-Wformat-security" configure:10368: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10368: $? = 0 configure:10377: result: yes configure:10387: checking for pragma GCC diagnostic ignored "-Wformat-security" (outside functions) configure:10403: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10403: $? = 0 configure:10412: result: yes configure:10422: checking for pragma GCC diagnostic ignored "-Wformat-truncation" configure:10441: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10441: $? = 0 configure:10450: result: yes configure:10460: checking for pragma GCC diagnostic ignored "-Wformat-truncation" (outside functions) configure:10476: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10476: $? = 0 configure:10485: result: yes configure:10495: checking for pragma GCC diagnostic ignored "-Wstringop-truncation" configure:10514: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10514: $? = 0 configure:10523: result: yes configure:10533: checking for pragma GCC diagnostic ignored "-Wstringop-truncation" (outside functions) configure:10549: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10549: $? = 0 configure:10558: result: yes configure:10568: checking for pragma GCC diagnostic ignored "-Wtype-limits" configure:10587: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10587: $? = 0 configure:10596: result: yes configure:10606: checking for pragma GCC diagnostic ignored "-Wtype-limits" (outside functions) configure:10622: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10622: $? = 0 configure:10631: result: yes configure:10641: checking for pragma GCC diagnostic ignored "-Warray-bounds" configure:10660: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10660: $? = 0 configure:10669: result: yes configure:10679: checking for pragma GCC diagnostic ignored "-Warray-bounds" (outside functions) configure:10695: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10695: $? = 0 configure:10704: result: yes configure:10714: checking for pragma GCC diagnostic ignored "-Wtautological-type-limit-compare" configure:10733: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:53:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wtautological-compare'? [-Werror=pragmas] 53 | #pragma GCC diagnostic ignored "-Wtautological-type-limit-compare" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:10733: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wtautological-type-limit-compare" | } | | int | main () | { | | ; | return 0; | } configure:10742: result: no configure:10752: checking for pragma GCC diagnostic ignored "-Wtautological-type-limit-compare" (outside functions) configure:10768: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:52:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wtautological-compare'? [-Werror=pragmas] 52 | #pragma GCC diagnostic ignored "-Wtautological-type-limit-compare" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:10768: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wtautological-type-limit-compare" | int | main () | { | | ; | return 0; | } configure:10777: result: no configure:10787: checking for pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" configure:10806: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:53:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 53 | #pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:10806: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" | } | | int | main () | { | | ; | return 0; | } configure:10815: result: no configure:10825: checking for pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" (outside functions) configure:10841: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:52:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 52 | #pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:10841: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" | int | main () | { | | ; | return 0; | } configure:10850: result: no configure:10860: checking for pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare" configure:10879: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:53:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 53 | #pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:10879: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare" | } | | int | main () | { | | ; | return 0; | } configure:10888: result: no configure:10898: checking for pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare" (outside functions) configure:10914: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:52:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 52 | #pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:10914: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare" | int | main () | { | | ; | return 0; | } configure:10923: result: no configure:10933: checking for pragma GCC diagnostic ignored "-Wtautological-compare" configure:10952: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10952: $? = 0 configure:10961: result: yes configure:10971: checking for pragma GCC diagnostic ignored "-Wtautological-compare" (outside functions) configure:10987: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10987: $? = 0 configure:10996: result: yes configure:11006: checking for pragma GCC diagnostic ignored "-Wsign-compare" configure:11025: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11025: $? = 0 configure:11034: result: yes configure:11044: checking for pragma GCC diagnostic ignored "-Wsign-compare" (outside functions) configure:11060: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11060: $? = 0 configure:11069: result: yes configure:11079: checking for pragma GCC diagnostic ignored "-Wsign-conversion" configure:11098: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11098: $? = 0 configure:11107: result: yes configure:11117: checking for pragma GCC diagnostic ignored "-Wsign-conversion" (outside functions) configure:11133: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11133: $? = 0 configure:11142: result: yes configure:11152: checking for pragma GCC diagnostic ignored "-Wunreachable-code-break" configure:11171: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:59:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wunreachable-code'? [-Werror=pragmas] 59 | #pragma GCC diagnostic ignored "-Wunreachable-code-break" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11171: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wunreachable-code-break" | } | | int | main () | { | | ; | return 0; | } configure:11180: result: no configure:11190: checking for pragma GCC diagnostic ignored "-Wunreachable-code-break" (outside functions) configure:11206: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:58:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wunreachable-code'? [-Werror=pragmas] 58 | #pragma GCC diagnostic ignored "-Wunreachable-code-break" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11206: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wunreachable-code-break" | int | main () | { | | ; | return 0; | } configure:11215: result: no configure:11225: checking for pragma GCC diagnostic ignored "-Wunreachable-code-return" configure:11244: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:59:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wunreachable-code'? [-Werror=pragmas] 59 | #pragma GCC diagnostic ignored "-Wunreachable-code-return" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11244: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wunreachable-code-return" | } | | int | main () | { | | ; | return 0; | } configure:11253: result: no configure:11263: checking for pragma GCC diagnostic ignored "-Wunreachable-code-return" (outside functions) configure:11279: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:58:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wunreachable-code'? [-Werror=pragmas] 58 | #pragma GCC diagnostic ignored "-Wunreachable-code-return" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11279: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wunreachable-code-return" | int | main () | { | | ; | return 0; | } configure:11288: result: no configure:11298: checking for pragma GCC diagnostic ignored "-Wunreachable-code" configure:11317: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11317: $? = 0 configure:11326: result: yes configure:11336: checking for pragma GCC diagnostic ignored "-Wunreachable-code" (outside functions) configure:11352: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11352: $? = 0 configure:11361: result: yes configure:11371: checking for pragma GCC diagnostic ignored "-Wformat-overflow" configure:11390: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11390: $? = 0 configure:11399: result: yes configure:11409: checking for pragma GCC diagnostic ignored "-Wformat-overflow" (outside functions) configure:11425: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11425: $? = 0 configure:11434: result: yes configure:11444: checking for pragma GCC diagnostic ignored "-Wcovered-switch-default" configure:11463: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:63:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wno-switch-default'? [-Werror=pragmas] 63 | #pragma GCC diagnostic ignored "-Wcovered-switch-default" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11463: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wcovered-switch-default" | } | | int | main () | { | | ; | return 0; | } configure:11472: result: no configure:11482: checking for pragma GCC diagnostic ignored "-Wcovered-switch-default" (outside functions) configure:11498: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:62:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wno-switch-default'? [-Werror=pragmas] 62 | #pragma GCC diagnostic ignored "-Wcovered-switch-default" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11498: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wcovered-switch-default" | int | main () | { | | ; | return 0; | } configure:11507: result: no configure:11517: checking for pragma GCC diagnostic ignored "-Wextra-semi-stmt" configure:11536: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:63:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wextra-semi'? [-Werror=pragmas] 63 | #pragma GCC diagnostic ignored "-Wextra-semi-stmt" | ^~~~~~~~~~~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11536: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wextra-semi-stmt" | } | | int | main () | { | | ; | return 0; | } configure:11545: result: no configure:11555: checking for pragma GCC diagnostic ignored "-Wextra-semi-stmt" (outside functions) configure:11571: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:62:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wextra-semi'? [-Werror=pragmas] 62 | #pragma GCC diagnostic ignored "-Wextra-semi-stmt" | ^~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11571: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wextra-semi-stmt" | int | main () | { | | ; | return 0; | } configure:11580: result: no configure:11590: checking for pragma GCC diagnostic ignored "-Wcast-align" configure:11609: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11609: $? = 0 configure:11618: result: yes configure:11628: checking for pragma GCC diagnostic ignored "-Wcast-align" (outside functions) configure:11644: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11644: $? = 0 configure:11653: result: yes configure:11663: checking for pragma GCC diagnostic ignored "-Wcast-function-type-strict" configure:11682: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:65:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wcast-function-type'? [-Werror=pragmas] 65 | #pragma GCC diagnostic ignored "-Wcast-function-type-strict" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11682: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wcast-function-type-strict" | } | | int | main () | { | | ; | return 0; | } configure:11691: result: no configure:11701: checking for pragma GCC diagnostic ignored "-Wcast-function-type-strict" (outside functions) configure:11717: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:64:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wcast-function-type'? [-Werror=pragmas] 64 | #pragma GCC diagnostic ignored "-Wcast-function-type-strict" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11717: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wcast-function-type-strict" | int | main () | { | | ; | return 0; | } configure:11726: result: no configure:11736: checking for pragma GCC diagnostic ignored "-Wstrict-prototypes" configure:11755: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11755: $? = 0 configure:11764: result: yes configure:11774: checking for pragma GCC diagnostic ignored "-Wstrict-prototypes" (outside functions) configure:11790: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11790: $? = 0 configure:11799: result: yes configure:11809: checking for pragma GCC diagnostic ignored "-Wassign-enum" configure:11828: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:67:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 67 | #pragma GCC diagnostic ignored "-Wassign-enum" | ^~~~~~~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11828: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wassign-enum" | } | | int | main () | { | | ; | return 0; | } configure:11837: result: no configure:11847: checking for pragma GCC diagnostic ignored "-Wassign-enum" (outside functions) configure:11863: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:66:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 66 | #pragma GCC diagnostic ignored "-Wassign-enum" | ^~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:11863: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wassign-enum" | int | main () | { | | ; | return 0; | } configure:11872: result: no configure:11896: checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat-pedantic" configure:11915: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp: In function 'void func()': conftest.cpp:67:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 67 | #pragma GCC diagnostic ignored "-Wc++98-compat-pedantic" | ^~~~~~~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors configure:11915: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wc++98-compat-pedantic" | } | | int | main () | { | | ; | return 0; | } configure:11924: result: no configure:11934: checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat-pedantic" (outside functions) configure:11950: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:66:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 66 | #pragma GCC diagnostic ignored "-Wc++98-compat-pedantic" | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors configure:11950: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wc++98-compat-pedantic" | int | main () | { | | ; | return 0; | } configure:11959: result: no configure:11969: checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat" configure:11988: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp: In function 'void func()': conftest.cpp:67:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wc++-compat'? [-Werror=pragmas] 67 | #pragma GCC diagnostic ignored "-Wc++98-compat" | ^~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors configure:11988: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wc++98-compat" | } | | int | main () | { | | ; | return 0; | } configure:11997: result: no configure:12007: checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat" (outside functions) configure:12023: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:66:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-Wc++-compat'? [-Werror=pragmas] 66 | #pragma GCC diagnostic ignored "-Wc++98-compat" | ^~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors configure:12023: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wc++98-compat" | int | main () | { | | ; | return 0; | } configure:12032: result: no configure:12042: checking for C++ pragma GCC diagnostic ignored "-Wglobal-constructors" configure:12061: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp: In function 'void func()': conftest.cpp:67:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-felide-constructors'? [-Werror=pragmas] 67 | #pragma GCC diagnostic ignored "-Wglobal-constructors" | ^~~~~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors configure:12061: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wglobal-constructors" | } | | int | main () | { | | ; | return 0; | } configure:12070: result: no configure:12080: checking for C++ pragma GCC diagnostic ignored "-Wglobal-constructors" (outside functions) configure:12096: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:66:32: error: unknown option after '#pragma GCC diagnostic' kind; did you mean '-felide-constructors'? [-Werror=pragmas] 66 | #pragma GCC diagnostic ignored "-Wglobal-constructors" | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors configure:12096: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wglobal-constructors" | int | main () | { | | ; | return 0; | } configure:12105: result: no configure:12115: checking for C++ pragma GCC diagnostic ignored "-Wexit-time-destructors" configure:12134: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp: In function 'void func()': conftest.cpp:67:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 67 | #pragma GCC diagnostic ignored "-Wexit-time-destructors" | ^~~~~~~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors configure:12134: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-Wexit-time-destructors" | } | | int | main () | { | | ; | return 0; | } configure:12143: result: no configure:12153: checking for C++ pragma GCC diagnostic ignored "-Wexit-time-destructors" (outside functions) configure:12169: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:66:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 66 | #pragma GCC diagnostic ignored "-Wexit-time-destructors" | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors configure:12169: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-Wexit-time-destructors" | int | main () | { | | ; | return 0; | } configure:12178: result: no configure:12261: checking for pragma BOGUSforTest configure:12280: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:73: error: ignoring '#pragma BOGUSforTest ' [-Werror=unknown-pragmas] 73 | #pragma BOGUSforTest | conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:12280: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma BOGUSforTest | } | | int | main () | { | | ; | return 0; | } configure:12289: result: no configure:12292: checking for pragma BOGUSforTest (outside functions) configure:12308: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:72: error: ignoring '#pragma BOGUSforTest ' [-Werror=unknown-pragmas] 72 | #pragma BOGUSforTest | cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:12308: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma BOGUSforTest | int | main () | { | | ; | return 0; | } configure:12317: result: no configure:12320: checking for pragma GCC diagnostic ignored "-WBOGUSforTest" configure:12339: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'func': conftest.c:73:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 73 | #pragma GCC diagnostic ignored "-WBOGUSforTest" | ^~~~~~~~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:12339: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | /* end confdefs.h. */ | void func(void) { | #pragma GCC diagnostic ignored "-WBOGUSforTest" | } | | int | main () | { | | ; | return 0; | } configure:12348: result: no configure:12351: checking for pragma GCC diagnostic ignored "-WBOGUSforTest" (outside functions) configure:12367: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Wextra -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:72:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] 72 | #pragma GCC diagnostic ignored "-WBOGUSforTest" | ^~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:12367: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | /* end confdefs.h. */ | #pragma GCC diagnostic ignored "-WBOGUSforTest" | int | main () | { | | ; | return 0; | } configure:12376: result: no configure:12410: checking for __attribute__((unused)) for function arguments configure:12432: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12432: $? = 0 configure:12441: result: yes configure:12444: checking for __attribute__((unused)) for functions configure:12466: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12466: $? = 0 configure:12475: result: yes configure:12478: checking for __attribute__((noreturn)) configure:12500: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12500: $? = 0 configure:12509: result: yes configure:12518: checking for at least some __attribute__ support configure:12533: result: yes configure:12576: checking for practical support to printf("%s", NULL) configure:12711: result: yes configure:12762: checking for sys/time.h configure:12762: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12762: $? = 0 configure:12762: result: yes configure:12762: checking for time.h configure:12762: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12762: $? = 0 configure:12762: result: yes configure:12762: checking for sys/types.h configure:12762: result: yes configure:12762: checking for sys/socket.h configure:12762: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12762: $? = 0 configure:12762: result: yes configure:12762: checking for netdb.h configure:12762: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12762: $? = 0 configure:12762: result: yes configure:12794: checking for flock configure:12794: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:12794: $? = 0 configure:12794: result: yes configure:12794: checking for lockf configure:12794: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:12794: $? = 0 configure:12794: result: yes configure:12794: checking for fcvt configure:12794: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccKnMSFp.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `fcvt' collect2: error: ld returned 1 exit status configure:12794: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | /* end confdefs.h. */ | /* Define fcvt to an innocuous variant, in case declares fcvt. | For example, HP-UX 11i declares gettimeofday. */ | #define fcvt innocuous_fcvt | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char fcvt (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef fcvt | | /* 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 fcvt (); | /* 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_fcvt || defined __stub___fcvt | choke me | #endif | | int | main () | { | return fcvt (); | ; | return 0; | } configure:12794: result: no configure:12794: checking for fcvtl configure:12794: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/cckDPGHL.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `fcvtl' collect2: error: ld returned 1 exit status configure:12794: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | /* end confdefs.h. */ | /* Define fcvtl to an innocuous variant, in case declares fcvtl. | For example, HP-UX 11i declares gettimeofday. */ | #define fcvtl innocuous_fcvtl | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char fcvtl (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef fcvtl | | /* 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 fcvtl (); | /* 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_fcvtl || defined __stub___fcvtl | choke me | #endif | | int | main () | { | return fcvtl (); | ; | return 0; | } configure:12794: result: no configure:12794: checking for dup configure:12794: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:12794: $? = 0 configure:12794: result: yes configure:12794: checking for dup2 configure:12794: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:12794: $? = 0 configure:12794: result: yes configure:12794: checking for abs_val configure:12794: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/cc15IUy0.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `abs_val' collect2: error: ld returned 1 exit status configure:12794: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | /* end confdefs.h. */ | /* Define abs_val to an innocuous variant, in case declares abs_val. | For example, HP-UX 11i declares gettimeofday. */ | #define abs_val innocuous_abs_val | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char abs_val (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef abs_val | | /* 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 abs_val (); | /* 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_abs_val || defined __stub___abs_val | choke me | #endif | | int | main () | { | return abs_val (); | ; | return 0; | } configure:12794: result: no configure:12794: checking for abs configure:12794: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 conftest.c:110:6: warning: conflicting types for built-in function 'abs'; expected 'int(int)' [-Wbuiltin-declaration-mismatch] 110 | char abs (); | ^~~ conftest.c:98:1: note: 'abs' is declared in header '' 97 | # include 98 | #else cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:12794: $? = 0 configure:12794: result: yes configure:12804: checking float.h usability configure:12804: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12804: $? = 0 configure:12804: result: yes configure:12804: checking float.h presence configure:12804: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:12804: $? = 0 configure:12804: result: yes configure:12804: checking for float.h configure:12804: result: yes configure:12812: checking math.h usability configure:12812: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12812: $? = 0 configure:12812: result: yes configure:12812: checking math.h presence configure:12812: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:12812: $? = 0 configure:12812: result: yes configure:12812: checking for math.h configure:12812: result: yes configure:12821: checking whether fabs is declared configure:12821: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12821: $? = 0 configure:12821: result: yes configure:12838: checking whether fabsf is declared configure:12838: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12838: $? = 0 configure:12838: result: yes configure:12855: checking whether fabsl is declared configure:12855: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12855: $? = 0 configure:12855: result: yes configure:12872: checking whether pow10 is declared configure:12872: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12872: $? = 0 configure:12872: result: yes configure:12889: checking whether round is declared configure:12889: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12889: $? = 0 configure:12889: result: yes configure:12908: checking limits.h usability configure:12908: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12908: $? = 0 configure:12908: result: yes configure:12908: checking limits.h presence configure:12908: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:12908: $? = 0 configure:12908: result: yes configure:12908: checking for limits.h configure:12908: result: yes configure:12917: checking for stdlib.h configure:12917: result: yes configure:12926: checking whether realpath is declared configure:12926: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12926: $? = 0 configure:12926: result: yes configure:12945: checking signal.h usability configure:12945: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12945: $? = 0 configure:12945: result: yes configure:12945: checking signal.h presence configure:12945: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:12945: $? = 0 configure:12945: result: yes configure:12945: checking for signal.h configure:12945: result: yes configure:12954: checking sys/signal.h usability configure:12954: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12954: $? = 0 configure:12954: result: yes configure:12954: checking sys/signal.h presence configure:12954: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:12954: $? = 0 configure:12954: result: yes configure:12954: checking for sys/signal.h configure:12954: result: yes configure:12963: checking sys/resource.h usability configure:12963: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12963: $? = 0 configure:12963: result: yes configure:12963: checking sys/resource.h presence configure:12963: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:12963: $? = 0 configure:12963: result: yes configure:12963: checking for sys/resource.h configure:12963: result: yes configure:12965: checking for struct rlimit and getrlimit() configure:12991: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12991: $? = 0 configure:12995: result: ok configure:13016: checking poll.h usability configure:13016: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13016: $? = 0 configure:13016: result: yes configure:13016: checking poll.h presence configure:13016: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:13016: $? = 0 configure:13016: result: yes configure:13016: checking for poll.h configure:13016: result: yes configure:13026: checking semaphore.h usability configure:13026: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13026: $? = 0 configure:13026: result: yes configure:13026: checking semaphore.h presence configure:13026: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:13026: $? = 0 configure:13026: result: yes configure:13026: checking for semaphore.h configure:13026: result: yes configure:13031: checking for sem_t, sem_init() and sem_destroy() configure:13058: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13058: $? = 0 configure:13062: result: ok configure:13066: checking for sem_init in -lrt configure:13091: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lrt >&5 configure:13091: $? = 0 configure:13100: result: yes configure:13136: checking for cfsetispeed configure:13136: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13136: $? = 0 configure:13136: result: yes configure:13136: checking for tcsendbreak configure:13136: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13136: $? = 0 configure:13136: result: yes configure:13148: checking for seteuid configure:13148: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13148: $? = 0 configure:13148: result: yes configure:13148: checking for setsid configure:13148: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13148: $? = 0 configure:13148: result: yes configure:13148: checking for getpassphrase configure:13148: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccQfGv6e.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `getpassphrase' collect2: error: ld returned 1 exit status configure:13148: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | /* end confdefs.h. */ | /* Define getpassphrase to an innocuous variant, in case declares getpassphrase. | For example, HP-UX 11i declares gettimeofday. */ | #define getpassphrase innocuous_getpassphrase | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getpassphrase (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getpassphrase | | /* 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 getpassphrase (); | /* 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_getpassphrase || defined __stub___getpassphrase | choke me | #endif | | int | main () | { | return getpassphrase (); | ; | return 0; | } configure:13148: result: no configure:13160: checking for on_exit configure:13160: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13160: $? = 0 configure:13160: result: yes configure:13160: checking for setlogmask configure:13160: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13160: $? = 0 configure:13160: result: yes configure:13169: checking whether LOG_UPTO is declared configure:13169: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13169: $? = 0 configure:13169: result: yes configure:13188: ----------------------------------------------------------------------- The next few tests look for required C library routines; if something is not found, you may need to enable a different C standard or extension macro version. You may also have to configure without extreme warning levels since autotools tests fail those on their own and assume system lacks stuff (although note we try to not involve standard -W* flags here). ----------------------------------------------------------------------- configure:13199: checking for strtok_r configure:13199: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13199: $? = 0 configure:13199: result: yes configure:13199: checking for fileno configure:13199: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13199: $? = 0 configure:13199: result: yes configure:13199: checking for sigemptyset configure:13199: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13199: $? = 0 configure:13199: result: yes configure:13199: checking for sigaction configure:13199: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13199: $? = 0 configure:13199: result: yes configure:13215: checking for localtime_r configure:13215: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13215: $? = 0 configure:13215: result: yes configure:13215: checking for localtime_s configure:13215: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccenCOfR.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `localtime_s' collect2: error: ld returned 1 exit status configure:13215: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | /* end confdefs.h. */ | /* Define localtime_s to an innocuous variant, in case declares localtime_s. | For example, HP-UX 11i declares gettimeofday. */ | #define localtime_s innocuous_localtime_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char localtime_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef localtime_s | | /* 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 localtime_s (); | /* 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_localtime_s || defined __stub___localtime_s | choke me | #endif | | int | main () | { | return localtime_s (); | ; | return 0; | } configure:13215: result: no configure:13215: checking for gmtime_r configure:13215: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13215: $? = 0 configure:13215: result: yes configure:13215: checking for gmtime_s configure:13215: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccK2NVIN.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `gmtime_s' collect2: error: ld returned 1 exit status configure:13215: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | /* end confdefs.h. */ | /* Define gmtime_s to an innocuous variant, in case declares gmtime_s. | For example, HP-UX 11i declares gettimeofday. */ | #define gmtime_s innocuous_gmtime_s | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char gmtime_s (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef gmtime_s | | /* 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 gmtime_s (); | /* 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_gmtime_s || defined __stub___gmtime_s | choke me | #endif | | int | main () | { | return gmtime_s (); | ; | return 0; | } configure:13215: result: no configure:13215: checking for timegm configure:13215: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13215: $? = 0 configure:13215: result: yes configure:13215: checking for _mkgmtime configure:13215: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccDn9D0B.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `_mkgmtime' collect2: error: ld returned 1 exit status configure:13215: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | /* end confdefs.h. */ | /* Define _mkgmtime to an innocuous variant, in case declares _mkgmtime. | For example, HP-UX 11i declares gettimeofday. */ | #define _mkgmtime innocuous__mkgmtime | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _mkgmtime (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _mkgmtime | | /* 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 _mkgmtime (); | /* 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__mkgmtime || defined __stub____mkgmtime | choke me | #endif | | int | main () | { | return _mkgmtime (); | ; | return 0; | } configure:13215: result: no configure:13225: checking for at least one gmtime implementation configure:13236: result: yes configure:13241: checking for at least one localtime implementation configure:13252: result: yes configure:13257: checking for at least one timegm implementation configure:13268: result: yes configure:13280: checking for string.h configure:13280: result: yes configure:13289: checking for strings.h configure:13289: result: yes configure:13305: checking for strcasecmp(s1,s2) configure:13375: result: yes configure:13387: checking for strncasecmp(s1,s2,n) configure:13457: result: yes configure:13469: checking for strlwr(s) configure:13490: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:13503: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 conftest.c: In function 'main': conftest.c:131:39: error: implicit declaration of function 'strlwr'; did you mean 'strlen'? [-Werror=implicit-function-declaration] 131 | char s[64] = {"Some STR1 text"} ; if (strlwr(s) == NULL) return 1 | ^~~~~~ | strlen conftest.c:131:49: error: comparison between pointer and integer [-Werror] 131 | char s[64] = {"Some STR1 text"} ; if (strlwr(s) == NULL) return 1 | ^~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors configure:13503: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | /* end confdefs.h. */ | #ifdef HAVE_STRING_H | #include | #endif | #ifdef HAVE_STRINGS_H | #include | #endif | int | main () | { | char s[64] = {"Some STR1 text"} ; if (strlwr(s) == NULL) return 1 | ; | return 0; | } configure:13539: result: no configure:13546: WARNING: Optional C library routine strlwr not found configure:13551: checking for strsep(s1,s2) configure:13572: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:13585: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13585: $? = 0 configure:13621: result: yes configure:13641: checking for strstr(s1,s2) configure:13662: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:13675: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13675: $? = 0 configure:13711: result: yes configure:13722: checking for strcasestr(s1,s2) configure:13743: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:13756: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13756: $? = 0 configure:13792: result: yes configure:13808: checking for strptime(s1,s2,tm) configure:13829: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:13856: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13856: $? = 0 configure:13906: result: yes configure:13926: checking for clock_gettime(CLOCK_MONOTONIC,ts) configure:13947: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:13973: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:13973: $? = 0 configure:14022: result: yes configure:14053: checking for strnlen(s1,s2,tm) configure:14074: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:14094: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:14094: $? = 0 configure:14137: result: yes configure:14157: checking for strdup(s) configure:14245: result: yes configure:14257: checking sys/select.h usability configure:14257: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14257: $? = 0 configure:14257: result: yes configure:14257: checking sys/select.h presence configure:14257: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14257: $? = 0 configure:14257: result: yes configure:14257: checking for sys/select.h configure:14257: result: yes configure:14266: checking for suseconds_t configure:14294: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14294: $? = 0 configure:14302: result: yes configure:14314: checking for useconds_t configure:14336: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14336: $? = 0 configure:14344: result: yes configure:14356: checking for usleep(us) configure:14376: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14376: $? = 0 configure:14384: result: yes configure:14404: checking whether ln -sr works configure:14437: result: yes configure:14445: checking for unsigned long long int configure:14484: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:14484: $? = 0 configure:14493: result: yes configure:14504: checking for vsnprintf configure:14504: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 conftest.c:158:6: warning: conflicting types for built-in function 'vsnprintf'; expected 'int(char *, unsigned int, const char *, void *)' [-Wbuiltin-declaration-mismatch] 158 | char vsnprintf (); | ^~~~~~~~~ conftest.c:146:1: note: 'vsnprintf' is declared in header '' 145 | # include 146 | #else cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:14504: $? = 0 configure:14504: result: yes configure:14504: checking for snprintf configure:14504: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 conftest.c:159:6: warning: conflicting types for built-in function 'snprintf'; expected 'int(char *, unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 159 | char snprintf (); | ^~~~~~~~ conftest.c:147:1: note: 'snprintf' is declared in header '' 146 | # include 147 | #else cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:14504: $? = 0 configure:14504: result: yes configure:14625: checking for setenv configure:14625: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:14625: $? = 0 configure:14625: result: yes configure:14638: checking for strerror configure:14638: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:14638: $? = 0 configure:14638: result: yes configure:14651: checking for atexit configure:14651: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:14651: $? = 0 configure:14651: result: yes configure:14678: checking whether optind is declared configure:14678: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14678: $? = 0 configure:14678: result: yes configure:14722: checking for getopt.h configure:14722: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14722: $? = 0 configure:14722: result: yes configure:14746: checking for getopt_long configure:14746: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:14746: $? = 0 configure:14746: result: yes configure:14756: checking whether uu_lock is declared configure:14756: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:146:10: fatal error: libutil.h: No such file or directory 146 | #include | ^~~~~~~~~~~ compilation terminated. configure:14756: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | /* end confdefs.h. */ | | #include | #include | | | int | main () | { | #ifndef uu_lock | #ifdef __cplusplus | (void) uu_lock; | #else | (void) uu_lock; | #endif | #endif | | ; | return 0; | } configure:14756: result: no configure:14785: checking whether __func__ is declared configure:14785: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14785: $? = 0 configure:14785: result: yes configure:14829: checking for library containing gethostbyname configure:14860: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:14860: $? = 0 configure:14877: result: none required configure:14885: checking for library containing connect configure:14916: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:14916: $? = 0 configure:14933: result: none required configure:14945: checking for sys/modem.h configure:14945: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:180:10: fatal error: sys/modem.h: No such file or directory 180 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14945: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 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:14945: result: no configure:14945: checking for stdarg.h configure:14945: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14945: $? = 0 configure:14945: result: yes configure:14945: checking for varargs.h configure:14945: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:181: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/include/varargs.h:4:2: error: #error "GCC no longer implements ." 4 | #error "GCC no longer implements ." | ^~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/include/varargs.h:5:2: error: #error "Revise your code to use ." 5 | #error "Revise your code to use ." | ^~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:14945: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_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:14945: result: no configure:14958: checking for library containing pthread_create configure:14989: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:14989: $? = 0 configure:15006: result: none required configure:15014: checking for library containing pthread_tryjoin_np configure:15045: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:15045: $? = 0 configure:15062: result: none required configure:15077: checking for windows.h configure:15116: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:155:10: fatal error: windows.h: No such file or directory 155 | #include | ^~~~~~~~~~~ compilation terminated. configure:15116: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | /* end confdefs.h. */ | | | #undef inline | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | | int | main () | { | | #if defined(__CYGWIN__) || defined(__CEGCC__) | HAVE_WINDOWS_H shall not be defined. | #else | int dummy=2*WINVER; | #endif | | ; | return 0; | } | configure:15137: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -I/usr/include/w32api -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/w32api' configure:15137: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | /* end confdefs.h. */ | | | #undef inline | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | | int | main () | { | | #if defined(__CYGWIN__) || defined(__CEGCC__) | HAVE_WINDOWS_H shall not be defined. | #else | int dummy=2*WINVER; | #endif | | ; | return 0; | } | configure:15159: result: no configure:15180: checking for winsock2.h configure:15218: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:155:10: fatal error: windows.h: No such file or directory 155 | #include | ^~~~~~~~~~~ compilation terminated. configure:15218: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | /* end confdefs.h. */ | | | #undef inline | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #include | | int | main () | { | | #if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) | HAVE_WINSOCK2_H shall not be defined. | #else | int dummy=2*IPPROTO_ESP; | #endif | | ; | return 0; | } | configure:15236: result: no configure:15257: checking for ws2tcpip.h configure:15296: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:155:10: fatal error: windows.h: No such file or directory 155 | #include | ^~~~~~~~~~~ compilation terminated. configure:15296: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | /* end confdefs.h. */ | | | #undef inline | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #include | #include | | int | main () | { | | #if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__) | HAVE_WS2TCPIP_H shall not be defined. | #else | int dummy=2*IP_PKTINFO; | #endif | | ; | return 0; | } | configure:15314: result: no configure:15415: checking for socklen_t configure:15415: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15415: $? = 0 configure:15415: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:186:24: error: expected expression before ')' token 186 | if (sizeof ((socklen_t))) | ^ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:15415: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | /* end confdefs.h. */ | | #undef inline | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | # undef _WIN32_WINNT | # define _WIN32_WINNT 0x0501 | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # ifdef HAVE_WS2TCPIP_H | # include | # endif | # endif | # define GNICALLCONV WSAAPI | # define GNICALLLINK WINSOCK_API_LINKAGE | #else | # ifdef HAVE_SYS_TYPES_H | # include | # endif | # ifdef HAVE_SYS_SOCKET_H | # include | # endif | # ifdef HAVE_NETDB_H | # include | # endif | # define GNICALLCONV | # define GNICALLLINK | #endif | | | int | main () | { | if (sizeof ((socklen_t))) | return 0; | ; | return 0; | } configure:15415: result: yes configure:15599: checking for sys/types.h configure:15599: result: yes configure:15599: checking for sys/socket.h configure:15599: result: yes configure:15599: checking for netdb.h configure:15599: result: yes configure:15615: checking types of arguments for getnameinfo configure:15679: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:183:40: error: conflicting types for 'getnameinfo' 183 | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t, | ^~~~~~~~~~~ In file included from conftest.c:179: /home/buildroot/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/include/netdb.h:636:12: note: previous declaration of 'getnameinfo' was here 636 | extern int getnameinfo (const struct sockaddr *__restrict __sa, | ^~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:15679: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | # undef _WIN32_WINNT | # define _WIN32_WINNT 0x0501 | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # ifdef HAVE_WS2TCPIP_H | # include | # endif | # endif | # define GNICALLCONV WSAAPI | #else | # ifdef HAVE_SYS_TYPES_H | # include | # endif | # ifdef HAVE_SYS_SOCKET_H | # include | # endif | # ifdef HAVE_NETDB_H | # include | # endif | # define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t, | char *, socklen_t, | char *, socklen_t, | int); | | int | main () | { | | socklen_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:15679: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15679: $? = 0 configure:15692: result: const struct sockaddr *,socklen_t,socklen_t,unsigned int configure:15731: checking for inet_ntop() with IPv4 and IPv6 support configure:15760: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:15795: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:15795: $? = 0 configure:15861: result: yes configure:15882: checking for inet_pton() with IPv4 and IPv6 support configure:15911: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:15947: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:15947: $? = 0 configure:16014: result: yes configure:16035: checking for struct pollfd configure:16064: WARNING: Current build is a cross-build, so not running test binaries, just linking them configure:16098: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Werror -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:16098: $? = 0 configure:16163: result: yes configure:16296: WARNING: A python program name without a specific version number was requested (may be a symlink prone to change over time): no configure:16331: checking python interpeter to call configure:16333: result: no configure:16560: checking python2 interpeter to call configure:16562: result: no configure:16789: checking python3 interpeter to call configure:16791: result: no configure:16857: checking which python version to use by default configure:16866: result: none configure:16898: checking which drivers to build configure:16951: result: all configure:17170: checking for --with-all configure:17228: result: not given configure:17585: checking for libregex version via pkg-config configure:17598: result: none found configure:17629: checking regex.h usability configure:17629: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17629: $? = 0 configure:17629: result: yes configure:17629: checking regex.h presence configure:17629: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:17629: $? = 0 configure:17629: result: yes configure:17629: checking for regex.h configure:17629: result: yes configure:17638: checking whether regexec is declared configure:17638: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17638: $? = 0 configure:17638: result: yes configure:17655: checking whether regcomp is declared configure:17655: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17655: $? = 0 configure:17655: result: yes configure:17674: checking for library containing regcomp, regexec configure:17705: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(regex.os): in function `regcomp': regex.c:(.text+0xb7b4): multiple definition of `regcomp'; /tmp/ccgX4i9z.o:(.bss+0x0): first defined here /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: disabling relaxation; it will not work with multiple definitions collect2: error: ld returned 1 exit status configure:17705: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | /* end confdefs.h. */ | | /* 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 regcomp, regexec (); | int | main () | { | return regcomp, regexec (); | ; | return 0; | } configure:17722: result: no configure:17733: checking for library containing regcomp, regexec configure:17764: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(regex.os): in function `regcomp': regex.c:(.text+0xb7b4): multiple definition of `regcomp'; /tmp/ccceNevJ.o:(.bss+0x0): first defined here /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: disabling relaxation; it will not work with multiple definitions collect2: error: ld returned 1 exit status configure:17764: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | /* end confdefs.h. */ | | /* 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 regcomp, regexec (); | int | main () | { | return regcomp, regexec (); | ; | return 0; | } configure:17764: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lregex >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: cannot find -lregex: No such file or directory /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(regex.os): in function `regcomp': regex.c:(.text+0xb7b4): multiple definition of `regcomp'; /tmp/ccyNkzBG.o:(.bss+0x0): first defined here /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: disabling relaxation; it will not work with multiple definitions collect2: error: ld returned 1 exit status configure:17764: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | /* end confdefs.h. */ | | /* 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 regcomp, regexec (); | int | main () | { | return regcomp, regexec (); | ; | return 0; | } configure:17781: result: no configure:18586: checking for libusb-1.0 version via pkg-config configure:18591: result: 1.0.27 found configure:18594: checking for libusb(-0.1) version via pkg-config configure:18599: result: none found configure:18615: checking for libusb-config configure:18633: found /usr/bin/libusb-config configure:18645: result: /usr/bin/libusb-config configure:18680: checking via /usr/bin/libusb-config configure:18685: result: 0.1.12 found configure:18731: checking for libusb preferred version configure:18771: result: 1.0.27 (libusb-1.0) configure:18806: checking for libusb cflags configure:18825: result: -I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 configure:18828: checking for libusb ldflags configure:18847: result: -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lusb-1.0 -latomic configure:18863: checking for libusb.h configure:18863: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:18863: $? = 0 configure:18863: result: yes configure:18878: checking for libusb_init configure:18878: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lusb-1.0 -latomic >&5 configure:18878: $? = 0 configure:18878: result: yes configure:18891: checking for libusb_strerror configure:18891: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lusb-1.0 -latomic >&5 configure:18891: $? = 0 configure:18891: result: yes configure:18909: checking for libusb_kernel_driver_active configure:18909: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lusb-1.0 -latomic >&5 configure:18909: $? = 0 configure:18909: result: yes configure:18920: checking for libusb_set_auto_detach_kernel_driver configure:18920: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lusb-1.0 -latomic >&5 configure:18920: $? = 0 configure:18920: result: yes configure:18931: checking for libusb_detach_kernel_driver configure:18931: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lusb-1.0 -latomic >&5 configure:18931: $? = 0 configure:18931: result: yes configure:18942: checking for libusb_detach_kernel_driver_np configure:18942: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lusb-1.0 -latomic >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccYQZJQK.o: in function `main': conftest.c:(.text+0x4): undefined reference to `libusb_detach_kernel_driver_np' collect2: error: ld returned 1 exit status configure:18942: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | /* end confdefs.h. */ | /* Define libusb_detach_kernel_driver_np to an innocuous variant, in case declares libusb_detach_kernel_driver_np. | For example, HP-UX 11i declares gettimeofday. */ | #define libusb_detach_kernel_driver_np innocuous_libusb_detach_kernel_driver_np | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char libusb_detach_kernel_driver_np (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef libusb_detach_kernel_driver_np | | /* 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 libusb_detach_kernel_driver_np (); | /* 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_libusb_detach_kernel_driver_np || defined __stub___libusb_detach_kernel_driver_np | choke me | #endif | | int | main () | { | return libusb_detach_kernel_driver_np (); | ; | return 0; | } configure:18942: result: no configure:18954: checking for usb_detach_kernel_driver_np configure:18954: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lusb-1.0 -latomic >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccOUXGzS.o: in function `main': conftest.c:(.text+0x4): undefined reference to `usb_detach_kernel_driver_np' collect2: error: ld returned 1 exit status configure:18954: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | /* end confdefs.h. */ | /* Define usb_detach_kernel_driver_np to an innocuous variant, in case declares usb_detach_kernel_driver_np. | For example, HP-UX 11i declares gettimeofday. */ | #define usb_detach_kernel_driver_np innocuous_usb_detach_kernel_driver_np | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char usb_detach_kernel_driver_np (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef usb_detach_kernel_driver_np | | /* 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 usb_detach_kernel_driver_np (); | /* 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_usb_detach_kernel_driver_np || defined __stub___usb_detach_kernel_driver_np | choke me | #endif | | int | main () | { | return usb_detach_kernel_driver_np (); | ; | return 0; | } configure:18954: result: no configure:19217: checking for libusb_get_port_number configure:19217: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lusb-1.0 -latomic >&5 configure:19217: $? = 0 configure:19217: result: yes configure:19568: checking size of void * configure:19573: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:19573: $? = 0 configure:19573: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:210:12: error: size of array 'test_array' is negative 210 | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 0)]; | ^~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:19573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 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 () | { | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:19573: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:210:12: error: size of array 'test_array' is negative 210 | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 1)]; | ^~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:19573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 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 () | { | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:19573: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:210:12: error: size of array 'test_array' is negative 210 | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 3)]; | ^~~~~~~~~~ conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:19573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 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 () | { | static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:19573: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:19573: $? = 0 configure:19573: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:19573: $? = 0 configure:19573: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:19573: $? = 0 configure:19587: result: 4 configure:19604: checking for net-snmp-config-32 configure:19637: result: no configure:19604: checking for net-snmp-config configure:19637: result: no configure:19763: checking for Net-SNMP version via pkg-config configure:19770: result: none found configure:19797: checking for Net-SNMP cflags configure:19825: result: configure:19829: checking for Net-SNMP libs configure:19862: result: configure:19868: checking for net-snmp/net-snmp-config.h configure:19868: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:209:10: fatal error: net-snmp/net-snmp-config.h: No such file or directory 209 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:19868: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 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 | | #include configure:19868: result: no configure:19883: checking for init_snmp configure:19883: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccp3yS7H.o: in function `main': conftest.c:(.text+0x4): undefined reference to `init_snmp' collect2: error: ld returned 1 exit status configure:19883: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | /* end confdefs.h. */ | /* Define init_snmp to an innocuous variant, in case declares init_snmp. | For example, HP-UX 11i declares gettimeofday. */ | #define init_snmp innocuous_init_snmp | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char init_snmp (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef init_snmp | | /* 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 init_snmp (); | /* 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_init_snmp || defined __stub___init_snmp | choke me | #endif | | int | main () | { | return init_snmp (); | ; | return 0; | } configure:19883: result: no configure:20649: checking for libneon version via pkg-config (0.25.0 minimum required) configure:20655: result: none found configure:20666: checking for libneon cflags configure:20692: result: -I/usr/include/neon -I/usr/local/include/neon configure:20695: checking for libneon ldflags configure:20721: result: -lneon configure:20726: checking for ne_xmlreq.h configure:20726: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -I/usr/include/neon -I/usr/local/include/neon -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/neon' configure:20726: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 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 | | #include configure:20726: result: no configure:20741: checking for ne_xml_dispatch_request configure:20741: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/usr/include/neon -I/usr/local/include/neon -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lneon >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/neon' configure:20741: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | /* end confdefs.h. */ | /* Define ne_xml_dispatch_request to an innocuous variant, in case declares ne_xml_dispatch_request. | For example, HP-UX 11i declares gettimeofday. */ | #define ne_xml_dispatch_request innocuous_ne_xml_dispatch_request | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char ne_xml_dispatch_request (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef ne_xml_dispatch_request | | /* 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 ne_xml_dispatch_request (); | /* 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_ne_xml_dispatch_request || defined __stub___ne_xml_dispatch_request | choke me | #endif | | int | main () | { | return ne_xml_dispatch_request (); | ; | return 0; | } configure:20741: result: no configure:21026: checking for LLNC libpowerman version via pkg-config configure:21032: result: 'none' found configure:21054: checking for libpowerman cflags configure:21071: result: configure:21074: checking for libpowerman libs configure:21091: result: configure:21096: checking for libpowerman.h configure:21096: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:209:10: fatal error: libpowerman.h: No such file or directory 209 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:21096: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 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 | | #include configure:21096: result: no configure:21111: checking for pm_connect configure:21111: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/cc88fcMT.o: in function `main': conftest.c:(.text+0x4): undefined reference to `pm_connect' collect2: error: ld returned 1 exit status configure:21111: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | /* end confdefs.h. */ | /* Define pm_connect to an innocuous variant, in case declares pm_connect. | For example, HP-UX 11i declares gettimeofday. */ | #define pm_connect innocuous_pm_connect | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char pm_connect (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef pm_connect | | /* 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 pm_connect (); | /* 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_pm_connect || defined __stub___pm_connect | choke me | #endif | | int | main () | { | return pm_connect (); | ; | return 0; | } configure:21111: result: no configure:21411: checking for libmodbus version via pkg-config configure:21417: result: none found configure:21439: checking for libmodbus cflags configure:21456: result: -I/usr/include/modbus configure:21459: checking for libmodbus ldflags configure:21476: result: -lmodbus configure:21481: checking for modbus.h configure:21481: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -I/usr/include/modbus -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/modbus' configure:21481: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 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 | | #include configure:21481: result: no configure:21496: checking for modbus_new_rtu configure:21496: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/usr/include/modbus -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lmodbus >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/modbus' configure:21496: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | /* end confdefs.h. */ | /* Define modbus_new_rtu to an innocuous variant, in case declares modbus_new_rtu. | For example, HP-UX 11i declares gettimeofday. */ | #define modbus_new_rtu innocuous_modbus_new_rtu | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char modbus_new_rtu (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef modbus_new_rtu | | /* 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 modbus_new_rtu (); | /* 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_modbus_new_rtu || defined __stub___modbus_new_rtu | choke me | #endif | | int | main () | { | return modbus_new_rtu (); | ; | return 0; | } configure:21496: result: no configure:21509: checking for modbus_new_tcp configure:21509: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/usr/include/modbus -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lmodbus >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/modbus' configure:21509: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | /* end confdefs.h. */ | /* Define modbus_new_tcp to an innocuous variant, in case declares modbus_new_tcp. | For example, HP-UX 11i declares gettimeofday. */ | #define modbus_new_tcp innocuous_modbus_new_tcp | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char modbus_new_tcp (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef modbus_new_tcp | | /* 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 modbus_new_tcp (); | /* 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_modbus_new_tcp || defined __stub___modbus_new_tcp | choke me | #endif | | int | main () | { | return modbus_new_tcp (); | ; | return 0; | } configure:21509: result: no configure:21522: checking for modbus_set_byte_timeout configure:21522: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/usr/include/modbus -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lmodbus >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/modbus' configure:21522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | /* end confdefs.h. */ | /* Define modbus_set_byte_timeout to an innocuous variant, in case declares modbus_set_byte_timeout. | For example, HP-UX 11i declares gettimeofday. */ | #define modbus_set_byte_timeout innocuous_modbus_set_byte_timeout | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char modbus_set_byte_timeout (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef modbus_set_byte_timeout | | /* 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 modbus_set_byte_timeout (); | /* 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_modbus_set_byte_timeout || defined __stub___modbus_set_byte_timeout | choke me | #endif | | int | main () | { | return modbus_set_byte_timeout (); | ; | return 0; | } configure:21522: result: no configure:21535: checking for modbus_set_response_timeout configure:21535: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/usr/include/modbus -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lmodbus >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/modbus' configure:21535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | /* end confdefs.h. */ | /* Define modbus_set_response_timeout to an innocuous variant, in case declares modbus_set_response_timeout. | For example, HP-UX 11i declares gettimeofday. */ | #define modbus_set_response_timeout innocuous_modbus_set_response_timeout | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char modbus_set_response_timeout (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef modbus_set_response_timeout | | /* 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 modbus_set_response_timeout (); | /* 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_modbus_set_response_timeout || defined __stub___modbus_set_response_timeout | choke me | #endif | | int | main () | { | return modbus_set_response_timeout (); | ; | return 0; | } configure:21535: result: no configure:21549: checking for modbus_new_rtu_usb configure:21549: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/usr/include/modbus -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lmodbus >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/modbus' configure:21549: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | /* end confdefs.h. */ | /* Define modbus_new_rtu_usb to an innocuous variant, in case declares modbus_new_rtu_usb. | For example, HP-UX 11i declares gettimeofday. */ | #define modbus_new_rtu_usb innocuous_modbus_new_rtu_usb | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char modbus_new_rtu_usb (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef modbus_new_rtu_usb | | /* 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 modbus_new_rtu_usb (); | /* 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_modbus_new_rtu_usb || defined __stub___modbus_new_rtu_usb | choke me | #endif | | int | main () | { | return modbus_new_rtu_usb (); | ; | return 0; | } configure:21549: result: no configure:24491: checking for libgpiod version via pkg-config (1.0.0 minimum required) configure:24499: result: 1.6.4 found configure:24510: checking for libgpiod cflags configure:24536: result: configure:24539: checking for libgpiod ldflags configure:24565: result: -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lgpiod configure:24570: checking for gpiod.h configure:24570: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:24570: $? = 0 configure:24570: result: yes configure:24586: checking for gpiod_chip_open_by_name configure:24586: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lgpiod >&5 configure:24586: $? = 0 configure:24586: result: yes configure:24586: checking for gpiod_chip_close configure:24586: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lgpiod >&5 configure:24586: $? = 0 configure:24586: result: yes configure:24861: checking for avahi-core version via pkg-config (0.6.30 minimum required) configure:24867: result: none found configure:24870: checking for avahi-client version via pkg-config (0.6.30 minimum required) configure:24876: result: none found configure:24885: checking for avahi cflags configure:24911: result: -I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib configure:24914: checking for avahi ldflags configure:24940: result: -lavahi-core -lavahi-client configure:24945: checking for avahi-common/malloc.h configure:24945: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/local/include' configure:24945: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 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:24945: result: no configure:24960: checking for avahi_free configure:24960: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lavahi-core -lavahi-client >&5 sparc-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/local/include' configure:24960: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | /* end confdefs.h. */ | /* Define avahi_free to an innocuous variant, in case declares avahi_free. | For example, HP-UX 11i declares gettimeofday. */ | #define avahi_free innocuous_avahi_free | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char avahi_free (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef avahi_free | | /* 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 avahi_free (); | /* 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_avahi_free || defined __stub___avahi_free | choke me | #endif | | int | main () | { | return avahi_free (); | ; | return 0; | } configure:24960: result: no configure:25079: checking for msgfmt configure:25097: found /home/buildroot/instance-0/output-1/host/bin/msgfmt configure:25109: result: /home/buildroot/instance-0/output-1/host/bin/msgfmt configure:25151: checking for sys/termios.h configure:25151: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25151: $? = 0 configure:25151: result: yes configure:25197: checking for struct termios and speed_t configure:25230: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wall -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25230: $? = 0 configure:25231: result: ok configure:25252: checking whether we can build serial drivers configure:25281: result: yes configure:25291: checking whether to build serial drivers configure:25293: result: yes configure:25355: checking whether to build USB drivers configure:25357: result: yes (libusb-1.0) configure:25410: checking whether to build neon based XML driver configure:25412: result: no configure:25473: checking whether to enable Avahi support configure:25475: result: no configure:25529: checking whether to build Powerman PDU client driver configure:25531: result: no configure:25584: checking whether to build Modbus driver configure:25586: result: no configure:25874: checking for FreeIPMI version via pkg-config configure:25880: result: 1.6.14 found configure:25902: checking for FreeIPMI cflags configure:25919: result: configure:25922: checking for FreeIPMI ldflags configure:25939: result: -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lfreeipmi -lipmimonitoring configure:25944: checking for freeipmi/freeipmi.h configure:25944: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25944: $? = 0 configure:25944: result: yes configure:25959: checking for ipmi_monitoring.h configure:25959: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25959: $? = 0 configure:25959: result: yes configure:25972: checking for library containing ipmi_ctx_create configure:26003: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lfreeipmi -lipmimonitoring >&5 configure:26003: $? = 0 configure:26020: result: none required configure:26030: checking for library containing ipmi_ctx_find_inband configure:26061: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lfreeipmi -lipmimonitoring >&5 configure:26061: $? = 0 configure:26078: result: none required configure:26089: checking for library containing ipmi_monitoring_init configure:26120: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lfreeipmi -lipmimonitoring >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o): in function `_destroy_ctx': ipmi_monitoring.c:(.text+0x74): undefined reference to `ipmi_interpret_ctx_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o): in function `_ipmi_monitoring_interpret_oem_data': ipmi_monitoring.c:(.text+0x158): undefined reference to `tmpl_cmd_get_device_id_rs' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x15c): undefined reference to `fiid_obj_create' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x160): undefined reference to `tmpl_cmd_get_device_id_rs' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x178): undefined reference to `ipmi_cmd_get_device_id' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x1a0): undefined reference to `FIID_OBJ_GET' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x1c8): undefined reference to `FIID_OBJ_GET' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x1e8): undefined reference to `ipmi_interpret_ctx_set_flags' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x200): undefined reference to `ipmi_interpret_ctx_set_manufacturer_id' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x21c): undefined reference to `ipmi_interpret_ctx_set_product_id' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x230): undefined reference to `fiid_obj_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x248): undefined reference to `ipmi_interpret_ctx_set_flags' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x2a4): undefined reference to `ipmi_interpret_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x3d0): undefined reference to `ipmi_interpret_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x470): undefined reference to `fiid_obj_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x500): undefined reference to `ipmi_interpret_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x574): undefined reference to `ipmi_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x60c): undefined reference to `ipmi_interpret_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o): in function `_ipmi_monitoring_get_sensor_reading_shared': ipmi_monitoring.c:(.text+0x664): undefined reference to `ipmi_sdr_parse_record_id_and_type' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x6a8): undefined reference to `ipmi_sdr_parse_sensor_record_sharing' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x74c): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x7f0): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o): in function `_interpret_ctx_error_convert': ipmi_monitoring.c:(.text+0x884): undefined reference to `ipmi_interpret_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x8a4): undefined reference to `ipmi_interpret_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x8c4): undefined reference to `ipmi_interpret_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x8e4): undefined reference to `ipmi_interpret_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x8f8): undefined reference to `ipmi_interpret_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o):ipmi_monitoring.c:(.text+0x90c): more undefined references to `ipmi_interpret_ctx_errnum' follow /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o): in function `_ipmi_monitoring_sensor_readings_flags_common.constprop.0': ipmi_monitoring.c:(.text+0x9b0): undefined reference to `ipmi_sensor_read_ctx_set_flags' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0xa0c): undefined reference to `ipmi_sensor_read_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o): in function `_ipmi_monitoring_sensor_readings_by_record_id': ipmi_monitoring.c:(.text+0xbb0): undefined reference to `ipmi_sdr_cache_search_record_id' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0xbd4): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0xc58): undefined reference to `ipmi_sdr_cache_iterate' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0xd64): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0xeb8): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o): in function `_ipmi_monitoring_sensor_readings_by_sensor_type': ipmi_monitoring.c:(.text+0x1354): undefined reference to `ipmi_sdr_cache_iterate' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x14c0): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o): in function `ipmi_monitoring_ctx_create': ipmi_monitoring.c:(.text+0x16a4): undefined reference to `ipmi_interpret_ctx_create' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o): in function `ipmi_monitoring_ctx_sel_config_file': ipmi_monitoring.c:(.text+0x184c): undefined reference to `ipmi_interpret_load_sel_config' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring.o): in function `ipmi_monitoring_ctx_sensor_config_file': ipmi_monitoring.c:(.text+0x18b0): undefined reference to `ipmi_interpret_load_sensor_config' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x18d4): undefined reference to `ipmi_interpret_load_sensor_config' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x18e8): undefined reference to `ipmi_interpret_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring.c:(.text+0x18fc): undefined reference to `ipmi_interpret_load_sensor_config' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_ipmi_communication.o): in function `ipmi_monitoring_ipmi_communication_init': ipmi_monitoring_ipmi_communication.c:(.text+0x10): undefined reference to `ipmi_ctx_create' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0xf8): undefined reference to `ipmi_ctx_open_inband' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x158): undefined reference to `ipmi_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x1a8): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x1bc): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x1d0): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x1e4): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x1f8): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_ipmi_communication.o):ipmi_monitoring_ipmi_communication.c:(.text+0x20c): more undefined references to `ipmi_ctx_errnum' follow /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_ipmi_communication.o): in function `ipmi_monitoring_ipmi_communication_init': ipmi_monitoring_ipmi_communication.c:(.text+0x394): undefined reference to `ipmi_ctx_find_inband' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x42c): undefined reference to `ipmi_ctx_open_outofband' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x48c): undefined reference to `ipmi_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x4dc): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x4f0): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x504): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x518): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x52c): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x548): undefined reference to `ipmi_ctx_close' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x554): undefined reference to `ipmi_ctx_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x704): undefined reference to `ipmi_ctx_open_outofband_2_0' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x764): undefined reference to `ipmi_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x7b4): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x7c8): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x7dc): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x7f0): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x804): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x8a8): undefined reference to `ipmi_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x9cc): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0x9e0): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0xa54): undefined reference to `ipmi_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0xaa4): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0xab8): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0xacc): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0xae0): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0xaf4): undefined reference to `ipmi_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_ipmi_communication.o):ipmi_monitoring_ipmi_communication.c:(.text+0xb08): more undefined references to `ipmi_ctx_errnum' follow /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_ipmi_communication.o): in function `ipmi_monitoring_ipmi_communication_cleanup': ipmi_monitoring_ipmi_communication.c:(.text+0xe44): undefined reference to `ipmi_ctx_close' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_ipmi_communication.c:(.text+0xe54): undefined reference to `ipmi_ctx_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sdr_cache.o): in function `_ipmi_monitoring_sdr_ctx_init': ipmi_monitoring_sdr_cache.c:(.text+0x10): undefined reference to `ipmi_sdr_ctx_create' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x40): undefined reference to `ipmi_sdr_ctx_set_flags' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x64): undefined reference to `ipmi_sdr_ctx_set_debug_prefix' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xbc): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x150): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sdr_cache.o): in function `_ipmi_monitoring_sdr_cache_delete.part.0': ipmi_monitoring_sdr_cache.c:(.text+0x2cc): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x31c): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sdr_cache.o): in function `_ipmi_monitoring_sdr_cache_retrieve.part.0': ipmi_monitoring_sdr_cache.c:(.text+0x398): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x3e8): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x408): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x428): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x43c): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sdr_cache.o): in function `ipmi_monitoring_sdr_cache_load': ipmi_monitoring_sdr_cache.c:(.text+0x950): undefined reference to `ipmi_sdr_cache_open' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x96c): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x980): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x994): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x9b8): undefined reference to `ipmi_sdr_cache_delete' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0x9f0): undefined reference to `ipmi_sdr_cache_create' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xa1c): undefined reference to `ipmi_sdr_cache_open' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xa30): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xa44): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xaa0): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xb10): undefined reference to `ipmi_sdr_ctx_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xb34): undefined reference to `ipmi_sdr_cache_create' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xb64): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xb9c): undefined reference to `ipmi_sdr_cache_delete' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xbac): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xbc0): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xc18): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sdr_cache.o): in function `ipmi_monitoring_sdr_cache_unload': ipmi_monitoring_sdr_cache.c:(.text+0xc74): undefined reference to `ipmi_sdr_cache_close' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xc84): undefined reference to `ipmi_sdr_ctx_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sdr_cache.o): in function `ipmi_monitoring_sdr_cache_flush': ipmi_monitoring_sdr_cache.c:(.text+0xcf8): undefined reference to `ipmi_sdr_cache_delete' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xd14): undefined reference to `ipmi_sdr_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sdr_cache.c:(.text+0xd44): undefined reference to `ipmi_sdr_ctx_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sel.o): in function `_sel_parse_ctx_error_convert': ipmi_monitoring_sel.c:(.text+0xc): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sel.o): in function `_store_sel_record': ipmi_monitoring_sel.c:(.text+0xac): undefined reference to `ipmi_sel_parse_read_record' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0xcc): undefined reference to `ipmi_sel_parse_read_record_id' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0xec): undefined reference to `ipmi_sel_parse_read_record_type' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x188): undefined reference to `ipmi_interpret_sel' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1d0): undefined reference to `ipmi_sel_record_type_class' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x2a4): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x2f8): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x34c): undefined reference to `ipmi_sel_record_type_class' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x37c): undefined reference to `ipmi_sel_parse_read_timestamp' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x3a4): undefined reference to `ipmi_sel_parse_read_sensor_type' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x3e0): undefined reference to `ipmi_sel_parse_read_sensor_number' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x408): undefined reference to `ipmi_sel_parse_read_event_direction' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x438): undefined reference to `ipmi_sel_parse_read_event_data1_offset_from_event_reading_type_code' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x460): undefined reference to `ipmi_sel_parse_read_event_type_code' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x5d8): undefined reference to `ipmi_sel_parse_read_event_data1' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x600): undefined reference to `ipmi_sel_parse_read_event_data2' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x628): undefined reference to `ipmi_sel_parse_read_event_data3' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x668): undefined reference to `ipmi_sel_parse_read_record_string' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x6b0): undefined reference to `ipmi_sel_parse_read_record_string' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x750): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x894): undefined reference to `ipmi_sel_parse_read_timestamp' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x8bc): undefined reference to `ipmi_sel_parse_read_manufacturer_id' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x8e4): undefined reference to `ipmi_sel_parse_read_oem' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x944): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x9a4): undefined reference to `ipmi_sel_parse_read_oem' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0xa00): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0xafc): undefined reference to `ipmi_interpret_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0xe60): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0xed0): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0xf44): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0xfb4): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1024): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sel.o):ipmi_monitoring_sel.c:(.text+0x1094): more undefined references to `ipmi_sel_ctx_errnum' follow /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sel.o): in function `_ipmi_monitoring_sel_parse_date_range': ipmi_monitoring_sel.c:(.text+0x15e4): undefined reference to `ipmi_sel_parse_read_record_type' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1648): undefined reference to `ipmi_sel_record_type_class' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1680): undefined reference to `ipmi_sel_parse_read_timestamp' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x16d0): undefined reference to `ipmi_sel_record_type_class' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x174c): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x17a4): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1820): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sel.o): in function `_ipmi_monitoring_sel_parse_sensor_types': ipmi_monitoring_sel.c:(.text+0x18d0): undefined reference to `ipmi_sel_parse_read_record_type' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1934): undefined reference to `ipmi_sel_record_type_class' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x196c): undefined reference to `ipmi_sel_parse_read_sensor_type' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1a58): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1ab0): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1b2c): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1b80): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sel.o): in function `ipmi_monitoring_sel_init': ipmi_monitoring_sel.c:(.text+0x1c34): undefined reference to `ipmi_sel_ctx_create' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1cfc): undefined reference to `ipmi_sel_ctx_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sel.o): in function `ipmi_monitoring_sel_cleanup': ipmi_monitoring_sel.c:(.text+0x1d24): undefined reference to `ipmi_sel_ctx_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sel.o): in function `ipmi_monitoring_get_sel': ipmi_monitoring_sel.c:(.text+0x1da8): undefined reference to `ipmi_sel_parse' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1e30): undefined reference to `ipmi_sel_parse_record_ids' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1ea4): undefined reference to `ipmi_sel_parse' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1ef8): undefined reference to `ipmi_sel_parse' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1f58): undefined reference to `ipmi_sel_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x1ff8): undefined reference to `ipmi_sel_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x2078): undefined reference to `ipmi_sel_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sel.c:(.text+0x20cc): undefined reference to `ipmi_sel_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sensor_reading.o): in function `_get_sensor_state.part.0': ipmi_monitoring_sensor_reading.c:(.text+0x50c): undefined reference to `ipmi_interpret_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sensor_reading.o): in function `_get_sensor_state': ipmi_monitoring_sensor_reading.c:(.text+0x57c): undefined reference to `ipmi_interpret_sensor' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sensor_reading.o): in function `_get_sensor_reading.constprop.0': ipmi_monitoring_sensor_reading.c:(.text+0xcac): undefined reference to `ipmi_sdr_cache_record_read' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0xcdc): undefined reference to `ipmi_sensor_read' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0xd70): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0xdcc): undefined reference to `ipmi_sensor_read_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0xe1c): undefined reference to `ipmi_sensor_read_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0xe7c): undefined reference to `ipmi_sensor_read_ctx_errnum' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sensor_reading.o): in function `_get_sensor_bitmask_strings': ipmi_monitoring_sensor_reading.c:(.text+0x1184): undefined reference to `ipmi_get_event_messages' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sensor_reading.o): in function `ipmi_monitoring_sensor_reading_init': ipmi_monitoring_sensor_reading.c:(.text+0x12b4): undefined reference to `ipmi_sensor_read_ctx_create' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x137c): undefined reference to `ipmi_sensor_read_ctx_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sensor_reading.o): in function `ipmi_monitoring_sensor_reading_cleanup': ipmi_monitoring_sensor_reading.c:(.text+0x13a4): undefined reference to `ipmi_sensor_read_ctx_destroy' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libipmimonitoring.a(libipmimonitoring_la-ipmi_monitoring_sensor_reading.o): in function `ipmi_monitoring_get_sensor_reading': ipmi_monitoring_sensor_reading.c:(.text+0x13e8): undefined reference to `ipmi_sdr_parse_record_id_and_type' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x14e4): undefined reference to `ipmi_sdr_parse_sensor_number' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x1504): undefined reference to `ipmi_sdr_parse_sensor_type' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x15d4): undefined reference to `ipmi_sdr_parse_sensor_name' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x160c): undefined reference to `ipmi_sdr_parse_event_reading_type_code' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x17d8): undefined reference to `ipmi_sdr_parse_entity_sensor_name' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x1830): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x1b4c): undefined reference to `ipmi_sdr_parse_sensor_units' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x21c8): undefined reference to `ipmi_sdr_parse_sensor_units' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x2300): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x2380): undefined reference to `ipmi_sdr_parse_sensor_units' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x24a8): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x2514): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x25ec): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x266c): undefined reference to `ipmi_sdr_ctx_errormsg' /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ipmi_monitoring_sensor_reading.c:(.text+0x26d8): undefined reference to `ipmi_sdr_ctx_errormsg' collect2: error: ld returned 1 exit status configure:26120: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | /* end confdefs.h. */ | | /* 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 ipmi_monitoring_init (); | int | main () | { | return ipmi_monitoring_init (); | ; | return 0; | } configure:26120: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lipmimonitoring -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lfreeipmi -lipmimonitoring >&5 configure:26120: $? = 0 configure:26137: result: -lipmimonitoring configure:26147: checking for library containing ipmi_monitoring_sensor_read_record_id configure:26178: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lipmimonitoring -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lfreeipmi -lipmimonitoring >&5 configure:26178: $? = 0 configure:26195: result: none required configure:26206: checking for library containing ipmi_sdr_cache_ctx_destroy configure:26237: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lipmimonitoring -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lfreeipmi -lipmimonitoring >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccKVEBTA.o: in function `main': conftest.c:(.text+0x4): undefined reference to `ipmi_sdr_cache_ctx_destroy' collect2: error: ld returned 1 exit status configure:26237: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | /* end confdefs.h. */ | | /* 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 ipmi_sdr_cache_ctx_destroy (); | int | main () | { | return ipmi_sdr_cache_ctx_destroy (); | ; | return 0; | } configure:26237: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lfreeipmi -lipmimonitoring -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lfreeipmi -lipmimonitoring >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccVjPW7A.o: in function `main': conftest.c:(.text+0x4): undefined reference to `ipmi_sdr_cache_ctx_destroy' collect2: error: ld returned 1 exit status configure:26237: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | /* end confdefs.h. */ | | /* 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 ipmi_sdr_cache_ctx_destroy (); | int | main () | { | return ipmi_sdr_cache_ctx_destroy (); | ; | return 0; | } configure:26254: result: no configure:26262: checking for library containing ipmi_sdr_ctx_destroy configure:26293: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lipmimonitoring -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lfreeipmi -lipmimonitoring >&5 configure:26293: $? = 0 configure:26310: result: none required configure:27085: checking whether to build IPMI driver configure:27087: result: yes (FreeIPMI) configure:27149: checking whether to build GPIO driver configure:27151: result: yes libgpiod configure:27207: checking whether to build Mac OS X meta-driver configure:27209: result: no configure:27256: checking linux/i2c-dev.h usability configure:27256: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27256: $? = 0 configure:27256: result: yes configure:27256: checking linux/i2c-dev.h presence configure:27256: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:27256: $? = 0 configure:27256: result: yes configure:27256: checking for linux/i2c-dev.h configure:27256: result: yes configure:27265: checking i2c/smbus.h usability configure:27265: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:222:10: fatal error: i2c/smbus.h: No such file or directory 222 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:27265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_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:27265: result: no configure:27265: checking i2c/smbus.h presence configure:27265: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:189:10: fatal error: i2c/smbus.h: No such file or directory 189 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:27265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | /* end confdefs.h. */ | #include configure:27265: result: no configure:27265: checking for i2c/smbus.h configure:27265: result: no configure:27274: checking whether i2c_smbus_access is declared configure:27274: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:206:10: error: 'i2c_smbus_access' undeclared (first use in this function); did you mean 'i2c_smbus_data'? 206 | (void) i2c_smbus_access; | ^~~~~~~~~~~~~~~~ | i2c_smbus_data conftest.c:206:10: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:27274: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_LINUX_I2C_DEV_H | #include | #endif | #ifdef HAVE_LINUX_SMBUS_H | #include | #endif | | | | int | main () | { | #ifndef i2c_smbus_access | #ifdef __cplusplus | (void) i2c_smbus_access; | #else | (void) i2c_smbus_access; | #endif | #endif | | ; | return 0; | } configure:27274: result: no configure:27302: checking whether i2c_smbus_read_byte_data is declared configure:27302: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:207:10: error: 'i2c_smbus_read_byte_data' undeclared (first use in this function); did you mean 'i2c_smbus_ioctl_data'? 207 | (void) i2c_smbus_read_byte_data; | ^~~~~~~~~~~~~~~~~~~~~~~~ | i2c_smbus_ioctl_data conftest.c:207:10: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:27302: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | /* end confdefs.h. */ | #include | #ifdef HAVE_LINUX_I2C_DEV_H | #include | #endif | #ifdef HAVE_LINUX_SMBUS_H | #include | #endif | | | | int | main () | { | #ifndef i2c_smbus_read_byte_data | #ifdef __cplusplus | (void) i2c_smbus_read_byte_data; | #else | (void) i2c_smbus_read_byte_data; | #endif | #endif | | ; | return 0; | } configure:27302: result: no configure:27330: checking whether i2c_smbus_write_byte_data is declared configure:27330: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:208:10: error: 'i2c_smbus_write_byte_data' undeclared (first use in this function); did you mean 'i2c_smbus_ioctl_data'? 208 | (void) i2c_smbus_write_byte_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | i2c_smbus_ioctl_data conftest.c:208:10: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:27330: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | /* end confdefs.h. */ | #include | #ifdef HAVE_LINUX_I2C_DEV_H | #include | #endif | #ifdef HAVE_LINUX_SMBUS_H | #include | #endif | | | | int | main () | { | #ifndef i2c_smbus_write_byte_data | #ifdef __cplusplus | (void) i2c_smbus_write_byte_data; | #else | (void) i2c_smbus_write_byte_data; | #endif | #endif | | ; | return 0; | } configure:27330: result: no configure:27358: checking whether i2c_smbus_read_word_data is declared configure:27358: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:209:10: error: 'i2c_smbus_read_word_data' undeclared (first use in this function) 209 | (void) i2c_smbus_read_word_data; | ^~~~~~~~~~~~~~~~~~~~~~~~ conftest.c:209:10: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:27358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | /* end confdefs.h. */ | #include | #ifdef HAVE_LINUX_I2C_DEV_H | #include | #endif | #ifdef HAVE_LINUX_SMBUS_H | #include | #endif | | | | int | main () | { | #ifndef i2c_smbus_read_word_data | #ifdef __cplusplus | (void) i2c_smbus_read_word_data; | #else | (void) i2c_smbus_read_word_data; | #endif | #endif | | ; | return 0; | } configure:27358: result: no configure:27386: checking whether i2c_smbus_write_word_data is declared configure:27386: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:210:10: error: 'i2c_smbus_write_word_data' undeclared (first use in this function); did you mean 'i2c_smbus_ioctl_data'? 210 | (void) i2c_smbus_write_word_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | i2c_smbus_ioctl_data conftest.c:210:10: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:27386: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | /* end confdefs.h. */ | #include | #ifdef HAVE_LINUX_I2C_DEV_H | #include | #endif | #ifdef HAVE_LINUX_SMBUS_H | #include | #endif | | | | int | main () | { | #ifndef i2c_smbus_write_word_data | #ifdef __cplusplus | (void) i2c_smbus_write_word_data; | #else | (void) i2c_smbus_write_word_data; | #endif | #endif | | ; | return 0; | } configure:27386: result: no configure:27414: checking whether i2c_smbus_read_block_data is declared configure:27414: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:211:10: error: 'i2c_smbus_read_block_data' undeclared (first use in this function); did you mean 'i2c_smbus_ioctl_data'? 211 | (void) i2c_smbus_read_block_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | i2c_smbus_ioctl_data conftest.c:211:10: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:27414: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | /* end confdefs.h. */ | #include | #ifdef HAVE_LINUX_I2C_DEV_H | #include | #endif | #ifdef HAVE_LINUX_SMBUS_H | #include | #endif | | | | int | main () | { | #ifndef i2c_smbus_read_block_data | #ifdef __cplusplus | (void) i2c_smbus_read_block_data; | #else | (void) i2c_smbus_read_block_data; | #endif | #endif | | ; | return 0; | } configure:27414: result: no configure:27445: checking for library containing i2c_smbus_read_byte, i2c_smbus_access, i2c_smbus_read_byte_data, i2c_smbus_write_byte_datai2c_smbus_write_byte_data, i2c_smbus_read_word_data, i2c_smbus_write_word_data, i2c_smbus_read_block_data configure:27476: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/cc2LlljL.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `i2c_smbus_read_block_data' collect2: error: ld returned 1 exit status configure:27476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | /* end confdefs.h. */ | | /* 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 i2c_smbus_read_byte, i2c_smbus_access, i2c_smbus_read_byte_data, i2c_smbus_write_byte_datai2c_smbus_write_byte_data, i2c_smbus_read_word_data, i2c_smbus_write_word_data, i2c_smbus_read_block_data (); | int | main () | { | return i2c_smbus_read_byte, i2c_smbus_access, i2c_smbus_read_byte_data, i2c_smbus_write_byte_datai2c_smbus_write_byte_data, i2c_smbus_read_word_data, i2c_smbus_write_word_data, i2c_smbus_read_block_data (); | ; | return 0; | } configure:27476: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -li2c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: cannot find -li2c: No such file or directory collect2: error: ld returned 1 exit status configure:27476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | /* end confdefs.h. */ | | /* 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 i2c_smbus_read_byte, i2c_smbus_access, i2c_smbus_read_byte_data, i2c_smbus_write_byte_datai2c_smbus_write_byte_data, i2c_smbus_read_word_data, i2c_smbus_write_word_data, i2c_smbus_read_block_data (); | int | main () | { | return i2c_smbus_read_byte, i2c_smbus_access, i2c_smbus_read_byte_data, i2c_smbus_write_byte_datai2c_smbus_write_byte_data, i2c_smbus_read_word_data, i2c_smbus_write_word_data, i2c_smbus_read_block_data (); | ; | return 0; | } configure:27493: result: no configure:27520: checking whether to build i2c based drivers configure:27522: result: no configure:28584: checking for OpenSSL version via pkg-config configure:28590: result: 3.3.1 found configure:28614: checking for OpenSSL cflags configure:28631: result: configure:28634: checking for OpenSSL ldflags configure:28651: result: -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lssl -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic configure:28656: checking for openssl/ssl.h configure:28656: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28656: $? = 0 configure:28656: result: yes configure:28671: checking for SSL_CTX_new configure:28671: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lssl -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic >&5 configure:28671: $? = 0 configure:28671: result: yes configure:29111: checking whether to enable SSL support configure:29113: result: yes (OpenSSL) configure:29178: checking for tcpd.h configure:29178: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:234:10: fatal error: tcpd.h: No such file or directory 234 | #include | ^~~~~~~~ compilation terminated. configure:29178: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SSL_CTX_NEW 1 | #define WITH_SSL 1 | #define WITH_OPENSSL 1 | #define WITH_SSL 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:29178: result: no configure:29191: checking for library containing yp_get_default_domain configure:29222: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccVsLfRP.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `yp_get_default_domain' collect2: error: ld returned 1 exit status configure:29222: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SSL_CTX_NEW 1 | #define WITH_SSL 1 | #define WITH_OPENSSL 1 | #define WITH_SSL 1 | /* end confdefs.h. */ | | /* 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 yp_get_default_domain (); | int | main () | { | return yp_get_default_domain (); | ; | return 0; | } configure:29222: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lnsl >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/ccBdoQjR.o: in function `main': conftest.c:(.text.startup+0x4): undefined reference to `yp_get_default_domain' collect2: error: ld returned 1 exit status configure:29222: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SSL_CTX_NEW 1 | #define WITH_SSL 1 | #define WITH_OPENSSL 1 | #define WITH_SSL 1 | /* end confdefs.h. */ | | /* 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 yp_get_default_domain (); | int | main () | { | return yp_get_default_domain (); | ; | return 0; | } configure:29239: result: no configure:29250: checking for library containing request_init configure:29272: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 conftest.c:201:10: fatal error: tcpd.h: No such file or directory 201 | #include | ^~~~~~~~ compilation terminated. configure:29272: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SSL_CTX_NEW 1 | #define WITH_SSL 1 | #define WITH_OPENSSL 1 | #define WITH_SSL 1 | /* end confdefs.h. */ | | #include | int allow_severity = 0, deny_severity = 0; | | int | main () | { | request_init(0); | ; | return 0; | } configure:29294: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lwrap >&5 conftest.c:201:10: fatal error: tcpd.h: No such file or directory 201 | #include | ^~~~~~~~ compilation terminated. configure:29294: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SSL_CTX_NEW 1 | #define WITH_SSL 1 | #define WITH_OPENSSL 1 | #define WITH_SSL 1 | /* end confdefs.h. */ | | #include | int allow_severity = 0, deny_severity = 0; | | int | main () | { | request_init(0); | ; | return 0; | } configure:29301: result: no configure:29341: checking whether to enable libwrap (tcp-wrappers) support configure:29343: result: no configure:29658: checking whether to enable libltdl (Libtool dlopen abstraction) support configure:29660: result: no configure:29712: checking whether to build nut-scanner configure:29714: result: no configure:30423: checking whether to build CGI programs configure:30425: result: no configure:30470: checking if we can and should install NUT-Monitor desktop application configure:30553: result: no: No python 2/3 interpreter was found configure:30580: checking if we can and should install PyNUT module configure:30658: result: no configure:30680: checking whether to install NUT-Monitor desktop application configure:30682: result: no configure:30726: checking whether to install PyNUT binding module configure:30728: result: no configure:31000: checking for cppcheck configure:31033: result: no configure:31050: checking if cppcheck version is okay (minimum required 1.0) configure:31090: result: no configure:31108: checking whether to run cppcheck among default make check target configure:31124: result: no configure:31137: checking whether to run NIT among default make check target configure:31157: result: no configure:31183: checking for aspell configure:31216: result: no configure:31303: checking if aspell version can do our documentation spell checks (minimum required 0.60.6) configure:31401: result: no configure:31445: checking if we have all the tools mandatory for documentation spell checks configure:31447: result: no configure:31461: checking whether to run spellcheck among default make check target configure:31477: result: no configure:31501: checking for asciidoc configure:31534: result: no configure:31563: checking for a2x configure:31596: result: no configure:31617: checking for dblatex configure:31650: result: no configure:31671: checking for xsltproc configure:31704: result: no configure:31725: checking for xmllint configure:31758: result: no configure:31783: checking for source-highlight configure:31816: result: no configure:31833: checking if asciidoc version can build manpages (minimum required 8.1.0) configure:31873: result: no configure:31880: checking if a2x version can build manpages (minimum required 1.0.0) configure:31919: result: no configure:31926: checking if xsltproc is present (mandatory for man page regeneration) configure:31932: result: no configure:31937: checking if xmllint is present (mandatory for man page regeneration) configure:31943: result: no configure:31957: checking if we have all the tools mandatory for man page regeneration configure:31959: result: no configure:31962: checking if source-highlight is present (preferable for documentation generation) configure:31968: result: no configure:31976: checking whether to build and install documentation configure:31978: result: no configure:32424: checking whether to build specific documentation format(s) configure:32426: result: no configure:32551: checking for sparc-buildroot-linux-uclibc-ar configure:32578: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ar configure:32648: checking the archiver (/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ar) interface configure:32664: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:32664: $? = 0 configure:32666: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ar cru libconftest.a conftest.o >&5 configure:32669: $? = 0 configure:32697: result: ar configure:32763: checking how to print strings configure:32790: result: printf configure:32811: checking for a sed that does not truncate output configure:32875: result: /bin/sed configure:32893: checking for fgrep configure:32955: result: /bin/grep -F configure:32990: checking for ld used by /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc configure:33057: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld configure:33064: checking if the linker (/home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld) is GNU ld configure:33079: result: yes configure:33091: checking for BSD- or MS-compatible name lister (nm) configure:33145: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-nm configure:33275: checking the name lister (/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-nm) interface configure:33282: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:33285: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-nm "conftest.o" configure:33288: output 00000000 B some_variable configure:33295: result: BSD nm configure:33299: checking the maximum length of command line arguments configure:33430: result: 1572864 configure:33478: checking how to convert x86_64-pc-linux-gnu file names to sparc-buildroot-linux-uclibc format configure:33518: result: func_convert_file_noop configure:33525: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:33545: result: func_convert_file_noop configure:33552: checking for /home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld option to reload object files configure:33559: result: -r configure:33593: checking for sparc-buildroot-linux-uclibc-objdump configure:33620: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-objdump configure:33692: checking how to recognize dependent libraries configure:33892: result: pass_all configure:33937: checking for sparc-buildroot-linux-uclibc-dlltool configure:33967: result: no configure:33977: checking for dlltool configure:34007: result: no configure:34037: checking how to associate runtime and link libraries configure:34064: result: printf %s\n configure:34080: checking for sparc-buildroot-linux-uclibc-ar configure:34107: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ar configure:34188: checking for archiver @FILE support configure:34205: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34205: $? = 0 configure:34208: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ar cr libconftest.a @conftest.lst >&5 configure:34211: $? = 0 configure:34216: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ar cr libconftest.a @conftest.lst >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ar: conftest.o: No such file or directory configure:34219: $? = 1 configure:34231: result: @ configure:34249: checking for sparc-buildroot-linux-uclibc-strip configure:34276: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-strip configure:34348: checking for sparc-buildroot-linux-uclibc-ranlib configure:34375: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ranlib configure:34517: checking command to parse /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-nm output from /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc object configure:34670: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:34673: $? = 0 configure:34677: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-nm 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:34743: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c conftstm.o >&5 configure:34746: $? = 0 configure:34784: result: ok configure:34831: checking for sysroot configure:34861: result: no configure:34868: checking for a working dd configure:34906: result: /bin/dd configure:34910: checking how to truncate binary pipes configure:34925: result: /bin/dd bs=4096 count=1 configure:35061: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35064: $? = 0 configure:35214: checking for sparc-buildroot-linux-uclibc-mt configure:35244: result: no configure:35254: checking for mt configure:35270: found /bin/mt configure:35281: result: mt configure:35293: WARNING: using cross tools not prefixed with host triplet configure:35304: checking if mt is a manifest tool configure:35310: mt '-?' configure:35318: result: no configure:35992: checking for dlfcn.h configure:35992: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:35992: $? = 0 configure:35992: result: yes configure:36258: checking for objdir configure:36273: result: .libs configure:36537: checking if /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc supports -fno-rtti -fno-exceptions configure:36555: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may have been intended to silence earlier diagnostics configure:36559: $? = 0 configure:36572: result: no configure:36936: checking for /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc option to produce PIC configure:36943: result: -fPIC -DPIC configure:36951: checking if /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc PIC flag -fPIC -DPIC works configure:36969: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:36973: $? = 0 configure:36986: result: yes configure:37015: checking if /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc static flag -static works configure:37043: result: yes configure:37058: checking if /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc supports -c -o file.o configure:37079: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:37083: $? = 0 configure:37105: result: yes configure:37113: checking if /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc supports -c -o file.o configure:37160: result: yes configure:37193: checking whether the /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc linker (/home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld) supports shared libraries configure:38456: result: yes configure:38696: checking dynamic linker characteristics configure:39277: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static -Wl,-rpath -Wl,/foo conftest.c >&5 configure:39277: $? = 0 configure:39526: result: GNU/Linux ld.so configure:39648: checking how to hardcode library paths into programs configure:39673: result: immediate configure:40221: checking whether stripping libraries is possible configure:40226: result: yes configure:40261: checking if libtool supports shared libraries configure:40263: result: yes configure:40266: checking whether to build shared libraries configure:40291: result: no configure:40294: checking whether to build static libraries configure:40298: result: yes configure:40321: checking how to run the C++ preprocessor configure:40348: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -E -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp configure:40348: $? = 0 configure:40362: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -E -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp conftest.cpp:202:10: fatal error: ac_nonexistent.h: No such file or directory 202 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:40362: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SSL_CTX_NEW 1 | #define WITH_SSL 1 | #define WITH_OPENSSL 1 | #define WITH_SSL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:40387: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -E configure:40407: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -E -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp configure:40407: $? = 0 configure:40421: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -E -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp conftest.cpp:202:10: fatal error: ac_nonexistent.h: No such file or directory 202 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:40421: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SSL_CTX_NEW 1 | #define WITH_SSL 1 | #define WITH_OPENSSL 1 | #define WITH_SSL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:40583: checking for ld used by /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ configure:40650: result: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld configure:40657: checking if the linker (/home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld) is GNU ld configure:40672: result: yes configure:40727: checking whether the /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ linker (/home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld) supports shared libraries configure:41800: result: yes configure:41836: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:41839: $? = 0 configure:42320: checking for /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ option to produce PIC configure:42327: result: -fPIC -DPIC configure:42335: checking if /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ PIC flag -fPIC -DPIC works configure:42353: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:42357: $? = 0 configure:42370: result: yes configure:42393: checking if /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ static flag -static works configure:42421: result: yes configure:42433: checking if /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ supports -c -o file.o configure:42454: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.cpp >&5 configure:42458: $? = 0 configure:42480: result: yes configure:42485: checking if /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ supports -c -o file.o configure:42532: result: yes configure:42562: checking whether the /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ linker (/home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld) supports shared libraries configure:42605: result: yes configure:42746: checking dynamic linker characteristics configure:43503: result: GNU/Linux ld.so configure:43568: checking how to hardcode library paths into programs configure:43593: result: immediate configure:43704: checking whether to build and install the development files configure:43706: result: yes configure:43753: checking for sparc-buildroot-linux-uclibc-windmc configure:43783: result: no configure:43793: checking for windmc configure:43823: result: no configure:43845: checking for sparc-buildroot-linux-uclibc-windres configure:43875: result: no configure:43885: checking for windres configure:43915: result: no configure:43973: checking setting for Default installation prefix path configure:43975: result: "/usr" configure:44006: checking if requested state path configure:44024: result: default configure:44029: checking setting for State file path configure:44031: result: "/var/state/ups" configure:44063: checking if requested alt pid path configure:44075: result: specified configure:44089: checking setting for Unprivileged PID file path configure:44091: result: "/var/run/upsd" configure:44122: checking if requested pidpath configure:44140: result: default configure:44145: checking setting for Privileged PID file path configure:44147: result: "/run" configure:44178: checking if requested default upsmon POWERDOWNFLAG path configure:44196: result: default configure:44201: checking if requested driver path configure:44219: result: default configure:44228: checking setting for Driver program path configure:44230: result: "/usr/bin" configure:44261: checking if requested cgi path configure:44279: result: default configure:44288: checking setting for CGI program path configure:44290: result: "/usr/cgi-bin" configure:44321: checking if requested html path configure:44339: result: default configure:44348: checking setting for HTML file path configure:44350: result: "/usr/html" configure:44381: checking network port number configure:44407: result: 3493 configure:44410: checking facility for syslog configure:44436: result: LOG_DAEMON configure:44439: checking which driver man pages to install configure:44460: result: none (manpages disabled) configure:44464: checking whether to force nut_version.h generation for every make run configure:44484: result: no configure:44491: checking whether to strip debug symbols configure:44510: result: no configure:44516: checking whether to install pkg-config *.pc files configure:44543: result: using ${libdir}/pkgconfig => /usr/lib/pkgconfig configure:44580: checking whether to make Solaris SVR4 packages configure:44609: result: no configure:44620: checking whether to make Solaris IPS packages configure:44649: result: no configure:44661: checking whether to install Solaris SMF files configure:44691: result: no configure:44724: checking whether to install Solaris SVR4 (legacy) init-script files configure:44761: result: no configure:44773: checking whether to install systemd unit files configure:44835: result: no configure:44839: checking whether to consider basic systemd support configure:44841: result: no configure:44884: checking whether to install systemd shutdown files configure:44946: result: no configure:44950: checking whether to install systemd tmpfiles files configure:45010: result: no configure:45016: checking for systemd-tmpfiles configure:45047: result: /usr/bin/systemd-tmpfiles configure:45308: checking for libsystemd version via pkg-config configure:45314: result: none found configure:45325: checking for libsystemd cflags configure:45351: result: configure:45354: checking for libsystemd ldflags configure:45380: result: -lsystemd configure:45385: checking for systemd/sd-daemon.h configure:45385: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:246:10: fatal error: systemd/sd-daemon.h: No such file or directory 246 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:45385: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SSL_CTX_NEW 1 | #define WITH_SSL 1 | #define WITH_OPENSSL 1 | #define WITH_SSL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define WITH_DEV 1 | #define PREFIX "/usr" | #define STATEPATH "/var/state/ups" | #define ALTPIDPATH "/var/run/upsd" | #define PIDPATH "/run" | #define DRVPATH "/usr/bin" | #define CGIPATH "/usr/cgi-bin" | #define HTMLPATH "/usr/html" | #define PORT 3493 | #define LOG_FACILITY LOG_DAEMON | /* 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:45385: result: no configure:45400: checking for sd_notify configure:45400: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lsystemd >&5 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: cannot find -lsystemd: No such file or directory collect2: error: ld returned 1 exit status configure:45400: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "nut" | #define PACKAGE_TARNAME "nut" | #define PACKAGE_VERSION "2.8.2" | #define PACKAGE_STRING "nut 2.8.2" | #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" | #define PACKAGE_URL "" | #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" | #define PACKAGE "nut" | #define VERSION "2.8.2" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define TREE_VERSION "2.8" | #define NUT_NETVERSION "1.3" | #define WORDS_BIGENDIAN 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define HAVE_C_VARARRAYS 1 | #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 | #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 | #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 | #define HAVE___ATTRIBUTE__UNUSED_ARG 1 | #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 | #define HAVE___ATTRIBUTE__NORETURN 1 | #define HAVE___ATTRIBUTE__ 1 | #define REQUIRE_NUT_STRARG 0 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOCK 1 | #define HAVE_LOCKF 1 | #define HAVE_DUP 1 | #define HAVE_DUP2 1 | #define HAVE_ABS 1 | #define HAVE_FLOAT_H 1 | #define HAVE_MATH_H 1 | #define HAVE_DECL_FABS 1 | #define HAVE_DECL_FABSF 1 | #define HAVE_DECL_FABSL 1 | #define HAVE_DECL_POW10 1 | #define HAVE_DECL_ROUND 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DECL_REALPATH 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SEMAPHORE 1 | #define HAVE_CFSETISPEED 1 | #define HAVE_TCSENDBREAK 1 | #define HAVE_SETEUID 1 | #define HAVE_SETSID 1 | #define HAVE_ON_EXIT 1 | #define HAVE_SETLOGMASK 1 | #define HAVE_DECL_LOG_UPTO 1 | #define HAVE_STRTOK_R 1 | #define HAVE_FILENO 1 | #define HAVE_SIGEMPTYSET 1 | #define HAVE_SIGACTION 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_GMTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRPTIME 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_MONOTONIC 1 | #define HAVE_STRNLEN 1 | #define HAVE_STRDUP 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SUSECONDS_T 1 | #define HAVE_USECONDS_T 1 | #define HAVE_USLEEP 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_SETENV 1 | #define HAVE_STRERROR 1 | #define HAVE_ATEXIT 1 | #define HAVE_DECL_OPTIND 1 | #define HAVE_GETOPT_H 1 | #define NEED_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_DECL_UU_LOCK 0 | #define HAVE_DECL___FUNC__ 1 | #define HAVE_STDARG_H 1 | #define HAVE_PTHREAD 1 | #define HAVE_PTHREAD_TRYJOIN 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 socklen_t | #define GETNAMEINFO_TYPE_ARG7 unsigned int | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_STRUCT_POLLFD 1 | #define WITH_UNMAPPED_DATA_POINTS 0 | #define HAVE_REGEX_H 1 | #define HAVE_DECL_REGEXEC 1 | #define HAVE_DECL_REGCOMP 1 | #define HAVE_LIBREGEX 1 | #define HAVE_LIBUSB_H 1 | #define HAVE_LIBUSB_INIT 1 | #define HAVE_LIBUSB_STRERROR 1 | #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 | #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 | #define HAVE_LIBUSB_GET_PORT_NUMBER 1 | #define WITH_USB_BUSPORT 1 | #define WITH_LIBUSB_1_0 1 | #define WITH_LIBUSB_0_1 0 | #define SIZEOF_VOID_P 4 | #define HAVE_GPIOD_H 1 | #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 | #define HAVE_GPIOD_CHIP_CLOSE 1 | #define HAVE_SYS_TERMIOS_H 1 | #define WITH_SERIAL 1 | #define WITH_USB 1 | #define HAVE_FREEIPMI_FREEIPMI_H 1 | #define HAVE_IPMI_MONITORING_H 1 | #define HAVE_FREEIPMI 1 | #define HAVE_FREEIPMI_11X_12X 1 | #define HAVE_FREEIPMI_MONITORING 1 | #define WITH_IPMI 1 | #define WITH_GPIO 1 | #define HAVE_LINUX_I2C_DEV_H 1 | #define HAVE_DECL_I2C_SMBUS_ACCESS 0 | #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 | #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SSL_CTX_NEW 1 | #define WITH_SSL 1 | #define WITH_OPENSSL 1 | #define WITH_SSL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define WITH_DEV 1 | #define PREFIX "/usr" | #define STATEPATH "/var/state/ups" | #define ALTPIDPATH "/var/run/upsd" | #define PIDPATH "/run" | #define DRVPATH "/usr/bin" | #define CGIPATH "/usr/cgi-bin" | #define HTMLPATH "/usr/html" | #define PORT 3493 | #define LOG_FACILITY LOG_DAEMON | /* end confdefs.h. */ | /* Define sd_notify to an innocuous variant, in case declares sd_notify. | For example, HP-UX 11i declares gettimeofday. */ | #define sd_notify innocuous_sd_notify | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sd_notify (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef sd_notify | | /* 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 sd_notify (); | /* 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_sd_notify || defined __stub___sd_notify | choke me | #endif | | int | main () | { | return sd_notify (); | ; | return 0; | } configure:45400: result: no configure:45436: checking whether requested and can build binaries with tighter systemd integration support configure:45452: result: no configure:45457: checking for systemd-analyze configure:45488: result: /usr/bin/systemd-analyze configure:45587: checking whether to build with tighter systemd support configure:45589: result: no configure:45635: checking for C++11 support in current compiler configure:45674: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:45674: $? = 0 configure:45675: result: yes, out of the box configure:45734: checking whether to build C++11 codebase (client library, etc.) configure:45736: result: yes configure:45787: checking for have_cppunit configure:45795: checking for cppunit configure:45802: $PKG_CONFIG --exists --print-errors "cppunit" Package cppunit was not found in the pkg-config search path. Perhaps you should add the directory containing `cppunit.pc' to the PKG_CONFIG_PATH environment variable Package 'cppunit', required by 'virtual:world', not found configure:45805: $? = 1 configure:45819: $PKG_CONFIG --exists --print-errors "cppunit" Package cppunit was not found in the pkg-config search path. Perhaps you should add the directory containing `cppunit.pc' to the PKG_CONFIG_PATH environment variable Package 'cppunit', required by 'virtual:world', not found configure:45822: $? = 1 configure:45836: result: no Package 'cppunit', required by 'virtual:world', not found configure:45865: WARNING: libcppunit not found - those C++ tests will not be built. configure:45883: result: no configure:46016: checking for impact from --enable-cppunit option - should we build cppunit tests? configure:46045: result: no configure:46049: checking whether to build C++ tests with CPPUNIT configure:46051: result: no configure:46095: checking whether we can and want to build nutconf configuration-management tool configure:46117: result: yes configure:46129: checking whether to build and install the nutconf tool (experimental, may lack support for recent NUT options) configure:46131: result: yes configure:46175: checking whether to install Augeas configuration-management lenses configure:46236: result: no configure:46252: checking for augparse configure:46285: result: no configure:46302: checking whether to enable Augeas configuration-management lenses tests configure:46308: result: no configure:46313: checking whether to install hotplug rules configure:46364: result: no configure:46376: checking whether to install udev rules configure:46412: result: using /lib/udev configure:46449: checking whether to install FreeBSD devd.conf file configure:46509: result: no configure:46523: checking whether to install FreeBSD site-local USB quirks file configure:46577: result: no configure:46625: checking for valgrind configure:46658: result: no configure:46669: checking whether valgrind is usable on current platform configure:46682: result: no configure:46689: checking whether to use valgrind for memory-leak testing configure:46783: result: no configure:46803: checking whether to build cppunit tests using valgrind support configure:46809: result: no configure:46818: checking setting for Config file path configure:46820: result: "/etc" configure:46856: checking setting for Data file path configure:46858: result: "/usr/share" configure:46894: checking setting for Tool program path configure:46896: result: "/usr/bin" configure:46932: checking setting for System program path configure:46934: result: "/usr/sbin" configure:46970: checking setting for System library path configure:46972: result: "/usr/lib" configure:47008: checking setting for System exec-library path configure:47010: result: "/usr/libexec" configure:47054: checking whether to build SNMP drivers configure:47056: result: no configure:47099: checking whether to build SNMP drivers with statically linked lib(net)snmp configure:47101: result: no configure:47147: checking host env spec we run on configure:47149: result: "sparc-buildroot-linux-uclibc" configure:47214: checking host env spec we built on configure:47216: result: "x86_64-pc-linux-gnu" configure:47281: checking host env spec we built for configure:47283: result: "sparc-buildroot-linux-uclibc" configure:47349: checking host OS short spec we run on configure:47351: result: "sparc-linux-uclibc" configure:47382: checking host OS short spec we built on configure:47384: result: "x86_64-linux-gnu" configure:47415: checking host OS short spec we built for configure:47417: result: "sparc-linux-uclibc" configure:47447: checking whether compiler suggests a MULTIARCH value configure:47485: checking if requested user to run as configure:47498: result: specified configure:47512: checking setting for User to run as configure:47514: result: "nut" configure:47545: checking if requested group membership of user to run as configure:47558: result: specified configure:47572: checking setting for Group of user to run as configure:47574: result: "nut" configure:47841: checking whether to pre-set warnings (from 'auto') configure:47941: result: gcc-medium configure:48023: checking whether to make warnings fatal configure:48040: result: no configure:48043: checking for string.h configure:48043: result: yes configure:48054: checking whether we should disable string built-ins configure:48073: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -Werror -Wunreachable-code -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:48073: $? = 0 configure:48075: result: no, they are not a problem configure:48154: checking arpa/inet.h usability configure:48154: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:48154: $? = 0 configure:48154: result: yes configure:48154: checking arpa/inet.h presence configure:48154: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:48154: $? = 0 configure:48154: result: yes configure:48154: checking for arpa/inet.h configure:48154: result: yes configure:48165: checking whether we should disable htonl/ntohl built-ins configure:48182: /home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error -Werror -Wunreachable-code -Wshadow -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:48182: $? = 0 configure:48184: result: no, they are not a problem configure:48286: checking for top build dir for this configure run configure:48301: result: '/home/buildroot/instance-0/output-1/build/nut-2.8.2' configure:48533: checking whether to customize /home/buildroot/instance-0/output-1/build/nut-2.8.2/scripts/systemd/nut-common-tmpfiles.conf.in for this system configure:48580: result: done configure:48613: checking ccache namespace tag (if ccache is used and new enough) configure:48615: result: "nut:sparc-buildroot-linux-uclibc" configure:48645: WARNING: CCACHE_NAMESPACE setting may have no effect: this make implementation seems to not support "export VAR=VAL" syntax configure:48684: CONFIG_CFLAGS=' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static' configure:48686: CONFIG_CXXFLAGS=' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static' configure:48688: checking whether to enable debug info in all NUT binaries configure:48769: result: C: no; C++: no configure:48774: Generating "data" files from templates, see below for executable scripts configure:48779: Generating templated script files that should be marked executable configure:48852: Generating templated script files whose templates might have been generated (or not) by autogen.sh calling our helper scripts configure:48855: checking whether to generate scripts/augeas/nutupsconf.aug configure:48858: result: yes configure:48868: checking whether to generate scripts/udev/nut-usbups.rules configure:48871: result: yes configure:48881: checking whether to generate scripts/devd/nut-usb.conf configure:48884: result: yes configure:49005: checking that generated files are newer than configure configure:49011: result: done configure:49435: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by nut config.status 2.8.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on b5f10c0e4fe4 config.status:1808: creating clients/Makefile config.status:1808: creating common/Makefile config.status:1808: creating conf/Makefile config.status:1808: creating conf/upsmon.conf.sample config.status:1808: creating conf/upssched.conf.sample config.status:1808: creating data/html/header.html config.status:1808: creating data/html/Makefile config.status:1808: creating data/Makefile config.status:1808: creating data/driver.list config.status:1808: creating docs/Makefile config.status:1808: creating docs/cables/Makefile config.status:1808: creating docs/docinfo.xml config.status:1808: creating docs/man/Makefile config.status:1808: creating drivers/Makefile config.status:1808: creating include/Makefile config.status:1808: creating lib/libupsclient.pc config.status:1808: creating lib/libnutclient.pc config.status:1808: creating lib/libnutclientstub.pc config.status:1808: creating lib/libnutscan.pc config.status:1808: creating lib/Makefile config.status:1808: creating scripts/Aix/nut-aix.spec config.status:1808: creating scripts/RedHat/ups config.status:1808: creating scripts/augeas/Makefile config.status:1808: creating scripts/augeas/nutnutconf.aug config.status:1808: creating scripts/augeas/nutupsdconf.aug config.status:1808: creating scripts/augeas/nutupsdusers.aug config.status:1808: creating scripts/augeas/nutupsmonconf.aug config.status:1808: creating scripts/augeas/nutupsschedconf.aug config.status:1808: creating scripts/augeas/nuthostsconf.aug config.status:1808: creating scripts/augeas/nutupssetconf.aug config.status:1808: creating scripts/avahi/nut.service config.status:1808: creating scripts/devd/Makefile config.status:1808: creating scripts/hotplug/Makefile config.status:1808: creating scripts/hotplug/libhidups config.status:1808: creating scripts/HP-UX/nut.psf config.status:1808: creating scripts/installer/Makefile config.status:1808: creating scripts/python/Makefile config.status:1808: creating scripts/python/module/Makefile config.status:1808: creating scripts/python/module/PyNUT.py config.status:1808: creating scripts/python/module/setup.py config.status:1808: creating scripts/upsdrvsvcctl/Makefile config.status:1808: creating scripts/systemd/Makefile config.status:1808: creating scripts/systemd/nut-common-tmpfiles.conf config.status:1808: creating scripts/systemd/nut-driver@.service config.status:1808: creating scripts/systemd/nut-monitor.service config.status:1808: creating scripts/systemd/nut-server.service config.status:1808: creating scripts/systemd/nut-driver-enumerator.service config.status:1808: creating scripts/systemd/nut-driver-enumerator.path config.status:1808: creating scripts/systemd/nut-driver-enumerator-daemon.service config.status:1808: creating scripts/systemd/nut-driver-enumerator-daemon-activator.service config.status:1808: creating scripts/systemd/nut-driver-enumerator-daemon-activator.path config.status:1808: creating scripts/Solaris/nut-driver-enumerator.xml config.status:1808: creating scripts/Solaris/nut-driver.xml config.status:1808: creating scripts/Solaris/nut-monitor.xml config.status:1808: creating scripts/Solaris/nut-server.xml config.status:1808: creating scripts/Solaris/nut.xml config.status:1808: creating scripts/Solaris/Makefile config.status:1808: creating scripts/Solaris/pkginfo config.status:1808: creating scripts/udev/Makefile config.status:1808: creating scripts/udev/nut-ipmipsu.rules config.status:1808: creating scripts/ufw/Makefile config.status:1808: creating scripts/ufw/nut.ufw.profile config.status:1808: creating scripts/Windows/Makefile config.status:1808: creating scripts/Windows/Installer/NUT-Installer.xml config.status:1808: creating scripts/Makefile config.status:1808: creating server/Makefile config.status:1808: creating tools/Makefile config.status:1808: creating tools/nut-scanner/Makefile config.status:1808: creating tools/nutconf/Makefile config.status:1808: creating tests/Makefile config.status:1808: creating tests/NIT/Makefile config.status:1808: creating Makefile config.status:1808: creating lib/libupsclient-config config.status:1808: creating scripts/Aix/nut.init config.status:1808: creating scripts/HP-UX/postinstall config.status:1808: creating scripts/RedHat/upsd config.status:1808: creating scripts/RedHat/upsmon config.status:1808: creating scripts/python/app/NUT-Monitor-py2gtk2 config.status:1808: creating scripts/python/app/NUT-Monitor-py3qt5 config.status:1808: creating scripts/augeas/gen-nutupsconf-aug.py config.status:1808: creating scripts/python/module/test_nutclient.py config.status:1808: creating scripts/upsdrvsvcctl/nut-driver-enumerator.sh config.status:1808: creating scripts/upsdrvsvcctl/upsdrvsvcctl config.status:1808: creating scripts/systemd/nutshutdown config.status:1808: creating scripts/Solaris/svc-nut-server config.status:1808: creating scripts/Solaris/svc-nut-monitor config.status:1808: creating scripts/Solaris/precheck.py config.status:1808: creating scripts/Solaris/preinstall config.status:1808: creating scripts/Solaris/postinstall config.status:1808: creating scripts/Solaris/preremove config.status:1808: creating scripts/Solaris/postremove config.status:1808: creating scripts/Solaris/preproto.pl config.status:1808: creating scripts/Solaris/nut config.status:1808: creating tools/gitlog2changelog.py config.status:1808: creating tools/nut-snmpinfo.py config.status:1808: creating scripts/augeas/nutupsconf.aug config.status:1808: creating scripts/udev/nut-usbups.rules config.status:1808: creating scripts/devd/nut-usb.conf config.status:1808: creating include/config.h config.status:2037: executing depfiles commands config.status:2037: executing libtool commands configure:51961: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=yes ac_cv_c_compiler_gnu=yes ac_cv_c_flexmember=yes ac_cv_c_inline=inline ac_cv_c_vararrays=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCACHE_BASEDIR_set= ac_cv_env_CCACHE_BASEDIR_value= ac_cv_env_CCACHE_DIR_set= ac_cv_env_CCACHE_DIR_value= ac_cv_env_CCACHE_NAMESPACE_set= ac_cv_env_CCACHE_NAMESPACE_value= ac_cv_env_CCACHE_PATH_set= ac_cv_env_CCACHE_PATH_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPPUNIT_CFLAGS_set= ac_cv_env_CPPUNIT_CFLAGS_value= ac_cv_env_CPPUNIT_LIBS_set= ac_cv_env_CPPUNIT_LIBS_value= ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' -static' 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=set ac_cv_env_PKG_CONFIG_value=/home/buildroot/instance-0/output-1/host/bin/pkg-config ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_dummy_PKG_CONFIG_CFLAGS_set= ac_cv_env_dummy_PKG_CONFIG_CFLAGS_value= ac_cv_env_dummy_PKG_CONFIG_LIBS_set= ac_cv_env_dummy_PKG_CONFIG_LIBS_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=sparc-buildroot-linux-uclibc ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=sparc-buildroot-linux-uclibc ac_cv_func_SSL_CTX_new=yes ac_cv_func__mkgmtime=no ac_cv_func_abs=yes ac_cv_func_abs_val=no ac_cv_func_atexit=yes ac_cv_func_avahi_free=no ac_cv_func_calloc_0_nonnull=yes ac_cv_func_cfsetispeed=yes ac_cv_func_clock_gettime=yes ac_cv_func_dup2=yes ac_cv_func_dup=yes ac_cv_func_fcvt=no ac_cv_func_fcvtl=no ac_cv_func_fileno=yes ac_cv_func_flock=yes ac_cv_func_getopt_long=yes ac_cv_func_getpassphrase=no ac_cv_func_gmtime_r=yes ac_cv_func_gmtime_s=no ac_cv_func_gpiod_chip_close=yes ac_cv_func_gpiod_chip_open_by_name=yes ac_cv_func_inet_ntop=yes ac_cv_func_inet_pton=yes ac_cv_func_init_snmp=no ac_cv_func_libusb_detach_kernel_driver=yes ac_cv_func_libusb_detach_kernel_driver_np=no ac_cv_func_libusb_get_port_number=yes ac_cv_func_libusb_init=yes ac_cv_func_libusb_kernel_driver_active=yes ac_cv_func_libusb_set_auto_detach_kernel_driver=yes ac_cv_func_libusb_strerror=yes ac_cv_func_localtime_r=yes ac_cv_func_localtime_s=no ac_cv_func_lockf=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_modbus_new_rtu=no ac_cv_func_modbus_new_rtu_usb=no ac_cv_func_modbus_new_tcp=no ac_cv_func_modbus_set_byte_timeout=no ac_cv_func_modbus_set_response_timeout=no ac_cv_func_ne_xml_dispatch_request=no ac_cv_func_on_exit=yes ac_cv_func_pm_connect=no ac_cv_func_realloc_0_nonnull=yes ac_cv_func_sd_notify=no ac_cv_func_setenv=yes ac_cv_func_seteuid=yes ac_cv_func_setlogmask=yes ac_cv_func_setsid=yes ac_cv_func_sigaction=yes ac_cv_func_sigemptyset=yes ac_cv_func_snprintf=yes ac_cv_func_strcasecmp=yes ac_cv_func_strcasestr=yes ac_cv_func_strdup=yes ac_cv_func_strerror=yes ac_cv_func_strlwr=no ac_cv_func_strncasecmp=yes ac_cv_func_strnlen=yes ac_cv_func_strptime=yes ac_cv_func_strsep=yes ac_cv_func_strstr=yes ac_cv_func_strtok_r=yes ac_cv_func_tcsendbreak=yes ac_cv_func_timegm=yes ac_cv_func_usb_detach_kernel_driver_np=no ac_cv_func_usleep=yes ac_cv_func_vsnprintf=yes ac_cv_have_decl_LOG_UPTO=yes ac_cv_have_decl___func__=yes ac_cv_have_decl_fabs=yes ac_cv_have_decl_fabsf=yes ac_cv_have_decl_fabsl=yes ac_cv_have_decl_i2c_smbus_access=no ac_cv_have_decl_i2c_smbus_read_block_data=no ac_cv_have_decl_i2c_smbus_read_byte_data=no ac_cv_have_decl_i2c_smbus_read_word_data=no ac_cv_have_decl_i2c_smbus_write_byte_data=no ac_cv_have_decl_i2c_smbus_write_word_data=no ac_cv_have_decl_malloc=yes ac_cv_have_decl_optind=yes ac_cv_have_decl_pow10=yes ac_cv_have_decl_realpath=yes ac_cv_have_decl_regcomp=yes ac_cv_have_decl_regexec=yes ac_cv_have_decl_round=yes ac_cv_have_decl_uu_lock=no ac_cv_header_arpa_inet_h=yes ac_cv_header_avahi_common_malloc_h=no ac_cv_header_dlfcn_h=yes ac_cv_header_float_h=yes ac_cv_header_freeipmi_freeipmi_h=yes ac_cv_header_getopt_h=yes ac_cv_header_gpiod_h=yes ac_cv_header_i2c_smbus_h=no ac_cv_header_inttypes_h=yes ac_cv_header_ipmi_monitoring_h=yes ac_cv_header_libpowerman_h=no ac_cv_header_libusb_h=yes ac_cv_header_limits_h=yes ac_cv_header_linux_i2c_dev_h=yes ac_cv_header_math_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_modbus_h=no ac_cv_header_ne_xmlreq_h=no ac_cv_header_net_snmp_net_snmp_config_h=no ac_cv_header_netdb_h=yes ac_cv_header_openssl_ssl_h=yes ac_cv_header_poll_h=yes ac_cv_header_regex_h=yes ac_cv_header_semaphore_h=yes ac_cv_header_signal_h=yes ac_cv_header_stdarg_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_modem_h=no ac_cv_header_sys_resource_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_signal_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_termios_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_systemd_sd_daemon_h=no ac_cv_header_tcpd_h=no ac_cv_header_time_h=yes ac_cv_header_unistd_h=yes ac_cv_header_varargs_h=no ac_cv_host=sparc-buildroot-linux-uclibc ac_cv_lbl_unaligned_fail=yes ac_cv_lib_rt_sem_init=yes ac_cv_objext=o ac_cv_path_AR=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ar ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_LIBUSB_CONFIG=/usr/bin/libusb-config ac_cv_path_MSGFMT=/home/buildroot/instance-0/output-1/host/bin/msgfmt ac_cv_path_SED=/bin/sed ac_cv_path_SYSTEMD_ANALYZE_PROGRAM=/usr/bin/systemd-analyze ac_cv_path_SYSTEMD_TMPFILES_PROGRAM=/usr/bin/systemd-tmpfiles ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc ac_cv_prog_CPP=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp ac_cv_prog_CXXCPP='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -E' ac_cv_prog_OBJDUMP=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-objdump ac_cv_prog_RANLIB=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ranlib ac_cv_prog_REALPATH=realpath ac_cv_prog_STRIP=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-strip ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_c_o=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_connect='none required' ac_cv_search_gethostbyname='none required' ac_cv_search_i2c_smbus_read_byte__i2c_smbus_access__i2c_smbus_read_byte_data__i2c_smbus_write_byte_datai2c_smbus_write_byte_data__i2c_smbus_read_word_data__i2c_smbus_write_word_data__i2c_smbus_read_block_data=no ac_cv_search_ipmi_ctx_create='none required' ac_cv_search_ipmi_ctx_find_inband='none required' ac_cv_search_ipmi_monitoring_init=-lipmimonitoring ac_cv_search_ipmi_monitoring_sensor_read_record_id='none required' ac_cv_search_ipmi_sdr_cache_ctx_destroy=no ac_cv_search_ipmi_sdr_ctx_destroy='none required' ac_cv_search_pthread_create='none required' ac_cv_search_pthread_tryjoin_np='none required' ac_cv_search_regcomp__regexec=no ac_cv_search_yp_get_default_domain=no ac_cv_sizeof_void_p=4 ac_cv_struct_pollfd=yes ac_cv_target=sparc-buildroot-linux-uclibc ac_cv_type_socklen_t=yes ac_cv_type_suseconds_t=yes ac_cv_type_unsigned_long_long_int=yes ac_cv_type_useconds_t=yes am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_ar_interface=ar am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ax_cv___attribute__=yes ax_cv___attribute__noreturn=yes ax_cv___attribute__unused_arg=yes ax_cv___attribute__unused_func=yes ax_cv__pragma__bogus=no ax_cv__pragma__bogus_besidefunc=no ax_cv__pragma__bogus_diag=no ax_cv__pragma__bogus_diag_besidefunc=no ax_cv__pragma__clang__diags_push_pop_besidefunc=no ax_cv__pragma__clang__diags_push_pop_insidefunc=no ax_cv__pragma__gcc__diags_ignored_array_bounds=yes ax_cv__pragma__gcc__diags_ignored_array_bounds_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_assign_enum=no ax_cv__pragma__gcc__diags_ignored_assign_enum_besidefunc=no ax_cv__pragma__gcc__diags_ignored_cast_align=yes ax_cv__pragma__gcc__diags_ignored_cast_align_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_cast_function_type_strict=no ax_cv__pragma__gcc__diags_ignored_cast_function_type_strict_besidefunc=no ax_cv__pragma__gcc__diags_ignored_covered_switch_default=no ax_cv__pragma__gcc__diags_ignored_covered_switch_default_besidefunc=no ax_cv__pragma__gcc__diags_ignored_cxx98_compat=no ax_cv__pragma__gcc__diags_ignored_cxx98_compat_besidefunc=no ax_cv__pragma__gcc__diags_ignored_cxx98_compat_pedantic=no ax_cv__pragma__gcc__diags_ignored_cxx98_compat_pedantic_besidefunc=no ax_cv__pragma__gcc__diags_ignored_deprecated_declarations=yes ax_cv__pragma__gcc__diags_ignored_exit_time_destructors=no ax_cv__pragma__gcc__diags_ignored_exit_time_destructors_besidefunc=no ax_cv__pragma__gcc__diags_ignored_extra_semi_stmt=no ax_cv__pragma__gcc__diags_ignored_extra_semi_stmt_besidefunc=no ax_cv__pragma__gcc__diags_ignored_format_nonliteral=yes ax_cv__pragma__gcc__diags_ignored_format_nonliteral_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_format_overflow=yes ax_cv__pragma__gcc__diags_ignored_format_overflow_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_format_security=yes ax_cv__pragma__gcc__diags_ignored_format_security_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_format_truncation=yes ax_cv__pragma__gcc__diags_ignored_format_truncation_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_global_constructors=no ax_cv__pragma__gcc__diags_ignored_global_constructors_besidefunc=no ax_cv__pragma__gcc__diags_ignored_sign_compare=yes ax_cv__pragma__gcc__diags_ignored_sign_compare_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_sign_conversion=yes ax_cv__pragma__gcc__diags_ignored_sign_conversion_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_strict_prototypes=yes ax_cv__pragma__gcc__diags_ignored_strict_prototypes_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_stringop_truncation=yes ax_cv__pragma__gcc__diags_ignored_stringop_truncation_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_tautological_compare=yes ax_cv__pragma__gcc__diags_ignored_tautological_compare_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_tautological_constant_out_of_range_compare=no ax_cv__pragma__gcc__diags_ignored_tautological_constant_out_of_range_compare_besidefunc=no ax_cv__pragma__gcc__diags_ignored_tautological_type_limit_compare=no ax_cv__pragma__gcc__diags_ignored_tautological_type_limit_compare_besidefunc=no ax_cv__pragma__gcc__diags_ignored_tautological_unsigned_zero_compare=no ax_cv__pragma__gcc__diags_ignored_tautological_unsigned_zero_compare_besidefunc=no ax_cv__pragma__gcc__diags_ignored_type_limits=yes ax_cv__pragma__gcc__diags_ignored_type_limits_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_unreachable_code=yes ax_cv__pragma__gcc__diags_ignored_unreachable_code_besidefunc=yes ax_cv__pragma__gcc__diags_ignored_unreachable_code_break=no ax_cv__pragma__gcc__diags_ignored_unreachable_code_break_besidefunc=no ax_cv__pragma__gcc__diags_ignored_unreachable_code_return=no ax_cv__pragma__gcc__diags_ignored_unreachable_code_return_besidefunc=no ax_cv__pragma__gcc__diags_ignored_unused_function=yes ax_cv__pragma__gcc__diags_push_pop_besidefunc=yes ax_cv__pragma__gcc__diags_push_pop_insidefunc=yes ax_cv__printf_string_null=yes ax_cv_check_cflags__Werror__Qunused_arguments=no ax_cv_check_cflags__Werror__Wno_reserved_identifier=yes ax_cv_check_cflags__Werror__Wno_unknown_warning_option=no ax_cv_check_cflags__Werror__std_gnu99=yes ax_cv_check_cxxflags__Werror__Qunused_arguments=no ax_cv_check_cxxflags__Werror__Wno_reserved_identifier=yes ax_cv_check_cxxflags__Werror__Wno_unknown_warning_option=no ax_cv_check_cxxflags__Werror__std_gnupp11=yes dist_cv_build_flavor=debian dist_cv_build_issue_file=/etc/issue dist_cv_build_lsb_file=no dist_cv_build_rel_file=/etc/debian_version gl_cv_func_malloc_0_nonnull=yes lt_cv_ar_at_file=@ 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=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld lt_cv_path_LDCXX=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld lt_cv_path_NM=/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=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_lib_search_path_spec= 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' nut_cv_CLANGCC=no nut_cv_CLANGPP=no nut_cv_CLANGXX=no nut_cv_GCC=yes nut_cv_GPP=yes nut_cv_GXX=yes nut_cv_func_getnameinfo_args='const struct sockaddr *,socklen_t,socklen_t,unsigned int' nut_cv_header_windows_h=no nut_cv_header_winsock2_h=no nut_cv_header_ws2tcpip_h=no pkg_cv_dummy_PKG_CONFIG_CFLAGS= pkg_cv_dummy_PKG_CONFIG_LIBS= ## ----------------- ## ## Output variables. ## ## ----------------- ## A2X='' ACLOCAL='${SHELL} '\''/home/buildroot/instance-0/output-1/build/nut-2.8.2/missing'\'' aclocal-1.16' ALTPIDPATH='/var/run/upsd' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ar' ASCIIDOC='' ASPELL='' ASPELL_FILTER_LIB_PATH='none' ASPELL_FILTER_SHARE_PATH='none' ASPELL_FILTER_TEX_PATH='none' AUGPARSE='none' AUTOCONF='${SHELL} '\''/home/buildroot/instance-0/output-1/build/nut-2.8.2/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/home/buildroot/instance-0/output-1/build/nut-2.8.2/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/home/buildroot/instance-0/output-1/build/nut-2.8.2/missing'\'' automake-1.16' AWK='gawk' BINDIR='/usr/bin' BUILDING_IN_TREE_FALSE='#' BUILDING_IN_TREE_TRUE='' CC='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc' CCACHE_BASEDIR='' CCACHE_DIR='' CCACHE_NAMESPACE='nut:sparc-buildroot-linux-uclibc' CCACHE_PATH='' CCDEPMODE='depmode=none' CFLAGS=' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -Wno-reserved-identifier -std=gnu99 -Wno-system-headers -Wall -Wextra -Wsign-compare -pedantic -Wno-error' CONFIG_FLAGS='--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3' CONFPATH='/etc' CPP='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-cpp' CPPCHECK='' CPPFLAGS=' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CPPUNIT_CFLAGS='' CPPUNIT_LIBS='' CPPUNIT_NUT_CXXFLAGS='' CXX='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++' CXXCPP='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-g++ -E' CXXDEPMODE='depmode=none' CXXFLAGS=' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -Wno-reserved-identifier -std=gnu++11 -Wno-system-headers -Wall -Wextra -Wno-error' CYGPATH='' CYGPATH_W='echo' DBLATEX='' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DEPLOYED_UPSC='' DEPLOYED_UPSD='' DLLTOOL='false' DOC_BUILD_LIST='' DOC_CHECK_LIST='' DOC_INSTALL_DISTED_MANS_FALSE='' DOC_INSTALL_DISTED_MANS_TRUE='#' DRIVER_BUILD_LIST='all' DRIVER_INSTALL_TARGET='' DRIVER_MAN_LIST='' DRIVER_MAN_LIST_PAGES='' DRVPATH='/usr/bin' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' FORCE_NUT_VERSION='FORCE' GDLIB_CONFIG='' GREP='/bin/grep' HAVE_ASCIIDOC_FALSE='' HAVE_ASCIIDOC_TRUE='#' HAVE_ASPELL_FALSE='' HAVE_ASPELL_FILTER_LIB_PATH_FALSE='' HAVE_ASPELL_FILTER_LIB_PATH_TRUE='#' HAVE_ASPELL_FILTER_SHARE_PATH_FALSE='' HAVE_ASPELL_FILTER_SHARE_PATH_TRUE='#' HAVE_ASPELL_FILTER_TEX_PATH_FALSE='' HAVE_ASPELL_FILTER_TEX_PATH_TRUE='#' HAVE_ASPELL_TRUE='#' HAVE_AUGPARSE_FALSE='' HAVE_AUGPARSE_TRUE='#' HAVE_CLOCK_GETTIME_FALSE='#' HAVE_CLOCK_GETTIME_TRUE='' HAVE_CLOCK_MONOTONIC_FALSE='#' HAVE_CLOCK_MONOTONIC_TRUE='' HAVE_CPPCHECK_FALSE='' HAVE_CPPCHECK_TRUE='#' HAVE_CPPUNIT_FALSE='' HAVE_CPPUNIT_TRUE='#' HAVE_CXX11_FALSE='#' HAVE_CXX11_TRUE='' HAVE_LIBREGEX_FALSE='#' HAVE_LIBREGEX_TRUE='' HAVE_MINGW_RESGEN_FALSE='' HAVE_MINGW_RESGEN_TRUE='#' HAVE_MSGFMT_FALSE='#' HAVE_MSGFMT_TRUE='' HAVE_NEON_FALSE='' HAVE_NEON_TRUE='#' HAVE_PYTHON2_FALSE='' HAVE_PYTHON2_SITE_PACKAGES_FALSE='' HAVE_PYTHON2_SITE_PACKAGES_TRUE='#' HAVE_PYTHON2_TRUE='#' HAVE_PYTHON3_FALSE='' HAVE_PYTHON3_SITE_PACKAGES_FALSE='' HAVE_PYTHON3_SITE_PACKAGES_TRUE='#' HAVE_PYTHON3_TRUE='#' HAVE_PYTHON_FALSE='' HAVE_PYTHON_SITE_PACKAGES_FALSE='' HAVE_PYTHON_SITE_PACKAGES_TRUE='#' HAVE_PYTHON_TRUE='#' HAVE_SEMAPHORE_LIBS_FALSE='#' HAVE_SEMAPHORE_LIBS_TRUE='' HAVE_SOURCE_HIGHLIGHT_FALSE='' HAVE_SOURCE_HIGHLIGHT_TRUE='#' HAVE_STRNLEN_FALSE='#' HAVE_STRNLEN_TRUE='' HAVE_STRPTIME_FALSE='#' HAVE_STRPTIME_TRUE='' HAVE_STRSEP_FALSE='#' HAVE_STRSEP_TRUE='' HAVE_SYSTEMD_FALSE='' HAVE_SYSTEMD_TRUE='#' HAVE_SYS_SOCKET_H='1' HAVE_VALGRIND_FALSE='' HAVE_VALGRIND_TRUE='#' HAVE_WINDOWS_FALSE='' HAVE_WINDOWS_H_FALSE='' HAVE_WINDOWS_H_TRUE='#' HAVE_WINDOWS_SOCKETS_FALSE='' HAVE_WINDOWS_SOCKETS_TRUE='#' HAVE_WINDOWS_TRUE='#' HAVE_WINSOCK2_H='0' HAVE_WINSOCK2_H_FALSE='' HAVE_WINSOCK2_H_TRUE='#' HAVE_WS2TCPIP_H='0' HAVE_WS2TCPIP_H_FALSE='' HAVE_WS2TCPIP_H_TRUE='#' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' KEEP_NUT_REPORT_FALSE='' KEEP_NUT_REPORT_TRUE='#' LD='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-ld' LDFLAGS=' -static' LIBAVAHI_CFLAGS='' LIBAVAHI_LIBS='' LIBDIR='/usr/lib' LIBGD_CFLAGS='' LIBGD_LDFLAGS='' LIBGPIO_CFLAGS='' LIBGPIO_LIBS='-L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lgpiod ' LIBI2C_LIBS='' LIBIPMI_CFLAGS='' LIBIPMI_LIBS='-lipmimonitoring -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lfreeipmi -lipmimonitoring ' LIBLTDL_CFLAGS='' LIBLTDL_LIBS='' LIBMODBUS_CFLAGS='' LIBMODBUS_LIBS='' LIBNEON_CFLAGS='' LIBNEON_LIBS='' LIBNETSNMP_CFLAGS='' LIBNETSNMP_LIBS='' LIBOBJS='' LIBPOWERMAN_CFLAGS='' LIBPOWERMAN_LIBS='' LIBREGEX_LIBS='' LIBS='' LIBSSL_CFLAGS='' LIBSSL_LIBS='-L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lssl -L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic ' LIBSSL_REQUIRES='openssl' LIBSYSTEMD_CFLAGS='' LIBSYSTEMD_LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIBTOOL_DEPS='./ltmain.sh' LIBUSB_CFLAGS='-I/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 ' LIBUSB_CONFIG='/usr/bin/libusb-config' LIBUSB_LIBS='-L/home/buildroot/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lusb-1.0 -latomic ' LIBWRAP_CFLAGS='' LIBWRAP_LIBS='' LIPO='' LN_S='ln -s' LN_S_R='ln -s -r' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} '\''/home/buildroot/instance-0/output-1/build/nut-2.8.2/missing'\'' makeinfo' MANIFEST_TOOL=':' MANUALUPDATE_FALSE='' MANUALUPDATE_TRUE='#' MKDIR_P='/bin/mkdir -p' MSGFMT='/home/buildroot/instance-0/output-1/host/bin/msgfmt' NETLIBS='' NET_SNMP_CONFIG='none' NM='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-nm' NMEDIT='' NUT_AM_EXPORT_CCACHE_BASEDIR='#' NUT_AM_EXPORT_CCACHE_DIR='#' NUT_AM_EXPORT_CCACHE_NAMESPACE='' NUT_AM_EXPORT_CCACHE_PATH='#' NUT_AM_MAKE_CAN_EXPORT='#ThisMakeCanNotExport# ' NUT_DATADIR='/usr/share' NUT_LIBEXECDIR='/usr/libexec' NUT_NETVERSION='1.3' NUT_SOURCE_GITREV='' NUT_SOURCE_GITREV_NUMERIC='' OBJDUMP='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-objdump' OBJEXT='o' OS_NAME='debian' OTOOL64='' OTOOL='' PACKAGE='nut' PACKAGE_BUGREPORT='https://github.com/networkupstools/nut/issues' PACKAGE_NAME='nut' PACKAGE_STRING='nut 2.8.2' PACKAGE_TARNAME='nut' PACKAGE_URL='' PACKAGE_VERSION='2.8.2' PATH_DURING_CONFIGURE='/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' PATH_SEPARATOR=':' PIDPATH='/run' PKGCONFIGDIR='/usr/lib/pkgconfig' PKG_CONFIG='/home/buildroot/instance-0/output-1/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PORT='3493' POWERDOWNFLAG='/etc/killpower' PREFIX='/usr' PWD='/home/buildroot/instance-0/output-1/build/nut-2.8.2' PYTHON2='' PYTHON2_SITE_PACKAGES='' PYTHON3='' PYTHON3_SITE_PACKAGES='' PYTHON='' PYTHON_SITE_PACKAGES='' RANLIB='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-gcc-ranlib' REALPATH='realpath' REQUIRE_NUT_STRARG_FALSE='' REQUIRE_NUT_STRARG_TRUE='#' RUN_AS_GROUP='nut' RUN_AS_USER='nut' SBINDIR='/usr/sbin' SED='/bin/sed' SEMLIBS='-lrt' SERLIBS='' SET_MAKE='' SHELL='/bin/sh' SKIP_MANS_FALSE='' SKIP_MANS_TRUE='#' SOME_DRIVERS_FALSE='' SOME_DRIVERS_TRUE='#' SOURCE_HIGHLIGHT='' STATEPATH='/var/state/ups' STRIP='/home/buildroot/instance-0/output-1/host/bin/sparc-linux-strip' SUN_LIBUSB='' SYSTEMD_ANALYZE_PROGRAM='/usr/bin/systemd-analyze' SYSTEMD_DAEMON_ARGS_DRIVER='' SYSTEMD_DAEMON_ARGS_UPSD='-F' SYSTEMD_DAEMON_ARGS_UPSMON='-F' SYSTEMD_DAEMON_NOTIFYACCESS_DRIVER='' SYSTEMD_DAEMON_NOTIFYACCESS_UPSD='' SYSTEMD_DAEMON_NOTIFYACCESS_UPSMON='' SYSTEMD_DAEMON_TYPE_DRIVER='forking' SYSTEMD_DAEMON_TYPE_UPSD='simple' SYSTEMD_DAEMON_TYPE_UPSMON='simple' SYSTEMD_DAEMON_WATCHDOG_DRIVER='#WatchdogSec=240s' SYSTEMD_DAEMON_WATCHDOG_UPSD='#WatchdogSec=240s' SYSTEMD_DAEMON_WATCHDOG_UPSMON='#WatchdogSec=240s' SYSTEMD_TMPFILES_PROGRAM='/usr/bin/systemd-tmpfiles' SYSTEM_AIX_FALSE='' SYSTEM_AIX_TRUE='#' TREE_VERSION='2.8' VALGRIND='none' VERSION='2.8.2' WINDMC='none' WINDRES='none' WITH_ASCIIDOC_FALSE='' WITH_ASCIIDOC_TRUE='#' WITH_AUGLENS_FALSE='' WITH_AUGLENS_TRUE='#' WITH_AVAHI_FALSE='' WITH_AVAHI_TRUE='#' WITH_CGI_FALSE='' WITH_CGI_TRUE='#' WITH_CHECK_NIT_FALSE='' WITH_CHECK_NIT_TRUE='#' WITH_CPPCHECK_FALSE='' WITH_CPPCHECK_TRUE='#' WITH_DEVD_FALSE='' WITH_DEVD_TRUE='#' WITH_DEV_FALSE='#' WITH_DEV_TRUE='' WITH_DOCS_FALSE='' WITH_DOCS_TRUE='#' WITH_FREEBSD_QUIRKS_DIR_FALSE='' WITH_FREEBSD_QUIRKS_DIR_TRUE='#' WITH_FREEIPMI_FALSE='#' WITH_FREEIPMI_TRUE='' WITH_GPIO_FALSE='#' WITH_GPIO_TRUE='' WITH_HOTPLUG_FALSE='' WITH_HOTPLUG_TRUE='#' WITH_IPMI_FALSE='#' WITH_IPMI_TRUE='' WITH_LIBLTDL_FALSE='' WITH_LIBLTDL_TRUE='#' WITH_LIBPOWERMAN_FALSE='' WITH_LIBPOWERMAN_TRUE='#' WITH_LIBSYSTEMD_FALSE='' WITH_LIBSYSTEMD_TRUE='#' WITH_LIBUSB_0_1_FALSE='' WITH_LIBUSB_0_1_TRUE='#' WITH_LIBUSB_1_0_FALSE='#' WITH_LIBUSB_1_0_TRUE='' WITH_LINUX_I2C_FALSE='' WITH_LINUX_I2C_TRUE='#' WITH_MACOSX_FALSE='' WITH_MACOSX_TRUE='#' WITH_MANS_FALSE='' WITH_MANS_TRUE='#' WITH_MODBUS_FALSE='' WITH_MODBUS_TRUE='#' WITH_NEON_FALSE='' WITH_NEON_TRUE='#' WITH_NSS_FALSE='' WITH_NSS_TRUE='#' WITH_NUTCONF_FALSE='#' WITH_NUTCONF_TRUE='' WITH_NUT_MONITOR_FALSE='' WITH_NUT_MONITOR_PY2GTK2_FALSE='' WITH_NUT_MONITOR_PY2GTK2_TRUE='#' WITH_NUT_MONITOR_PY3QT5_FALSE='' WITH_NUT_MONITOR_PY3QT5_TRUE='#' WITH_NUT_MONITOR_TRUE='#' WITH_NUT_SCANNER_FALSE='' WITH_NUT_SCANNER_TRUE='#' WITH_OPENSSL_FALSE='#' WITH_OPENSSL_TRUE='' WITH_PDF_NONASCII_TITLES_FALSE='' WITH_PDF_NONASCII_TITLES_TRUE='#' WITH_PKG_CONFIG_FALSE='#' WITH_PKG_CONFIG_TRUE='' WITH_PYNUT_APP_FALSE='' WITH_PYNUT_APP_TRUE='#' WITH_PYNUT_FALSE='' WITH_PYNUT_PY2_FALSE='' WITH_PYNUT_PY2_TRUE='#' WITH_PYNUT_PY3_FALSE='' WITH_PYNUT_PY3_TRUE='#' WITH_PYNUT_PY_FALSE='' WITH_PYNUT_PY_TRUE='#' WITH_PYNUT_TRUE='#' WITH_SERIAL_FALSE='#' WITH_SERIAL_TRUE='' WITH_SNMP_FALSE='' WITH_SNMP_STATIC_FALSE='' WITH_SNMP_STATIC_TRUE='#' WITH_SNMP_TRUE='#' WITH_SOLARIS_INIT_FALSE='' WITH_SOLARIS_INIT_TRUE='#' WITH_SOLARIS_PKG_IPS_FALSE='' WITH_SOLARIS_PKG_IPS_TRUE='#' WITH_SOLARIS_PKG_SVR4_FALSE='' WITH_SOLARIS_PKG_SVR4_TRUE='#' WITH_SOLARIS_SMF_FALSE='' WITH_SOLARIS_SMF_TRUE='#' WITH_SPELLCHECK_FALSE='' WITH_SPELLCHECK_TRUE='#' WITH_SSL_FALSE='#' WITH_SSL_TRUE='' WITH_UDEV_FALSE='#' WITH_UDEV_TRUE='' WITH_USB_FALSE='#' WITH_USB_TRUE='' WITH_VALGRIND_FALSE='' WITH_VALGRIND_TRUE='#' WITH_WRAP_FALSE='' WITH_WRAP_TRUE='#' WORDS_BIGENDIAN='' XMLLINT='' XSLTPROC='' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' auglensdir='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' cgiexecdir='${exec_prefix}/cgi-bin' datadir='${datarootdir}' datarootdir='${prefix}/share' devddir='' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' driverexecdir='${exec_prefix}/bin' dummy_PKG_CONFIG='' dummy_PKG_CONFIG_CFLAGS='' dummy_PKG_CONFIG_LIBS='' dvidir='${docdir}' exec_prefix='/usr' freebsdquirksdir='' host='sparc-buildroot-linux-uclibc' host_alias='sparc-buildroot-linux-uclibc' host_cpu='sparc' host_os='linux-uclibc' host_vendor='buildroot' hotplugdir='' htmldir='${prefix}/html' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/buildroot/instance-0/output-1/build/nut-2.8.2/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' now='2024-06-27' nut_with_nut_monitor='no' nut_with_nut_monitor_desktop='' nut_with_nut_monitor_dir='${prefix}/share/nut-monitor' nut_with_nut_monitor_py2gtk2='' nut_with_nut_monitor_py3qt5='' nut_with_pynut='no' nut_with_pynut_py2='' nut_with_pynut_py3='' nut_with_pynut_py='' oldincludedir='/usr/include' pdfdir='${docdir}' pkgconfigdir='${libdir}/pkgconfig' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' systemdshutdowndir='' systemdsystemunitdir='' systemdtmpfilesdir='' target='sparc-buildroot-linux-uclibc' target_alias='sparc-buildroot-linux-uclibc' target_cpu='sparc' target_os='linux-uclibc' target_vendor='buildroot' udevdir='/lib/udev' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "nut" #define PACKAGE_TARNAME "nut" #define PACKAGE_VERSION "2.8.2" #define PACKAGE_STRING "nut 2.8.2" #define PACKAGE_BUGREPORT "https://github.com/networkupstools/nut/issues" #define PACKAGE_URL "" #define CONFIG_FLAGS "--target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-altpidpath=/var/run/upsd --with-dev --without-doc --without-python --without-python2 --with-user=nut --with-group=nut --with-drivers=auto --without-avahi --with-freeipmi --without-cgi --without-libltdl --with-usb --without-neon --without-snmp --with-ssl --without-pynut --without-python3" #define PACKAGE "nut" #define VERSION "2.8.2" #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 __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define TREE_VERSION "2.8" #define NUT_NETVERSION "1.3" #define WORDS_BIGENDIAN 1 #define FLEXIBLE_ARRAY_MEMBER /**/ #define HAVE_C_VARARRAYS 1 #define CC_VERSION "sparc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" #define CXX_VERSION "sparc-linux-g++.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" #define CPP_VERSION "sparc-linux-cpp.br_real (Buildroot 2021.11-4428-g6b6741b) 10.4.0" #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_INSIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_PUSH_POP 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNUSED_FUNCTION 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_DEPRECATED_DECLARATIONS 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_SECURITY_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRINGOP_TRUNCATION_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ARRAY_BOUNDS_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_TAUTOLOGICAL_COMPARE_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_COMPARE_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_SIGN_CONVERSION_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_FORMAT_OVERFLOW_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_CAST_ALIGN_BESIDEFUNC 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES 1 #define HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_STRICT_PROTOTYPES_BESIDEFUNC 1 #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL 1 #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION 1 #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE 1 #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_NONLITERAL_BESIDEFUNC 1 #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_FORMAT_TRUNCATION_BESIDEFUNC 1 #define HAVE_PRAGMAS_FOR_GCC_DIAGNOSTIC_IGNORED_UNREACHABLE_CODE_BESIDEFUNC 1 #define HAVE___ATTRIBUTE__UNUSED_ARG 1 #define HAVE___ATTRIBUTE__UNUSED_FUNC 1 #define HAVE___ATTRIBUTE__NORETURN 1 #define HAVE___ATTRIBUTE__ 1 #define REQUIRE_NUT_STRARG 0 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETDB_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_FLOCK 1 #define HAVE_LOCKF 1 #define HAVE_DUP 1 #define HAVE_DUP2 1 #define HAVE_ABS 1 #define HAVE_FLOAT_H 1 #define HAVE_MATH_H 1 #define HAVE_DECL_FABS 1 #define HAVE_DECL_FABSF 1 #define HAVE_DECL_FABSL 1 #define HAVE_DECL_POW10 1 #define HAVE_DECL_ROUND 1 #define HAVE_LIMITS_H 1 #define HAVE_STDLIB_H 1 #define HAVE_DECL_REALPATH 1 #define HAVE_SIGNAL_H 1 #define HAVE_SYS_SIGNAL_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_POLL_H 1 #define HAVE_SEMAPHORE_H 1 #define HAVE_SEMAPHORE 1 #define HAVE_CFSETISPEED 1 #define HAVE_TCSENDBREAK 1 #define HAVE_SETEUID 1 #define HAVE_SETSID 1 #define HAVE_ON_EXIT 1 #define HAVE_SETLOGMASK 1 #define HAVE_DECL_LOG_UPTO 1 #define HAVE_STRTOK_R 1 #define HAVE_FILENO 1 #define HAVE_SIGEMPTYSET 1 #define HAVE_SIGACTION 1 #define HAVE_LOCALTIME_R 1 #define HAVE_GMTIME_R 1 #define HAVE_TIMEGM 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRCASECMP 1 #define HAVE_STRNCASECMP 1 #define HAVE_STRSEP 1 #define HAVE_STRSTR 1 #define HAVE_STRCASESTR 1 #define HAVE_STRPTIME 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_STRNLEN 1 #define HAVE_STRDUP 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SUSECONDS_T 1 #define HAVE_USECONDS_T 1 #define HAVE_USLEEP 1 #define HAVE_UNSIGNED_LONG_LONG_INT 1 #define HAVE_VSNPRINTF 1 #define HAVE_SNPRINTF 1 #define HAVE_SETENV 1 #define HAVE_STRERROR 1 #define HAVE_ATEXIT 1 #define HAVE_DECL_OPTIND 1 #define HAVE_GETOPT_H 1 #define NEED_GETOPT_H 1 #define HAVE_GETOPT_LONG 1 #define HAVE_DECL_UU_LOCK 0 #define HAVE_DECL___FUNC__ 1 #define HAVE_STDARG_H 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_TRYJOIN 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETDB_H 1 #define GETNAMEINFO_TYPE_ARG1 const struct sockaddr * #define GETNAMEINFO_TYPE_ARG2 socklen_t #define GETNAMEINFO_TYPE_ARG46 socklen_t #define GETNAMEINFO_TYPE_ARG7 unsigned int #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_STRUCT_POLLFD 1 #define WITH_UNMAPPED_DATA_POINTS 0 #define HAVE_REGEX_H 1 #define HAVE_DECL_REGEXEC 1 #define HAVE_DECL_REGCOMP 1 #define HAVE_LIBREGEX 1 #define HAVE_LIBUSB_H 1 #define HAVE_LIBUSB_INIT 1 #define HAVE_LIBUSB_STRERROR 1 #define HAVE_LIBUSB_KERNEL_DRIVER_ACTIVE 1 #define HAVE_LIBUSB_SET_AUTO_DETACH_KERNEL_DRIVER 1 #define HAVE_LIBUSB_DETACH_KERNEL_DRIVER 1 #define HAVE_LIBUSB_GET_PORT_NUMBER 1 #define WITH_USB_BUSPORT 1 #define WITH_LIBUSB_1_0 1 #define WITH_LIBUSB_0_1 0 #define SIZEOF_VOID_P 4 #define HAVE_GPIOD_H 1 #define HAVE_GPIOD_CHIP_OPEN_BY_NAME 1 #define HAVE_GPIOD_CHIP_CLOSE 1 #define HAVE_SYS_TERMIOS_H 1 #define WITH_SERIAL 1 #define WITH_USB 1 #define HAVE_FREEIPMI_FREEIPMI_H 1 #define HAVE_IPMI_MONITORING_H 1 #define HAVE_FREEIPMI 1 #define HAVE_FREEIPMI_11X_12X 1 #define HAVE_FREEIPMI_MONITORING 1 #define WITH_IPMI 1 #define WITH_GPIO 1 #define HAVE_LINUX_I2C_DEV_H 1 #define HAVE_DECL_I2C_SMBUS_ACCESS 0 #define HAVE_DECL_I2C_SMBUS_READ_BYTE_DATA 0 #define HAVE_DECL_I2C_SMBUS_WRITE_BYTE_DATA 0 #define HAVE_DECL_I2C_SMBUS_READ_WORD_DATA 0 #define HAVE_DECL_I2C_SMBUS_WRITE_WORD_DATA 0 #define HAVE_DECL_I2C_SMBUS_READ_BLOCK_DATA 0 #define HAVE_OPENSSL_SSL_H 1 #define HAVE_SSL_CTX_NEW 1 #define WITH_SSL 1 #define WITH_OPENSSL 1 #define WITH_SSL 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define WITH_DEV 1 #define PREFIX "/usr" #define STATEPATH "/var/state/ups" #define ALTPIDPATH "/var/run/upsd" #define PIDPATH "/run" #define DRVPATH "/usr/bin" #define CGIPATH "/usr/cgi-bin" #define HTMLPATH "/usr/html" #define PORT 3493 #define LOG_FACILITY LOG_DAEMON #define HAVE_CXX11 1 #define WITH_NUTCONF 1 #define CPU_TYPE "sparc" #define CONFPATH "/etc" #define NUT_DATADIR "/usr/share" #define BINDIR "/usr/bin" #define SBINDIR "/usr/sbin" #define LIBDIR "/usr/lib" #define LIBEXECDIR "/usr/libexec" #define AUTOTOOLS_HOST_ALIAS "sparc-buildroot-linux-uclibc" #define AUTOTOOLS_BUILD_ALIAS "x86_64-pc-linux-gnu" #define AUTOTOOLS_TARGET_ALIAS "sparc-buildroot-linux-uclibc" #define AUTOTOOLS_HOST_SHORT_ALIAS "sparc-linux-uclibc" #define AUTOTOOLS_BUILD_SHORT_ALIAS "x86_64-linux-gnu" #define AUTOTOOLS_TARGET_SHORT_ALIAS "sparc-linux-uclibc" #define RUN_AS_USER "nut" #define RUN_AS_GROUP "nut" #define ABS_TOP_SRCDIR "/home/buildroot/instance-0/output-1/build/nut-2.8.2" #define ABS_TOP_BUILDDIR "/home/buildroot/instance-0/output-1/build/nut-2.8.2" #define CCACHE_NAMESPACE "nut:sparc-buildroot-linux-uclibc" configure: exit 0